/* ==========================================================
   CONTRIBUCIONES HEXAKHEIRARS — assets/css/contribuciones.css
   Cargado por hka-web (includes/contribuciones.php) solo en la página
   del formulario. (Antes estaba en el CSS personalizado de la
   página en Elementor.) Valores ajustados a múltiplos de 3.
   ========================================================== */

/* ==========================================================
   ESTRUCTURA, TARJETAS, COLUMNA IZQUIERDA Y CAMPOS
   ========================================================== */

/* ESTRUCTURA GENERAL */

.hka-contribution-wrapper {
    width: 100%;
    max-width: 96%;
    margin: 6em auto;
    padding: 0;
    box-sizing: border-box;
    color: #000;
    font-family: "Bitter", sans-serif;
    font-weight: 600;
}

.hka-contribution-form {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.hka-contribution-wrapper,
.hka-contribution-wrapper *,
.hka-contribution-wrapper *::before,
.hka-contribution-wrapper *::after {
    box-sizing: border-box;
}

/* COLUMNAS */

.hka-contribution-wrapper .hka-checkout-columns {
    display: flex;
    align-items: flex-start;
    gap: 1.5em;
    width: 100%;
    margin: 0;
    padding: 0;
}

.hka-contribution-wrapper .hka-checkout-left,
.hka-contribution-wrapper .hka-checkout-right {
    flex: 1 1 0;
    width: 50%;
    min-width: 0;
}

/* TARJETAS Y PANELES */

.hka-contribution-wrapper .hka-panel {
    width: 100%;
    margin: 0 0 0.96em;
    padding: 1.35em;
    background-color: #f8f3df;
    background-image: url("https://hexakheirars.com/wp-content/uploads/2025/10/dashou-txtr-papyrus.webp");
    background-repeat: repeat;
    background-size: 300px 300px;
    background-position: center;
    border: 0;
    border-radius: 0.288em 0.288em 0 0.288em;
    box-shadow: 9.6px 9.6px 3.3px rgba(0, 0, 0, 0.6);
}

.hka-contribution-wrapper .hka-panel h2 {
    margin: 0 0 0.78em !important;
    padding: 0.42em !important;
    color: #fff !important;
    background: #000 !important;
    font-family: "Fjalla One", sans-serif !important;
    font-size: 1.2em !important;
    font-weight: 600 !important;
    letter-spacing: normal !important;
    line-height: 1.2 !important;
    border-radius: 0.288em 0.288em 0 0.288em !important;
}

.hka-contribution-wrapper .hka-panel h3 {
    margin: 0 0 0.96em;
    padding: 0;
    color: #000;
    font-family: "Fjalla One", sans-serif !important;
    font-size: 0.96em !important;
    font-weight: 600 !important;
    letter-spacing: normal !important;
    line-height: 1.2 !important;
}

/* TIPO DE CONTRIBUYENTE */

.hka-contribution-wrapper .hka-customer-type {
    margin: 0 0 1.5em;
    padding: 0;
}

.hka-contribution-wrapper .hka-type-options {
    display: flex;
    align-items: center;
    gap: 0.6em;
    margin: 0;
    padding: 0;
}

.hka-contribution-wrapper .hka-type-options label,
.hka-contribution-wrapper .hka-type-options span {
    color: #000 !important;
    font-family: "Fjalla One", sans-serif !important;
    font-size: 0.96em !important;
    font-weight: 600 !important;
    letter-spacing: normal !important;
    line-height: 1.2 !important;
}

.hka-contribution-wrapper .hka-type-options label {
    display: flex;
    align-items: center;
    gap: 0.54em;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.hka-contribution-wrapper .hka-type-options input {
    appearance: none !important;
    -webkit-appearance: none !important;
    flex: 0 0 15px;
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    min-height: 15px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0.123em solid #000 !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    outline: none !important;
    cursor: pointer;
}

.hka-contribution-wrapper .hka-type-options input:checked {
    background: #000 !important;
}

.hka-contribution-wrapper .hka-type-options input:focus,
.hka-contribution-wrapper .hka-type-options input:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

/* OCULTACIÓN DE BLOQUES DINÁMICOS */

.hka-contribution-wrapper [hidden],
.hka-checkout-wrapper [hidden] {
    display: none !important;
}

.hka-contribution-wrapper .hka-particular:not([hidden]),
.hka-contribution-wrapper .hka-company:not([hidden]) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 0.99em;
    row-gap: 0.84em;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* DISTRIBUCIÓN DE CAMPOS */

.hka-contribution-wrapper .hka-particular .hka-field-billing_last_name {
    grid-column: 1 / -1;
}

.hka-contribution-wrapper .hka-company .hka-field-billing_cif_nif {
    grid-column: 1;
}

.hka-contribution-wrapper .hka-company .hka-field-billing_company {
    grid-column: 2;
}

/* CAMPOS Y ETIQUETAS */

.hka-contribution-wrapper .hka-field {
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}

.hka-contribution-wrapper .hka-field label {
    display: block;
    margin: 0 0 0.39em !important;
    padding: 0;
    color: #000 !important;
    font-family: "Fjalla One", sans-serif !important;
    font-size: 0.96em !important;
    font-weight: 600 !important;
    letter-spacing: normal !important;
    line-height: 1.2 !important;
}

.hka-contribution-wrapper .hka-field .required {
    margin-left: 0.06em;
    color: #962121 !important;
}

/* INPUTS Y SELECTS */

.hka-contribution-wrapper .hka-field input,
.hka-contribution-wrapper .hka-field select {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 45px;
    margin: 0 !important;
    padding: 0.15em 0.6em;
    color: #000 !important;
    -webkit-text-fill-color: #000;
    background-color: transparent !important;
    border: 0.123em solid #000 !important;
    border-radius: 0.288em 0.288em 0 0.288em !important;
    font-family: "Bitter", sans-serif !important;
    font-size: 0.99em !important;
    font-weight: 600 !important;
    line-height: 1.2;
    box-shadow: 9.6px 9.6px 3.3px rgba(0, 0, 0, 0.6) !important;
    outline: none !important;
    transition: none !important;
}

.hka-contribution-wrapper .hka-field input:hover,
.hka-contribution-wrapper .hka-field select:hover {
    border-color: #000 !important;
    background-color: transparent !important;
}

.hka-contribution-wrapper .hka-field input:focus,
.hka-contribution-wrapper .hka-field input:focus-visible,
.hka-contribution-wrapper .hka-field select:focus,
.hka-contribution-wrapper .hka-field select:focus-visible {
    outline: none !important;
    outline-offset: 0 !important;
    border-color: #000 !important;
    box-shadow: 9.6px 9.6px 3.3px rgba(0, 0, 0, 0.6) !important;
}

.hka-contribution-wrapper .hka-field select {
    background-image: none !important;
}

.hka-contribution-wrapper .hka-field select option {
    color: #000 !important;
    background-color: #f8f3df !important;
    font-family: "Bitter", sans-serif !important;
    font-weight: 600 !important;
}

.hka-contribution-wrapper .hka-field input::placeholder {
    color: rgba(0, 0, 0, 0.51) !important;
    -webkit-text-fill-color: rgba(0, 0, 0, 0.51);
    font-family: "Bitter", sans-serif !important;
    font-weight: 600;
    opacity: 1;
}

.hka-contribution-wrapper .hka-field input:disabled,
.hka-contribution-wrapper .hka-field select:disabled {
    opacity: 1 !important;
    cursor: not-allowed !important;
}

/* DATOS DE CONTACTO */

.hka-contribution-wrapper .hka-address-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 0.99em;
    row-gap: 0.84em;
    width: 100%;
    margin: 0.84em 0 0;
    padding: 0;
}

.hka-contribution-wrapper .hka-address-fields .hka-field-billing_country {
    grid-column: 1;
}

.hka-contribution-wrapper .hka-address-fields .hka-field-billing_phone {
    grid-column: 2;
}

.hka-contribution-wrapper .hka-address-fields .hka-field-billing_email,
.hka-contribution-wrapper .hka-address-fields .hka-field-billing_email_repeat {
    grid-column: 1 / -1;
}



/* ==========================================================
   RECONOCIMIENTO, ALIAS, IMPORTE Y TABLA DEL RESUMEN
   ========================================================== */

/* RECONOCIMIENTO PÚBLICO */

.hka-contribution-wrapper .hka-public-recognition {
    width: 100%;
    margin: 1.5em 0 0;
    padding: 0.99em;
    background-color: #f8f3df;
    background-image: url("https://hexakheirars.com/wp-content/uploads/2025/10/dashou-txtr-papyrus.webp");
    background-repeat: repeat;
    background-size: 300px 300px;
    background-position: center;
    border-radius: 0.288em 0.288em 0 0.288em;
    box-shadow: 9.6px 9.6px 3.3px rgba(0, 0, 0, 0.6);
}

.hka-contribution-wrapper .hka-public-recognition h3,
.hka-contribution-wrapper .hka-public-recognition h3 *,
.hka-contribution-wrapper .hka-public-recognition .hka-public-recognition-title {
    color: #962121 !important;
    font-family: "Fjalla One", sans-serif !important;
    font-size: 0.96em !important;
    font-weight: 600 !important;
    letter-spacing: normal !important;
    line-height: 1.23 !important;
}

.hka-contribution-wrapper .hka-public-recognition h3 {
    margin: 0 0 0.84em !important;
}

/* OPCIONES DE RECONOCIMIENTO Y COLABORACIÓN */

.hka-contribution-wrapper .hka-public-recognition-options,
.hka-checkout-wrapper #hka-collaboration-options {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.99em !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 0.99em !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.hka-checkout-wrapper #hka-collaboration-options legend {
    display: none !important;
}

