/* ═══════════════════════════════════════════
   Hosting Perú Form — Frontend Styles
   ═══════════════════════════════════════════ */

:root {
    --hpf-primary: #1a73e8;
    --hpf-primary-dark: #0d47a1;
    --hpf-success: #4caf50;
    --hpf-warning: #ff9800;
    --hpf-danger: #f44336;
    --hpf-text: #333;
    --hpf-text-light: #666;
    --hpf-border: #dde1e6;
    --hpf-bg: #f8f9fa;
    --hpf-white: #fff;
    --hpf-radius: 8px;
    --hpf-shadow: 0 2px 12px rgba(0,0,0,0.08);
    --hpf-whatsapp: #25d366;
}

/* Wrapper */
.hpf-form-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--hpf-text);
    line-height: 1.6;
}

/* ── Step Indicator ── */
.hpf-step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    padding: 0 20px;
}
.hpf-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.4;
    transition: opacity 0.3s;
}
.hpf-step.active,
.hpf-step.completed {
    opacity: 1;
}
.hpf-step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--hpf-border);
    color: var(--hpf-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
}
.hpf-step.active .hpf-step-num {
    background: var(--hpf-primary);
    color: var(--hpf-white);
    box-shadow: 0 3px 12px rgba(26,115,232,0.35);
}
.hpf-step.completed .hpf-step-num {
    background: var(--hpf-success);
    color: var(--hpf-white);
}
.hpf-step-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--hpf-text-light);
}
.hpf-step.active .hpf-step-label {
    color: var(--hpf-primary);
}
.hpf-step-line {
    flex: 1;
    height: 2px;
    background: var(--hpf-border);
    margin: 0 12px;
    margin-bottom: 22px;
    max-width: 80px;
}

/* ── Form ── */
.hpf-form {
    background: var(--hpf-white);
    border-radius: var(--hpf-radius);
    box-shadow: var(--hpf-shadow);
    border: 1px solid var(--hpf-border);
    overflow: hidden;
}

.hpf-step-content {
    display: none;
    padding: 32px;
    animation: hpfFadeIn 0.3s ease;
}
.hpf-step-content.active {
    display: block;
}

@keyframes hpfFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.hpf-step-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--hpf-bg);
    color: var(--hpf-text);
}

/* ── Fields ── */
.hpf-field-group {
    margin-bottom: 20px;
}
.hpf-field-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--hpf-text);
}
.hpf-required {
    color: var(--hpf-danger);
}
.hpf-field-group input[type="text"],
.hpf-field-group input[type="email"],
.hpf-field-group input[type="tel"],
.hpf-field-group input[type="number"],
.hpf-field-group input[type="date"],
.hpf-field-group select,
.hpf-field-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--hpf-border);
    border-radius: var(--hpf-radius);
    font-size: 15px;
    font-family: inherit;
    color: var(--hpf-text);
    background: var(--hpf-white);
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    -webkit-appearance: none;
}

/* Enhanced select with arrow */
.hpf-field-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
}
.hpf-field-group select option {
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
    padding: 8px 12px;
}
.hpf-field-group input:focus,
.hpf-field-group select:focus,
.hpf-field-group textarea:focus {
    outline: none;
    border-color: var(--hpf-primary);
    box-shadow: 0 0 0 3px rgba(26,115,232,0.12);
}
.hpf-field-group input.hpf-error,
.hpf-field-group select.hpf-error {
    border-color: var(--hpf-danger);
    box-shadow: 0 0 0 3px rgba(244,67,54,0.1);
}
.hpf-field-error {
    color: var(--hpf-danger);
    font-size: 13px;
    margin-top: 4px;
    min-height: 18px;
}

.hpf-field-row {
    display: flex;
    gap: 16px;
}
.hpf-field-half {
    flex: 1;
}
.hpf-field-third {
    flex: 0 0 35%;
}
.hpf-field-two-thirds {
    flex: 1;
}
@media (max-width: 600px) {
    .hpf-field-row {
        flex-direction: column;
        gap: 0;
    }
    .hpf-field-third,
    .hpf-field-two-thirds {
        flex: 1 1 100%;
    }
}