.hka-contribution-wrapper .hka-public-recognition-options label,
.hka-checkout-wrapper #hka-collaboration-options label {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.54em !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #000 !important;
    font-family: "Fjalla One", sans-serif !important;
    font-size: 0.96em !important;
    font-weight: 600 !important;
    letter-spacing: normal !important;
    line-height: 1.41 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    cursor: pointer;
}

.hka-contribution-wrapper .hka-public-recognition-options input[type="radio"],
.hka-checkout-wrapper #hka-collaboration-options input[type="radio"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    flex: 0 0 15px;
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    min-height: 15px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0.123em solid #000 !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    cursor: pointer;
}

.hka-contribution-wrapper .hka-public-recognition-options input[type="radio"]:checked,
.hka-checkout-wrapper #hka-collaboration-options input[type="radio"]:checked {
    background: #000 !important;
}

.hka-contribution-wrapper .hka-public-recognition-options input[type="radio"]:focus,
.hka-contribution-wrapper .hka-public-recognition-options input[type="radio"]:focus-visible,
.hka-checkout-wrapper #hka-collaboration-options input[type="radio"]:focus,
.hka-checkout-wrapper #hka-collaboration-options input[type="radio"]:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

/* ALIAS PÚBLICO Y CAMPO DE COLABORACIÓN */

.hka-contribution-wrapper .hka-public-name-field,
.hka-checkout-wrapper #hka-collaboration-name-wrapper {
    width: 100%;
    margin: 0 0 2.1em !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.hka-contribution-wrapper .hka-public-name-field label,
.hka-checkout-wrapper #hka-collaboration-name-wrapper label {
    display: block !important;
    margin: 0 0 0.39em !important;
    padding: 0 !important;
    color: #000 !important;
    font-family: "Fjalla One", sans-serif !important;
    font-size: 0.96em !important;
    font-weight: 600 !important;
    letter-spacing: normal !important;
    line-height: 1.41 !important;
}

.hka-contribution-wrapper .hka-public-name-field input,
.hka-checkout-wrapper #hka-collaboration-name-wrapper #hka_collaboration_name {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 45px !important;
    min-height: 45px !important;
    margin: 0 !important;
    padding: 0.15em 0.6em !important;
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    caret-color: #000 !important;
    background: transparent !important;
    background-image: none !important;
    border: 0.123em solid #000 !important;
    border-radius: 0.288em 0.288em 0 0.288em !important;
    font-family: "Bitter", sans-serif !important;
    font-size: 0.99em !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    box-shadow: 9.6px 9.6px 3.3px rgba(0, 0, 0, 0.6) !important;
    outline: none !important;
    transition: none !important;
}