/* Phone Input with Country Code */
.hpf-phone-input {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--hpf-border);
    border-radius: var(--hpf-radius);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.hpf-phone-input:focus-within {
    border-color: var(--hpf-primary);
    box-shadow: 0 0 0 3px rgba(26,115,232,0.12);
}
.hpf-phone-code {
    display: flex;
    align-items: center;
    padding: 0 12px;
    background: #f5f5f5;
    border-right: 1px solid var(--hpf-border);
    font-size: 14px;
    font-weight: 500;
    color: var(--hpf-text);
    white-space: nowrap;
}
.hpf-phone-input input {
    flex: 1;
    border: none;
    padding: 12px;
    font-size: 15px;
    outline: none;
}
.hpf-phone-input input:focus {
    box-shadow: none;
}

/* ── Radio Cards ── */
.hpf-radio-group {
    display: flex;
    gap: 12px;
}
.hpf-radio-card {
    flex: 1;
    cursor: pointer;
}
.hpf-radio-card input {
    display: none;
}
.hpf-radio-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 16px;
    border: 2px solid var(--hpf-border);
    border-radius: var(--hpf-radius);
    text-align: center;
    transition: all 0.2s;
    background: var(--hpf-white);
}
.hpf-radio-card input:checked + .hpf-radio-card-inner {
    border-color: var(--hpf-primary);
    background: rgba(26,115,232,0.04);
    box-shadow: 0 0 0 3px rgba(26,115,232,0.12);
}
.hpf-radio-icon {
    font-size: 28px;
}
.hpf-radio-text {
    font-weight: 600;
    font-size: 14px;
}

.hpf-radio-inline {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hpf-radio-inline label {
    font-weight: 400 !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ── Payment Methods ── */
.hpf-payment-methods {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.hpf-payment-card {
    flex: 1;
    min-width: 140px;
    cursor: pointer;
}
.hpf-payment-card input { display: none; }
.hpf-payment-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 12px;
    border: 2px solid var(--hpf-border);
    border-radius: var(--hpf-radius);
    text-align: center;
    transition: all 0.2s;
}
.hpf-payment-card input:checked + .hpf-payment-card-inner {
    border-color: var(--hpf-primary);
    background: rgba(26,115,232,0.04);
    box-shadow: 0 0 0 3px rgba(26,115,232,0.12);
}
.hpf-payment-icon { font-size: 24px; }
.hpf-payment-text { font-weight: 600; font-size: 13px; }
.hpf-payment-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
}
.hpf-payment-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.hpf-payment-logos img {
    height: 24px;
    width: auto;
    object-fit: contain;
}

/* ── Plan Cards ── */
.hpf-plan-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 16px;
    margin-bottom: 20px;
    width: 100%;
}
.hpf-plan-card {
    flex: 1 1 calc(25% - 12px);
    min-width: 200px;
    max-width: calc(25% - 12px);
    border: 2px solid var(--hpf-border);
    border-radius: var(--hpf-radius);
    padding: 18px 14px;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
    background: var(--hpf-white);
    position: relative;
}
@media (max-width: 1024px) {
    .hpf-plan-card {
        flex: 1 1 calc(50% - 10px);
        max-width: calc(50% - 10px);
        min-width: 180px;
    }
}
@media (max-width: 500px) {
    .hpf-plan-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}
.hpf-plan-card:hover {
    border-color: var(--hpf-primary);
    box-shadow: 0 4px 16px rgba(26,115,232,0.1);
}
.hpf-plan-card.selected {
    border-color: var(--hpf-primary);
    background: rgba(26,115,232,0.04);
    box-shadow: 0 0 0 3px rgba(26,115,232,0.12);
}
.hpf-plan-card-header h4 {
    margin: 0 0 6px;
    font-size: 16px;
    color: var(--hpf-text);
}
.hpf-plan-price {
    margin-bottom: 12px;
}
.hpf-price-amount {
    font-size: 22px;
    font-weight: 800;
    color: var(--hpf-primary);
}
.hpf-price-period {
    font-size: 13px;
    color: var(--hpf-text-light);
}
.hpf-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    font-size: 12px;
    text-align: left;
    color: var(--hpf-text-light);
}
.hpf-plan-features li {
    padding: 3px 0;
}

/* ── File Upload ── */
.hpf-file-upload {
    position: relative;
}
.hpf-file-upload input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}
.hpf-file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 28px;
    border: 2px dashed var(--hpf-border);
    border-radius: var(--hpf-radius);
    text-align: center;
    transition: all 0.2s;
    background: var(--hpf-bg);
}
.hpf-file-upload:hover .hpf-file-upload-label {
    border-color: var(--hpf-primary);
    background: rgba(26,115,232,0.03);
}
.hpf-file-icon { font-size: 28px; }
.hpf-file-text { font-weight: 600; font-size: 14px; }
.hpf-file-hint { font-size: 12px; color: var(--hpf-text-light); }
.hpf-file-preview {
    margin-top: 10px;
    padding: 10px;
    background: var(--hpf-bg);
    border-radius: var(--hpf-radius);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.hpf-file-preview img {
    max-height: 60px;
    border-radius: 4px;
}

/* ── Info Box ── */
.hpf-info-box {
    background: #e3f2fd;
    border-left: 4px solid var(--hpf-primary);
    padding: 14px 18px;
    border-radius: 0 var(--hpf-radius) var(--hpf-radius) 0;
    margin-bottom: 20px;
}
.hpf-info-box p { margin: 0; font-size: 14px; }

/* ── Buttons ── */
.hpf-step-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--hpf-bg);
}

.hpf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border: 2px solid transparent;
    border-radius: var(--hpf-radius);
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    line-height: 1.4;
}
.hpf-btn-primary {
    background: var(--hpf-primary);
    color: var(--hpf-white);
    border-color: var(--hpf-primary);
}
.hpf-btn-primary:hover {
    background: var(--hpf-primary-dark);
    border-color: var(--hpf-primary-dark);
    color: var(--hpf-white);
    box-shadow: 0 4px 12px rgba(26,115,232,0.3);
}
.hpf-btn-secondary {
    background: var(--hpf-white);
    color: var(--hpf-text-light);
    border-color: var(--hpf-border);
}
.hpf-btn-secondary:hover {
    border-color: var(--hpf-text-light);
    color: var(--hpf-text);
}
.hpf-btn-outline {
    background: transparent;
    color: var(--hpf-primary);
    border-color: var(--hpf-primary);
}
.hpf-btn-outline:hover {
    background: rgba(26,115,232,0.06);
}
.hpf-btn-whatsapp {
    background: var(--hpf-whatsapp);
    color: var(--hpf-white);
    border-color: var(--hpf-whatsapp);
}
.hpf-btn-whatsapp:hover {
    background: #1ebe57;
    color: var(--hpf-white);
    box-shadow: 0 4px 12px rgba(37,211,102,0.3);
}
.hpf-btn-paypal {
    background: #0070ba;
    color: var(--hpf-white);
    border-color: #0070ba;
}
.hpf-btn-paypal:hover {
    background: #003087;
    color: var(--hpf-white);
    box-shadow: 0 4px 12px rgba(0,112,186,0.3);
}
.hpf-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ── Spinner ── */
.hpf-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: hpfSpin 0.6s linear infinite;
}
@keyframes hpfSpin {
    to { transform: rotate(360deg); }
}