.hka-contribution-wrapper .hka-public-name-field input:focus,
.hka-contribution-wrapper .hka-public-name-field input:focus-visible,
.hka-checkout-wrapper #hka-collaboration-name-wrapper #hka_collaboration_name:focus,
.hka-checkout-wrapper #hka-collaboration-name-wrapper #hka_collaboration_name:focus-visible {
    outline: none !important;
    outline-offset: 0 !important;
    border-color: #000 !important;
    box-shadow: 9.6px 9.6px 3.3px rgba(0, 0, 0, 0.6) !important;
}

.hka-checkout-wrapper #hka-collaboration-name-wrapper #hka_collaboration_name::placeholder,
.hka-contribution-wrapper .hka-public-name-field input::placeholder {
    color: rgba(0, 0, 0, 0.6) !important;
    -webkit-text-fill-color: rgba(0, 0, 0, 0.6) !important;
    opacity: 1 !important;
}

.hka-checkout-wrapper #hka-collaboration-name-wrapper #hka_collaboration_name:disabled {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
}

/* COLUMNA DERECHA */

.hka-contribution-wrapper .hka-contribution-panel {
    min-width: 0;
    min-height: 0;
}

/* IMPORTE DE LA CONTRIBUCIÓN */

.hka-contribution-wrapper .hka-contribution-panel .hka-field-hka_amount {
    width: 100%;
    margin: 0;
    padding: 0;
}

.hka-contribution-wrapper .hka-contribution-panel .hka-field-hka_amount label,
.hka-contribution-wrapper .hka-contribution-panel .hka-field-hka_amount small,
.hka-contribution-wrapper .hka-contribution-panel .hka-field-hka_amount .description,
.hka-contribution-wrapper .hka-contribution-panel .hka-field-hka_amount p {
    font-family: "Fjalla One", sans-serif !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
}

/* Etiqueta del importe */

.hka-contribution-wrapper .hka-field-hka_amount label {
    font-family: "Fjalla One", sans-serif !important;
    font-size: 0.96em !important;
    font-weight: 600 !important;
    letter-spacing: normal !important;
    line-height: 1.41 !important;
}

/* Campo numérico */

.hka-contribution-wrapper .hka-contribution-panel .hka-field-hka_amount input {
    width: 100%;
    height: 54px;
    text-align: right;
    font-family: "Bitter", sans-serif !important;
    font-size: 1.14em !important;
    font-weight: 600 !important;
}

/* Texto de aportación mínima */

.hka-contribution-minimum {
    display: block;
    margin-top: 1.2em;
    margin-bottom: 1.5em;
    color: #962121;
    font-family: "Fjalla One", sans-serif;
    font-weight: 600;
    letter-spacing: normal;
}

/* TEXTO EXPLICATIVO DEL IMPORTE */

.hka-contribution-wrapper .hka-contribution-amount > p:last-child {
    line-height: 1.23 !important;
}

/* TABLA DEL RESUMEN */

.hka-contribution-wrapper .hka-order-table {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    table-layout: auto;
    background: transparent !important;
    color: #000 !important;
    font-family: "Fjalla One", sans-serif !important;
}