/* ── Confirmation ── */
.hpf-confirmation {
    text-align: center;
    padding: 40px 32px;
    background: var(--hpf-white);
    border-radius: var(--hpf-radius);
    box-shadow: var(--hpf-shadow);
    border: 1px solid var(--hpf-border);
    animation: hpfFadeIn 0.4s ease;
}
.hpf-confirmation-icon {
    font-size: 56px;
    margin-bottom: 12px;
}
.hpf-confirmation h2 {
    font-size: 26px;
    margin: 0 0 8px;
    color: var(--hpf-text);
}
.hpf-confirmation-subtitle {
    color: var(--hpf-text-light);
    font-size: 16px;
    margin-bottom: 24px;
}
.hpf-confirmation-id {
    background: var(--hpf-bg);
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 18px;
    margin-bottom: 20px;
}
.hpf-confirmation-summary {
    text-align: left;
    background: var(--hpf-bg);
    border-radius: var(--hpf-radius);
    padding: 20px;
    margin: 0 auto 24px;
    max-width: 400px;
    font-size: 14px;
    line-height: 1.8;
}
.hpf-confirmation-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.hpf-confirmation-note {
    font-size: 13px;
    color: var(--hpf-text-light);
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .hpf-step-content {
        padding: 20px 16px;
    }
    .hpf-field-row {
        flex-direction: column;
        gap: 0;
    }
    .hpf-radio-group,
    .hpf-payment-methods {
        flex-direction: column;
    }
    .hpf-plan-cards {
        grid-template-columns: 1fr;
    }
    .hpf-step-actions {
        flex-direction: column-reverse;
    }
    .hpf-step-actions .hpf-btn {
        width: 100%;
    }
    .hpf-confirmation-actions {
        flex-direction: column;
    }
    .hpf-confirmation-actions .hpf-btn {
        width: 100%;
    }
    .hpf-step-label {
        display: none;
    }
}

/* ── Domain Input ── */
.hpf-domain-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--hpf-bg);
}
.hpf-domain-input-wrapper {
    display: flex;
    gap: 0;
}
.hpf-domain-input-wrapper .hpf-domain-name {
    flex: 1;
    border-radius: var(--hpf-radius) 0 0 var(--hpf-radius);
    border-right: none;
}
.hpf-domain-input-wrapper .hpf-domain-ext {
    width: auto;
    min-width: 140px;
    border-radius: 0;
    background: var(--hpf-bg);
    font-weight: 600;
    border-right: none;
}
.hpf-domain-input-wrapper .hpf-btn-check {
    border-radius: 0 var(--hpf-radius) var(--hpf-radius) 0;
    padding: 10px 16px;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
    background: var(--hpf-primary);
    color: #fff;
    border: 2px solid var(--hpf-primary);
    cursor: pointer;
    transition: all 0.2s;
}
.hpf-domain-input-wrapper .hpf-btn-check:hover {
    background: var(--hpf-primary-dark);
    border-color: var(--hpf-primary-dark);
}
.hpf-domain-input-wrapper .hpf-btn-check:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
/* When no check button */
.hpf-domain-input-wrapper .hpf-domain-ext:last-child {
    border-radius: 0 var(--hpf-radius) var(--hpf-radius) 0;
}

/* Domain Result */
.hpf-domain-result {
    margin-top: 12px;
    padding: 14px 18px;
    border-radius: var(--hpf-radius);
    border: 1px solid var(--hpf-border);
    background: var(--hpf-white);
}
.hpf-domain-result.hpf-result-available {
    background: #e8f5e9;
    border-color: #4caf50;
}
.hpf-domain-result.hpf-result-unavailable {
    background: #ffebee;
    border-color: #f44336;
}
.hpf-domain-result.hpf-result-error {
    background: #fff3e0;
    border-color: #ff9800;
}
.hpf-domain-result-content {
    display: flex;
    align-items: center;
    gap: 10px;
}
.hpf-domain-result-icon {
    font-size: 20px;
}
.hpf-domain-result-text {
    font-weight: 600;
    font-size: 14px;
}
.hpf-domain-suggestions {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--hpf-border);
}
.hpf-suggestions-label {
    display: block;
    font-size: 12px;
    color: var(--hpf-text-light);
    margin-bottom: 8px;
}
.hpf-suggestions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.hpf-suggestion-item {
    display: inline-block;
    padding: 6px 12px;
    background: var(--hpf-bg);
    border: 1px solid var(--hpf-border);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: var(--hpf-text);
    cursor: pointer;
    transition: all 0.2s;
}
.hpf-suggestion-item:hover {
    background: var(--hpf-primary);
    color: #fff;
    border-color: var(--hpf-primary);
}
.hpf-domain-price-box {
    margin-top: 12px;
    padding: 14px 18px;
    border-radius: var(--hpf-radius);
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    border: 1px solid #c8e6c9;
}
.hpf-domain-price-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
}
.hpf-domain-price-value {
    font-weight: 800;
    font-size: 18px;
    color: var(--hpf-text);
}
.hpf-domain-price-value.hpf-price-free {
    color: #2e7d32;
}
.hpf-domain-price-value.hpf-price-promo {
    color: var(--hpf-primary);
}
.hpf-domain-price-note {
    font-size: 12px;
    color: var(--hpf-text-light);
    margin-top: 6px;
}