.hka-contribution-wrapper .hka-order-table tbody,
.hka-contribution-wrapper .hka-order-table tfoot,
.hka-contribution-wrapper .hka-order-table tr,
.hka-contribution-wrapper .hka-order-table th,
.hka-contribution-wrapper .hka-order-table td {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.hka-contribution-wrapper .hka-order-table tbody td {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    font-family: "Fjalla One", sans-serif !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: 1.44 !important;
    vertical-align: top;
}

.hka-contribution-wrapper .hka-order-table tbody td:first-child {
    position: relative;
    padding-left: 1.26em !important;
    text-align: left !important;
}

.hka-contribution-wrapper .hka-order-table tbody td:first-child::before {
    content: "•";
    position: absolute;
    top: 0;
    left: 0;
    color: #000;
    font-size: 1.5em;
    line-height: 1;
}

.hka-contribution-wrapper .hka-order-table tbody td:last-child {
    padding-left: 0.75em !important;
    padding-right: 0 !important;
    text-align: right !important;
    white-space: nowrap !important;
}

/* TOTAL DEL PEDIDO */

.hka-contribution-wrapper .hka-order-table .hka-total th,
.hka-contribution-wrapper .hka-order-table .hka-total td {
    position: relative;
    padding-top: 0.99em !important;
    padding-bottom: 1.26em !important;
    font-family: "Fjalla One", sans-serif !important;
    font-size: 1.23em !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    vertical-align: top;
}

.hka-contribution-wrapper .hka-order-table .hka-total th {
    padding-left: 24px !important;
    padding-right: 0.51em !important;
    text-align: left !important;
}

.hka-contribution-wrapper .hka-order-table .hka-total td {
    padding-left: 0.51em !important;
    padding-right: 0 !important;
    text-align: right !important;
    white-space: nowrap !important;
}

.hka-contribution-wrapper .hka-order-table .hka-total th::before,
.hka-contribution-wrapper .hka-order-table .hka-total td::before {
    content: "";
    position: absolute;
    top: 0;
    height: 0.09em;
    background: #000;
}

.hka-contribution-wrapper .hka-order-table .hka-total th::before {
    left: 24px;
    right: 0;
}

.hka-contribution-wrapper .hka-order-table .hka-total td::before {
    left: 0;
    right: 0;
}



/* ==========================================================
   TÉRMINOS, BOTÓN, AVISOS, VALIDACIÓN Y CHECKOUT
   ========================================================== */

/* DECLARACIÓN RESPONSABLE */

.hka-contribution-wrapper .hka-terms {
    margin: 1.35em 0 1.29em !important;
    padding: 0.99em;
    background-color: #f8f3df;
    background-image: url("https://hexakheirars.com/wp-content/uploads/2025/10/dashou-txtr-papyrus.webp");
    background-repeat: repeat;
    background-size: 300px 300px;
    background-position: center;
    border-radius: 0.288em 0.288em 0 0.288em;
    box-shadow: 9.6px 9.6px 3.3px rgba(0, 0, 0, 0.6);
    color: #000;
    font-family: "Bitter", sans-serif;
    font-weight: 600;
}

.hka-contribution-wrapper .hka-terms label {
    display: flex;
    align-items: flex-start;
    gap: 0.66em;
    margin: 0 !important;
    padding: 0;
    color: #000 !important;
    font-family: "Bitter", sans-serif !important;
    font-size: 0.9em !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    cursor: pointer;
}

.hka-contribution-wrapper .hka-acceptance-text {
    display: inline !important;
    line-height: inherit !important;
}

/* CHECKBOX DE ACEPTACIÓN */

.hka-contribution-wrapper .hka-order-acceptance input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    flex: 0 0 15px;
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    min-height: 15px !important;
    margin: 0.24em 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0.123em solid #000 !important;
    border-radius: 0.288em 0.288em 0 0.288em !important;
    box-shadow: none !important;
    outline: none !important;
    cursor: pointer;
}

.hka-contribution-wrapper .hka-order-acceptance input[type="checkbox"]:checked {
    background: #000 !important;
}

.hka-contribution-wrapper .hka-order-acceptance input[type="checkbox"]:focus,
.hka-contribution-wrapper .hka-order-acceptance input[type="checkbox"]:focus-visible {
    outline: none !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
}

/* ENLACES LEGALES */

.hka-contribution-wrapper .hka-order-acceptance .hka-privacy-link,
.hka-contribution-wrapper .hka-order-acceptance .hka-terms-link,
.hka-contribution-wrapper .hka-order-acceptance .hka-privacy-link:hover,
.hka-contribution-wrapper .hka-order-acceptance .hka-privacy-link:focus,
.hka-contribution-wrapper .hka-order-acceptance .hka-privacy-link:active,
.hka-contribution-wrapper .hka-order-acceptance .hka-privacy-link:visited,
.hka-contribution-wrapper .hka-order-acceptance .hka-terms-link:hover,
.hka-contribution-wrapper .hka-order-acceptance .hka-terms-link:focus,
.hka-contribution-wrapper .hka-order-acceptance .hka-terms-link:active,
.hka-contribution-wrapper .hka-order-acceptance .hka-terms-link:visited {
    color: #000 !important;
    font-family: "Fjalla One", sans-serif !important;
    font-size: 0.9em !important;
    font-weight: 600 !important;
    letter-spacing: normal !important;
    line-height: 1.5 !important;
}

/* BOTÓN CONTRIBUIR */