/* ── Plan Badge ── */
.hpf-plan-card {
    position: relative;
}
.hpf-plan-badge {
    position: absolute;
    top: -1px;
    right: -1px;
    background: var(--hpf-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 0 var(--hpf-radius) 0 var(--hpf-radius);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.hpf-plan-badge.hpf-badge-green {
    background: #2e7d32;
    top: auto;
    bottom: -1px;
    right: -1px;
    border-radius: var(--hpf-radius) 0 var(--hpf-radius) 0;
}
.hpf-plan-badge.hpf-badge-blue {
    background: #1976d2;
    top: auto;
    bottom: -1px;
    right: -1px;
    border-radius: var(--hpf-radius) 0 var(--hpf-radius) 0;
}
.hpf-plan-card.hpf-popular {
    border-color: var(--hpf-primary);
    box-shadow: 0 4px 20px rgba(26,115,232,0.15);
}
.hpf-plan-card.hpf-popular .hpf-plan-badge {
    background: linear-gradient(135deg, #ff9800, #f57c00);
}
.hpf-plan-desc {
    font-size: 12px;
    color: var(--hpf-text-light);
    margin-top: 4px;
}

/* ── Order Summary ── */
.hpf-order-summary {
    background: var(--hpf-bg);
    border-radius: var(--hpf-radius);
    padding: 20px;
    margin: 24px 0;
    border: 1px solid var(--hpf-border);
}
.hpf-order-summary h4 {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 700;
    color: var(--hpf-text);
}
.hpf-summary-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hpf-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    padding: 6px 0;
}
.hpf-summary-row:not(:last-child) {
    border-bottom: 1px dashed var(--hpf-border);
}
.hpf-summary-total {
    padding-top: 12px !important;
    margin-top: 8px;
    border-top: 2px solid var(--hpf-primary) !important;
    border-bottom: none !important;
    font-size: 16px;
}
.hpf-summary-total strong {
    color: var(--hpf-primary);
}

/* ── Warning Info Box ── */
.hpf-info-box.hpf-warning {
    background: #fff3e0;
    border-left-color: #ff9800;
    color: #e65100;
}

/* ── Payment Info Boxes ── */
.hpf-payment-info {
    background: #f8f9fa;
    border-radius: var(--hpf-radius);
    padding: 20px;
    margin-bottom: 20px;
}
.hpf-payment-info h4 {
    margin: 0 0 16px;
    font-size: 15px;
    color: var(--hpf-text);
    display: flex;
    align-items: center;
    gap: 8px;
}
.hpf-bank-accounts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hpf-bank-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--hpf-border);
    border-radius: 8px;
    padding: 12px 16px;
}
.hpf-bank-logo {
    width: 60px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}