.hka-contribution-wrapper .hka-order-panel .hka-place-order {
    display: block !important;
    width: 100% !important;
    margin: 0.78em 0 0 !important;
    padding: 0.42em !important;
    color: #fff !important;
    background: #000 !important;
    border: 0 !important;
    border-radius: 0.288em 0.288em 0 0.288em !important;
    font-family: "Fjalla One", sans-serif !important;
    font-size: 1.2em !important;
    font-weight: 600 !important;
    letter-spacing: normal !important;
    line-height: 1.2 !important;
    text-align: center !important;
    box-shadow: none !important;
    cursor: pointer !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
}

.hka-contribution-wrapper .hka-order-panel .hka-place-order:hover,
.hka-contribution-wrapper .hka-order-panel .hka-place-order:focus,
.hka-contribution-wrapper .hka-order-panel .hka-place-order:focus-visible,
.hka-contribution-wrapper .hka-order-panel .hka-place-order:active {
    color: #fff !important;
    background: #000 !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 1 !important;
    outline: none !important;
}

/* AVISOS DE WOOCOMMERCE */

.hka-contribution-wrapper .woocommerce-error,
.hka-contribution-wrapper .woocommerce-info,
.hka-contribution-wrapper .woocommerce-message {
    margin: 0 0 1.5em;
    padding: 0.99em;
    color: #000;
    background-color: #f8f3df;
    background-image: url("https://hexakheirars.com/wp-content/uploads/2025/10/dashou-txtr-papyrus.webp");
    background-repeat: repeat;
    background-size: 300px 300px;
    background-position: center;
    border: 0;
    border-radius: 0.288em 0.288em 0 0.288em;
    box-shadow: 9.6px 9.6px 3.3px rgba(0, 0, 0, 0.6);
    font-family: "Bitter", sans-serif;
    font-weight: 600;
}

/* VALIDACIÓN DE CAMPOS */

.hka-contribution-wrapper .hka-field input:invalid,
.hka-contribution-wrapper .hka-field select:invalid {
    color: #962121 !important;
    border-color: #962121 !important;
}

.hka-contribution-wrapper .hka-field:has(input:invalid) > label,
.hka-contribution-wrapper .hka-field:has(select:invalid) > label,
.hka-contribution-wrapper .hka-field:has(input:invalid) .required,
.hka-contribution-wrapper .hka-field:has(select:invalid) .required {
    color: #962121 !important;
}

.hka-contribution-wrapper .hka-field input:invalid::placeholder {
    color: #962121 !important;
    -webkit-text-fill-color: #962121 !important;
    opacity: 1;
}

/* ENLACES GENERALES */

.hka-contribution-wrapper a {
    color: #000;
    font-family: "Bitter", sans-serif;
}

/* OCULTACIÓN DE CAMPOS DE COLABORACIÓN */

.hka-checkout-wrapper #hka-collaboration-name-wrapper[hidden],
.hka-checkout-wrapper #hka-collaboration-options[hidden],
.hka-contribution-wrapper .hka-public-recognition[hidden],
.hka-contribution-wrapper .hka-public-name-field[hidden] {
    display: none !important;
}

/* PREGUNTA SOBRE COLABORACIONES DESTACADAS */

.hka-contribution-form .hka-collaboration-question {
    color: #962121;
    font-family: "Fjalla One", sans-serif;
    font-weight: 600;
    letter-spacing: normal;
}

/* ESTADO NO DISPONIBLE DE LAS COLABORACIONES */

.hka-contribution-wrapper #hka-collaboration-options.hka-collaboration-unavailable,
.hka-checkout-wrapper #hka-collaboration-options.hka-collaboration-unavailable {
    opacity: 0.45 !important;
    transition: opacity 0.21s ease;
}

/* ESTADO DISPONIBLE DE LAS COLABORACIONES */

.hka-contribution-wrapper #hka-collaboration-options:not(.hka-collaboration-unavailable),
.hka-checkout-wrapper #hka-collaboration-options:not(.hka-collaboration-unavailable) {
    opacity: 1 !important;
}

/* ELIMINAR EL CONTORNO EXTERIOR DE LOS CAMPOS AL ENFOCAR */

.hka-contribution-wrapper input:focus,
.hka-contribution-wrapper input:focus-visible,
.hka-contribution-wrapper select:focus,
.hka-contribution-wrapper select:focus-visible,
.hka-contribution-wrapper textarea:focus,
.hka-contribution-wrapper textarea:focus-visible,
.hka-checkout-wrapper input:focus,
.hka-checkout-wrapper input:focus-visible,
.hka-checkout-wrapper select:focus,
.hka-checkout-wrapper select:focus-visible,
.hka-checkout-wrapper textarea:focus,
.hka-checkout-wrapper textarea:focus-visible {
    outline: none !important;
    outline-offset: 0 !important;
}



/* ==========================================================
   RESPONSIVE, TABLET, MÓVIL Y AJUSTES FINALES
   ========================================================== */

/* TABLET Y MÓVIL */

@media screen and (max-width: 801px) {

    .hka-contribution-wrapper {
        width: 100%;
        max-width: 100%;
        margin: 3.9em auto 5.1em;
    }

    /* Columnas apiladas */

    .hka-contribution-wrapper .hka-checkout-columns {
        display: block;
        width: 100%;
    }

    .hka-contribution-wrapper .hka-checkout-left,
    .hka-contribution-wrapper .hka-checkout-right {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .hka-contribution-wrapper .hka-checkout-right {
        margin-top: 1.5em;
    }

    /* Paneles */

    .hka-contribution-wrapper .hka-panel {
        padding: 0.96em;
        margin-bottom: 1.5em;
    }

    .hka-contribution-wrapper .hka-panel h2 {
        font-size: 1.29em !important;
    }

    /* Tipo de contribuyente */

    .hka-contribution-wrapper .hka-type-options {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }

    /* Campos en una sola columna */

    .hka-contribution-wrapper .hka-particular:not([hidden]),
    .hka-contribution-wrapper .hka-company:not([hidden]),
    .hka-contribution-wrapper .hka-address-fields {
        grid-template-columns: minmax(0, 1fr);
        column-gap: 0;
        row-gap: 0.84em;
    }

    .hka-contribution-wrapper .hka-particular .hka-field-billing_last_name,
    .hka-contribution-wrapper .hka-company .hka-field-billing_cif_nif,
    .hka-contribution-wrapper .hka-company .hka-field-billing_company,
    .hka-contribution-wrapper .hka-address-fields .hka-field-billing_country,
    .hka-contribution-wrapper .hka-address-fields .hka-field-billing_phone,
    .hka-contribution-wrapper .hka-address-fields .hka-field-billing_email,
    .hka-contribution-wrapper .hka-address-fields .hka-field-billing_email_repeat {
        grid-column: 1 / -1;
    }

    /* Altura de los campos */

    .hka-contribution-wrapper .hka-field input,
    .hka-contribution-wrapper .hka-field select {
        height: 45px;
    }

    .hka-contribution-wrapper .hka-contribution-panel .hka-field-hka_amount input {
        height: 51px;
    }

    /* Declaración responsable */

    .hka-contribution-wrapper .hka-terms {
        margin-top: 1.35em !important;
        margin-bottom: 1.2em !important;
    }

    /* Tabla del resumen */

    .hka-contribution-wrapper .hka-order-table {
        width: 100% !important;
        table-layout: auto;
    }

    .hka-contribution-wrapper .hka-order-table tbody td:last-child {
        padding-left: 0.51em !important;
    }

    .hka-contribution-wrapper .hka-order-table .hka-total th {
        padding-left: 18px !important;
    }

    .hka-contribution-wrapper .hka-order-table .hka-total th::before {
        left: 18px;
    }

    .hka-contribution-wrapper .hka-order-table .hka-total td {
        padding-left: 0.51em !important;
        padding-bottom: 1.26em !important;
    }

    .hka-contribution-wrapper .hka-order-table .hka-total th {
        padding-bottom: 1.26em !important;
    }

    /* Opciones de reconocimiento y colaboración */

    .hka-contribution-wrapper .hka-public-recognition-options,
    .hka-checkout-wrapper #hka-collaboration-options {
        flex-direction: row !important;
        flex-wrap: wrap;
        align-items: center !important;
        gap: 0.99em !important;
    }

    /* Campo de alias de colaboración */

    .hka-checkout-wrapper #hka-collaboration-name-wrapper #hka_collaboration_name {
        height: 45px !important;
        min-height: 45px !important;
    }
}