.hpf-bank-details {
    flex: 1;
    min-width: 0;
}
.hpf-bank-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--hpf-text);
    margin-bottom: 2px;
}
.hpf-bank-account {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 15px;
    font-weight: 600;
    color: var(--hpf-primary);
    letter-spacing: 0.5px;
}
.hpf-bank-holder {
    font-size: 12px;
    color: var(--hpf-text-light);
    margin-top: 2px;
}
.hpf-bank-copy {
    background: var(--hpf-primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.hpf-bank-copy:hover {
    background: var(--hpf-primary-dark);
}
.hpf-bank-copy.copied {
    background: var(--hpf-success);
}
/* Yape Info */
.hpf-yape-info {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border: 2px solid #7b2d8e;
    border-radius: 12px;
    padding: 20px;
}
.hpf-yape-logo {
    width: 80px;
    height: auto;
    flex-shrink: 0;
}
.hpf-yape-details {
    flex: 1;
}
.hpf-yape-number {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 24px;
    font-weight: 800;
    color: #7b2d8e;
    letter-spacing: 1px;
}
.hpf-yape-holder {
    font-size: 14px;
    color: var(--hpf-text);
    margin-top: 4px;
}

/* Yape QR Codes */
.hpf-yape-qr-section {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed var(--hpf-border);
}
.hpf-yape-qr-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
}
.hpf-yape-qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 12px;
    border: 1px solid var(--hpf-border);
    flex: 0 0 auto;
    width: 140px;
}
.hpf-yape-qr-item img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 6px;
}
.hpf-yape-qr-item span {
    font-size: 11px;
    font-weight: 600;
    color: var(--hpf-text);
    text-align: center;
}
@media (max-width: 400px) {
    .hpf-yape-qr-container {
        flex-direction: column;
        align-items: center;
    }
}

/* Card Logos (Mercado Pago) */
.hpf-mp-info {
    background: #fff;
    border: 1px solid var(--hpf-border);
    border-radius: 8px;
    padding: 16px 20px;
}
.hpf-card-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.hpf-card-logos img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

/* ── Print ── */
@media print {
    /* Hide absolutely everything on the page */
    html, body {
        background: white !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    body * {
        visibility: hidden !important;
    }
    
    /* Hide common page elements */
    header, footer, nav, aside, 
    .header, .footer, .nav, .sidebar,
    .menu, .navigation, .widget,
    #header, #footer, #nav, #sidebar,
    .site-header, .site-footer, .site-nav,
    .wp-block-navigation, .elementor-location-header,
    .elementor-location-footer {
        display: none !important;
    }
    
    /* Show only confirmation section */
    #hpf-confirmation,
    #hpf-confirmation * {
        visibility: visible !important;
    }
    
    #hpf-confirmation {
        position: fixed !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        height: auto !important;
        padding: 30px !important;
        margin: 0 !important;
        box-shadow: none !important;
        border: none !important;
        background: white !important;
        z-index: 999999 !important;
    }
    
    /* Hide action buttons and notes when printing */
    .hpf-confirmation-actions,
    .hpf-confirmation-note,
    .hpf-btn,
    button {
        display: none !important;
    }
    
    /* Style the confirmation for print */
    .hpf-confirmation-icon {
        font-size: 50px !important;
        margin-bottom: 10px !important;
    }
    
    .hpf-confirmation-title {
        font-size: 24px !important;
        color: #333 !important;
        margin-bottom: 5px !important;
    }
    
    .hpf-confirmation-subtitle {
        font-size: 14px !important;
        color: #666 !important;
        margin-bottom: 20px !important;
    }
    
    .hpf-confirmation-details {
        border: 2px solid #1a73e8 !important;
        padding: 25px !important;
        border-radius: 8px !important;
        background: #f8f9fa !important;
    }
    
    .hpf-confirmation-id {
        font-size: 18px !important;
        font-weight: bold !important;
        margin-bottom: 15px !important;
        padding-bottom: 15px !important;
        border-bottom: 1px solid #ddd !important;
    }
    
    .hpf-confirmation-summary {
        font-size: 13px !important;
    }
    
    .hpf-confirmation-summary p {
        margin: 8px 0 !important;
        padding: 5px 0 !important;
        border-bottom: 1px dotted #ddd !important;
    }
    
    /* Add logo header for print */
    #hpf-confirmation::before {
        content: 'hosting.com.pe';
        display: block !important;
        visibility: visible !important;
        text-align: center;
        font-size: 28px;
        font-weight: bold;
        color: #1a73e8;
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 3px solid #1a73e8;
    }
    
    /* Add footer for print */
    #hpf-confirmation::after {
        content: 'www.hosting.com.pe | ventas@hosting.com.pe | WhatsApp: 981 808 180';
        display: block !important;
        visibility: visible !important;
        text-align: center;
        font-size: 11px;
        color: #666;
        margin-top: 30px;
        padding-top: 15px;
        border-top: 1px solid #ddd;
    }
}