/* MÓVIL ESTRECHO */

@media screen and (max-width: 480px) {

    .hka-contribution-wrapper {
        width: 100%;
        max-width: 100%;
        margin-top: 3em;
        margin-bottom: 3.9em;
    }

    /* Paneles */

    .hka-contribution-wrapper .hka-panel {
        padding: 0.84em;
    }

    .hka-contribution-wrapper .hka-panel h2 {
        font-size: 1.2em !important;
    }

    /* Tabla del resumen */

    .hka-contribution-wrapper .hka-order-table th,
    .hka-contribution-wrapper .hka-order-table td {
        font-size: 0.9em;
    }

    .hka-contribution-wrapper .hka-order-table .hka-total th,
    .hka-contribution-wrapper .hka-order-table .hka-total td {
        font-size: 1.05em !important;
    }

    .hka-contribution-wrapper .hka-order-table tbody td:last-child {
        padding-left: 0.36em !important;
        white-space: nowrap !important;
    }

    .hka-contribution-wrapper .hka-order-table .hka-total th {
        padding-left: 12px !important;
    }

    .hka-contribution-wrapper .hka-order-table .hka-total th::before {
        left: 12px;
    }

    .hka-contribution-wrapper .hka-order-table .hka-total td {
        padding-left: 0.36em !important;
    }

    /* Opciones de reconocimiento y colaboración */

    .hka-contribution-wrapper .hka-public-recognition-options,
    .hka-checkout-wrapper #hka-collaboration-options {
        flex-direction: row !important;
        flex-wrap: wrap;
        align-items: center !important;
        gap: 0.99em !important;
    }

    /* Separación del campo de alias */

    .hka-contribution-wrapper .hka-public-name-field,
    .hka-checkout-wrapper #hka-collaboration-name-wrapper {
        margin-bottom: 2.1em !important;
    }
}


/* ==========================================================
   AUTOCOMPLETADO DEL NAVEGADOR — FONDO TRANSPARENTE
   Cuando el navegador rellena un campo con datos guardados,
   le pone su propio fondo de color. Ese color no se puede
   anular con background: se retrasa su transición para que
   nunca llegue a aplicarse. Debe ir al final del CSS para
   ganar a "transition: none" de los campos.
   ========================================================== */

.hka-contribution-wrapper input:-webkit-autofill,
.hka-contribution-wrapper input:-webkit-autofill:hover,
.hka-contribution-wrapper input:-webkit-autofill:focus,
.hka-contribution-wrapper input:-webkit-autofill:active,
.hka-contribution-wrapper select:-webkit-autofill,
.hka-contribution-wrapper select:-webkit-autofill:hover,
.hka-contribution-wrapper select:-webkit-autofill:focus,
.hka-checkout-wrapper #hka-collaboration-name-wrapper #hka_collaboration_name:-webkit-autofill,
.hka-checkout-wrapper #hka-collaboration-name-wrapper #hka_collaboration_name:-webkit-autofill:hover,
.hka-checkout-wrapper #hka-collaboration-name-wrapper #hka_collaboration_name:-webkit-autofill:focus,
.hka-checkout-wrapper #hka-collaboration-name-wrapper #hka_collaboration_name:-webkit-autofill:active {
    -webkit-text-fill-color: #000 !important;
    caret-color: #000 !important;
    -webkit-box-shadow: 9.6px 9.6px 3.3px rgba(0, 0, 0, 0.6) !important;
    box-shadow: 9.6px 9.6px 3.3px rgba(0, 0, 0, 0.6) !important;
    transition: background-color 600000s 0s, color 600000s 0s !important;
    filter: none !important;
}

/* FIREFOX Y ESTÁNDAR (bloque aparte para no invalidar el anterior) */

.hka-contribution-wrapper input:autofill,
.hka-contribution-wrapper select:autofill {
    -webkit-text-fill-color: #000 !important;
    box-shadow: 9.6px 9.6px 3.3px rgba(0, 0, 0, 0.6) !important;
    transition: background-color 600000s 0s, color 600000s 0s !important;
    filter: none !important;
}