/* Shared explicit legal agreement UI. Newsletter and other optional choices stay native. */
body .cc-consent-choice, body .cc-hika-privacy .cc-hika-privacy__choice {
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    margin: 12px 0 0;
    color: #161412;
    line-height: 1.6;
}
body .cc-consent-choice label, body .cc-hika-privacy .cc-hika-privacy__choice > span {
    margin: 0;
    color: #161412 !important;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    cursor: pointer;
}
body .cc-consent-choice input[type=checkbox], body .cc-hika-privacy input[type=checkbox] {
    width: 18px;
    height: 18px;
    min-height: 18px;
    margin: 2px 0 0;
    accent-color: #161412 !important;
}
body .cc-consent-note, body .cc-hika-privacy :is(.cc-hika-privacy__help,.cc-hika-privacy__read) {
    margin: 10px 0;
    color: #625F5B;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.65;
}
body a.cc-legal-read { color: #0D7995 !important; font-size: 13px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
body a.cc-legal-read:hover { color: #161412 !important; }
body .cc-legal-modal-dialog { width: calc(100% - 32px); max-width: 960px; margin: 24px auto; }
body .cc-legal-modal-dialog .modal-content { color: #161412; background: #FFFFFF; border: 1px solid #E7E7E5; border-radius: 18px; overflow: hidden; }
body .cc-legal-modal-dialog .modal-header { padding: 16px 20px; background: #FFFFFF; border-bottom: 1px solid #E7E7E5; }
body .cc-legal-modal-dialog .modal-title { margin: 0; color: #161412; font-family: inherit; font-size: 18px; font-weight: 600; }
body .cc-legal-modal-dialog .modal-body { padding: 0; height: 70vh; overflow: hidden; }
body .cc-legal-modal-dialog iframe { display: block; width: 100%; height: 100%; border: 0; }
body .cc-legal-modal-dialog .modal-footer { padding: 12px 20px; border-top: 1px solid #E7E7E5; background: #FFFFFF; }
body .cc-legal-modal-dialog .cc-legal-modal-close { padding: 8px 18px; color: #161412; background: #FFFFFF; border: 1px solid #D9D8D5; border-radius: 999px; font-family: inherit; font-size: 13px; font-weight: 500; }
body .cc-legal-modal-dialog .cc-legal-modal-close:hover { color: #FFFFFF; background: #161412; border-color: #161412; }
body .cc-signup { width: 100%; max-width: 1000px; margin: 0 auto 32px; color: #161412; }
body .cc-signup-back { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; margin: 0 0 20px; color: #161412; background: #FFFFFF; border: 1px solid #D9D8D5; border-radius: 999px; font-size: 13px; text-decoration: none; }
body .cc-signup-back:hover { color: #161412; background: #F7F7F6; border-color: #161412; }
body .cc-signup-hero { margin: 0 0 24px; padding: 28px 32px; border: 1px solid #E7E7E5; border-radius: 22px; background: #FFFFFF; }
body .cc-signup-hero > span { color: #0D7995; font-size: 11px; font-weight: 600; letter-spacing: .04em; }
body .cc-signup .cc-signup-hero h1 { margin: 12px 0; padding: 0; color: #161412; font-size: clamp(28px,4vw,40px); font-weight: 600; line-height: 1.2; }
body .cc-signup .cc-signup-hero p { margin: 0; padding: 0; color: #625F5B; font-size: 14px; line-height: 1.7; }
body .cc-signup .com-users-registration { max-width: none; margin: 0; padding: 0; background: transparent; border: 0; box-shadow: none; }
body .cc-signup #member-registration { margin: 0; padding: 28px 32px; background: #FFFFFF; border: 1px solid #E7E7E5; border-radius: 22px; box-shadow: none; }
body .cc-signup #member-registration > fieldset { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 24px; margin: 0 0 28px; padding: 0 0 24px; border: 0; border-bottom: 1px solid #E7E7E5; }
body .cc-signup #member-registration legend { float: none; grid-column: 1 / -1; width: 100%; margin: 0; padding: 0; color: #161412; border: 0; font-size: 18px; font-weight: 600; }
body .cc-signup #member-registration .control-group { min-width: 0; margin: 0; padding: 0; }
body .cc-signup #member-registration .control-label { float: none; width: 100%; margin: 0 0 7px; padding: 0; text-align: left; }
body .cc-signup #member-registration .control-label label { color: #161412; font-size: 13px; font-weight: 500; }
body .cc-signup #member-registration .controls { min-width: 0; margin: 0; }
body .cc-signup #member-registration > fieldset > :is(p,.form-text) { grid-column: 1 / -1; margin: 0; color: #625F5B; font-size: 12px; font-weight: 400; }
body .cc-signup #member-registration > fieldset { background: transparent; box-shadow: none; border-radius: 0; }
body .cc-signup #member-registration .control-group:has(.cc-consent-choice), body .cc-signup #member-registration .controls:has(.cc-consent-choice) { padding: 0; background: #FFFFFF; border: 0; box-shadow: none; border-radius: 0; }
body .cc-signup #member-registration :is(input[type=text],input[type=email],input[type=password],input[type=url],input[type=tel],select,textarea) { width: 100%; max-width: 100%; min-height: 44px; color: #161412; background: #FFFFFF; border: 1px solid #D9D8D5; border-radius: 10px; font-family: inherit; font-size: 14px; }
body .cc-signup #member-registration :is(.input-group,.password-group) { width: 100%; }
body .cc-signup #member-registration .input-group { display: flex; flex-wrap: nowrap; }
body .cc-signup #member-registration .input-group > input { flex: 1 1 auto; width: 1% !important; min-width: 0; border-radius: 10px 0 0 10px; }
body .cc-signup #member-registration .input-group > button { flex: 0 0 44px; min-height: 44px; padding: 8px; background: #FFFFFF; color: #625F5B; border: 1px solid #D9D8D5; border-left: 0; border-radius: 0 10px 10px 0; font-family: inherit; }
body .cc-signup #member-registration .input-group > button:hover { color: #161412; background: #F7F7F6; }
body .cc-signup #member-registration .control-group:has(#jform_email1) { grid-column: 1 / -1; }
body .cc-signup #member-registration > fieldset:first-of-type > .control-group { order: 2; }
body .cc-signup #member-registration > fieldset:first-of-type > .control-group:has(#jform_email1) { order: 3; }
body .cc-signup #member-registration > fieldset:first-of-type > .control-group:has(:is(#jform_password1,#jform_password2)) { order: 4; }
body .cc-signup #member-registration > fieldset:first-of-type > .acym__regacy { order: 5; }
body .cc-signup #member-registration .acym__regacy { padding: 14px 16px; margin: 0; background: #FFFFFF; border: 1px solid #E7E7E5; border-left: 3px solid #27B9D7; border-radius: 12px; }
body .cc-signup #member-registration .acym__regacy :is(.acym__regacy__label,.acym__regacy__lists__label,label) { color: #161412 !important; font-size: 13px; font-weight: 500; line-height: 1.6; }
body .cc-signup #member-registration .acym__regacy input[type=checkbox] { accent-color: #161412; }
body .cc-signup #member-registration :is(.control-group:has(.cc-consent-choice),.control-group:has(.acym__regacy),.acym__regacy,.control-group:has(.cf-turnstile)) { grid-column: 1 / -1; }
body .cc-signup #member-registration .com-users-registration__submit { margin-top: 16px; }
body .cc-signup #member-registration .com-users-registration__register { min-height: 44px; padding: 10px 24px; color: #FFFFFF !important; background: #161412 !important; border: 1px solid #161412 !important; border-radius: 999px; font-family: inherit; font-weight: 500; }
body .cc-signup #member-registration .com-users-registration__register:hover { color: #FFFFFF !important; background: #36332F !important; border-color: #36332F !important; }
body .cc-signup-login { margin: 18px 0 0; padding: 0; color: #625F5B; font-size: 13px; }
body .cc-signup-login a { color: #0D7995; }
/* Checkout account creation: readable groups inside the native registration area. */
body .cc-checkout-shell .cc-checkout-core #hikashop_checkout_registration .cc-registration-group {
    margin: 0 0 14px;
    padding: 16px;
    background: #FFFFFF;
    border: 1px solid #E7E7E5;
    border-radius: 14px;
}
body .cc-checkout-shell .cc-checkout-core #hikashop_checkout_registration .cc-registration-group > h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 14px;
    color: #161412;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}
body .cc-checkout-shell .cc-checkout-core #hikashop_checkout_registration .cc-registration-group > h3 > span { color: #0D7995; font-size: 14px; }
body .cc-checkout-shell .cc-checkout-core #hikashop_checkout_registration .cc-registration-group__fields { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; }
body .cc-checkout-shell .cc-checkout-core #hikashop_checkout_registration .cc-registration-group .control-group { margin-bottom: 0; }
body .cc-checkout-shell .cc-checkout-core #hikashop_checkout_registration .cc-registration-group #hikashop_registration_privacy_area { margin: 0; padding: 0; border: 0; }
body .cc-checkout-shell .cc-checkout-core #hikashop_checkout_registration .cc-registration-group #hikashop_registration_privacy_area > legend { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body .cc-checkout-shell .cc-checkout-core #hikashop_checkout_registration .cc-registration-group .cc-hikashop-captcha { padding-top: 14px; border-top: 1px solid #E7E7E5; }
body .cc-checkout-shell .cc-checkout-core #hikashop_checkout_registration .cc-registration-group .cc-hika-privacy__help { margin-top: 0; }
body .cc-checkout-shell .cc-checkout-core #hikashop_checkout_registration .cc-registration-group--newsletter :is(.acym__regacy,.acym__hikashop__lists) { margin: 0; padding: 0; background: transparent; border: 0; }
body .cc-checkout-shell .cc-checkout-core #hikashop_checkout_registration .cc-registration-group--newsletter label { color: #161412; font-weight: 400; }
body .cc-checkout-shell .cc-checkout-core #hikashop_checkout_registration .cc-registration-group--captcha {
    padding: 12px 14px;
    background: #F7F7F6;
    border-color: #E7E7E5;
}
body .cc-checkout-shell .cc-checkout-core #hikashop_checkout_registration .cc-registration-group--captcha .cc-registration-group__fields { gap: 0; }
body .cc-checkout-shell .cc-checkout-core #hikashop_checkout_registration .cc-registration-group--captcha .cc-hikashop-captcha {
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
}
body .cc-checkout-shell .cc-checkout-core #hikashop_checkout_registration #hikashop_register_form_button { width: 100%; }

/* Compact, aligned controls for the complete order history. */
body.cc-account-2026 .cc-order-history-page #adminForm > .hk-row-fluid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 12px;
    padding: 15px 16px;
}
body.cc-account-2026 .cc-order-history-page #adminForm > .hk-row-fluid > div {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    height: 38px;
    min-width: 0;
    min-height: 38px;
}
body.cc-account-2026 .cc-order-history-page .hikashop_search_block {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: 38px;
    min-height: 38px;
}
body.cc-account-2026 .cc-order-history-page #hikashop_search,
body.cc-account-2026 .cc-order-history-page .hikashop_order_sort select {
    box-sizing: border-box;
    height: 38px;
    min-height: 38px;
    margin: 0;
    padding: 7px 11px;
    color: #161412;
    background: #FFFFFF;
    border: 1px solid #D9D8D5;
    border-radius: 9px;
    box-shadow: none;
    font: inherit;
    font-size: 13px;
    line-height: 1.2;
}
body.cc-account-2026 .cc-order-history-page #hikashop_search { flex: 1 1 auto; width: 1%; min-width: 0; }
body.cc-account-2026 .container-component .cc-order-history-page .hikashop_search_block :is(button,.hikabtn) {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 38px;
    min-height: 38px;
    margin: 0;
    padding: 0 15px;
    border-radius: 999px;
    font: inherit;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
}
body.cc-account-2026 .cc-order-history-page .hikashop_order_sort {
    display: grid;
    grid-template-columns: minmax(76px, auto) repeat(2, minmax(0, 1fr));
    grid-template-rows: 38px;
    align-items: center;
    align-content: start;
    gap: 8px;
    width: 100%;
    height: 38px;
    min-height: 38px;
    margin: 0 !important;
    min-width: 0;
    color: #625F5B;
    font-size: 12px;
    line-height: 1.3;
}
body.cc-account-2026 .cc-order-history-page .hikashop_order_sort select { width: 100%; min-width: 0; margin: 0 !important; }
@media (max-width: 800px) {
    body.cc-account-2026 .cc-order-history-page #adminForm > .hk-row-fluid { grid-template-columns: minmax(0, 1fr); }
    body.cc-account-2026 .cc-order-history-page #adminForm > .hk-row-fluid > div { height: auto; }
    body.cc-account-2026 .cc-order-history-page .hikashop_order_sort { height: auto; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 38px; }
    body.cc-account-2026 .cc-order-history-page .hikashop_order_sort select { grid-row: 2; }
}
@media (max-width: 420px) {
    body.cc-account-2026 .cc-order-history-page #adminForm > .hk-row-fluid { padding: 12px; }
    body.cc-account-2026 .cc-order-history-page .hikashop_search_block { gap: 6px; }
    body.cc-account-2026 .container-component .cc-order-history-page .hikashop_search_block :is(button,.hikabtn) { padding-inline: 12px; }
}
@media(max-width:640px) {
    body .cc-signup-hero, body .cc-signup #member-registration { padding: 20px 16px; border-radius: 18px; }
    body .cc-signup #member-registration > fieldset { grid-template-columns: minmax(0,1fr); gap: 18px; }
    body .cc-signup #member-registration .com-users-registration__register { width: 100%; }
    body .cc-legal-modal-dialog { width: calc(100% - 16px); margin: 8px auto; }
    body .cc-legal-modal-dialog .modal-header { padding: 14px; }
    body .cc-legal-modal-dialog .modal-title { font-size: 16px; }
    body .cc-checkout-shell .cc-checkout-core #hikashop_checkout_registration .cc-registration-group { padding: 14px 12px; }
}

/* Full order history: keep each product compact, readable and visually balanced. */
body.cc-account-2026 .container-component .cc-order-history-page .hika_order_products .hika_order_product {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 12px;
    row-gap: 2px;
    min-width: 0;
    padding: 12px 16px;
    border-color: #E7E7E5;
}
body.cc-account-2026 .container-component .cc-order-history-page .hika_order_products .hika_order_product > .hika_order_product_image_link {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    box-sizing: border-box;
    width: 54px;
    height: 54px;
    margin: 0;
    overflow: hidden;
    background: #F7F7F6;
    border: 1px solid #E7E7E5;
    border-radius: 10px;
}
body.cc-account-2026 .container-component .cc-order-history-page .hika_order_products .hika_order_product_image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}
body.cc-account-2026 .container-component .cc-order-history-page .hika_order_products .hika_order_product > a:not(.hika_order_product_image_link) {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    color: #161412;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    overflow-wrap: anywhere;
}
body.cc-account-2026 .container-component .cc-order-history-page .hika_order_products .hika_order_product > a:not(.hika_order_product_image_link):is(:hover, :focus-visible) {
    color: #0D7995;
    text-decoration: underline;
    text-underline-offset: 2px;
}
body.cc-account-2026 .container-component .cc-order-history-page .hika_order_products .hika_order_product_name {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}
body.cc-account-2026 .container-component .cc-order-history-page .hika_order_products .hikashop_product_variant_subname {
    color: #625F5B;
    font-size: 0.92em;
    font-weight: 400;
}
body.cc-account-2026 .container-component .cc-order-history-page .hika_order_products .hika_order_product_price {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    color: #625F5B;
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.4;
}
body.cc-account-2026 .container-component .cc-order-history-page .hika_order_products .hika_order_product_price :is(.hika_cpanel_product_price_quantity, .hika_cpanel_product_price_times, .hika_cpanel_product_price_amount) {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}
body.cc-account-2026 .container-component .cc-order-history-page .hika_order_products .hikashop_order_product_extra {
    grid-column: 2;
    margin: 2px 0 0;
    color: #625F5B;
    font-size: 12px;
    line-height: 1.45;
}
body.cc-account-2026 .container-component .cc-order-history-page .hika_order_products .hika_order_product > div[style*="clear"] { display: none; }
@media (max-width: 640px) {
    body.cc-account-2026 .container-component .cc-order-history-page .hika_order_products .hika_order_product {
        grid-template-columns: 48px minmax(0, 1fr);
        column-gap: 10px;
        padding: 11px 12px;
    }
    body.cc-account-2026 .container-component .cc-order-history-page .hika_order_products .hika_order_product > .hika_order_product_image_link {
        width: 48px;
        height: 48px;
        border-radius: 8px;
    }
    body.cc-account-2026 .container-component .cc-order-history-page .hika_order_products .hika_order_product > a:not(.hika_order_product_image_link) { font-size: 13px; }
}

/* Mandatory acceptance copy: compact and high-contrast, while keeping the checkbox unchanged. */
body :is(
    .cc-consent-choice label,
    .cc-hika-privacy .cc-hika-privacy__choice > span,
    .cc-checkout-terms__choice label
) {
    color: #000000 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.5;
}

/* Standalone account creation: restore a clear, balanced form hierarchy. */
body .cc-signup {
    width: min(100%, 960px);
    margin: clamp(1.5rem, 4vw, 3rem) auto 4rem;
    padding-inline: clamp(1rem, 3vw, 1.5rem);
}
body .cc-signup-back { margin-bottom: 1.25rem; }
body .cc-signup-hero {
    margin-bottom: 1.25rem;
    padding: clamp(1.5rem, 4vw, 2.25rem);
    border-radius: 18px;
}
body .cc-signup .cc-signup-hero h1 {
    margin: .65rem 0 .5rem;
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    letter-spacing: -.04em;
}
body .cc-signup #member-registration {
    padding: clamp(1.25rem, 3.5vw, 2rem);
    border-radius: 18px;
}
body .cc-signup #member-registration > fieldset {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 1.15rem 1.4rem;
    margin: 0 0 1.5rem;
    padding: 0 0 1.5rem;
    border-bottom: 1px solid #e7e7e5;
}
body .cc-signup #member-registration > fieldset + fieldset { padding-top: .25rem; }
body .cc-signup #member-registration > fieldset:last-of-type { margin-bottom: 0; }
body .cc-signup #member-registration legend {
    margin-bottom: .2rem;
    padding-bottom: .15rem;
    font-size: 1rem;
    letter-spacing: -.01em;
}
body .cc-signup #member-registration .control-group {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: .35rem;
}
body .cc-signup #member-registration .control-label { margin: 0; }
body .cc-signup #member-registration .control-label label {
    display: inline-block;
    margin: 0;
    line-height: 1.45;
}
body .cc-signup #member-registration .controls { width: 100%; min-width: 0; }
body .cc-signup #member-registration .controls :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]), select, textarea) {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: .65rem .8rem;
    color: #161412;
    border: 1px solid #d9d8d5;
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
    font: inherit;
    font-size: 14px;
    line-height: 1.4;
}
body .cc-signup #member-registration .controls :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]), select, textarea):focus {
    border-color: #0d7995;
    outline: 0;
    box-shadow: 0 0 0 3px rgb(39 185 215 / 16%);
}
body .cc-signup #member-registration .controls .input-group { display: flex; width: 100%; min-width: 0; }
body .cc-signup #member-registration .controls .input-group > input { flex: 1 1 0; width: 1% !important; min-width: 0; }
body .cc-signup #member-registration .controls .input-group > button {
    flex: 0 0 46px;
    min-height: 46px;
    color: #625f5b;
    border: 1px solid #d9d8d5;
    border-left: 0;
    border-radius: 0 10px 10px 0;
    background: #f7f7f6;
}
body .cc-signup #member-registration .controls .input-group > input:first-child { border-radius: 10px 0 0 10px; }
body .cc-signup #member-registration .form-text,
body .cc-signup #member-registration .help-block,
body .cc-signup #member-registration .text-muted {
    margin-top: .25rem;
    color: #625f5b;
    font-size: .76rem;
    line-height: 1.5;
}
body .cc-signup #member-registration .control-group:has(.cc-consent-choice),
body .cc-signup #member-registration .control-group:has(.acym__regacy),
body .cc-signup #member-registration .acym__regacy,
body .cc-signup #member-registration .control-group:has(.cf-turnstile),
body .cc-signup #member-registration > fieldset > :is(p, .form-text) { grid-column: 1 / -1; }
body .cc-signup #member-registration .acym__regacy {
    margin: .15rem 0 0;
    padding: .9rem 1rem;
    border: 1px solid #e7e7e5;
    border-left: 3px solid #27b9d7;
    border-radius: 12px;
    background: #fff;
}
body .cc-signup #member-registration .acym__regacy :is(.acym__regacy__label, .acym__regacy__lists__label, label) {
    color: #161412 !important;
    font-size: .82rem;
    font-weight: 500;
    line-height: 1.55;
}
body .cc-signup #member-registration .control-group:has(.cc-consent-choice) {
    padding-top: .35rem;
    border-top: 1px solid #e7e7e5;
}
body .cc-signup #member-registration .control-group:has(.cf-turnstile) {
    padding: .9rem 1rem;
    border: 1px solid #e7e7e5;
    border-radius: 12px;
    background: #f7f7f6;
}
body .cc-signup #member-registration .com-users-registration__submit {
    display: flex;
    justify-content: flex-end;
    margin: 1.5rem 0 0;
    padding-top: 1.25rem;
    border-top: 1px solid #e7e7e5;
}
body .cc-signup #member-registration .com-users-registration__submit .controls { display: flex; justify-content: flex-end; }
body .cc-signup #member-registration .com-users-registration__register { min-width: 13rem; }
body .cc-signup-login { margin-top: 1.25rem; }
@media (max-width: 700px) {
    body .cc-signup { margin-top: 1.25rem; }
    body .cc-signup #member-registration > fieldset { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
    body .cc-signup #member-registration .com-users-registration__submit .controls,
    body .cc-signup #member-registration .com-users-registration__register { width: 100%; }
}

/* Native Joomla spacer, password hints and consent inputs are not text fields. */
body .cc-signup #member-registration { display: flex; flex-direction: column; }
body .cc-signup #member-registration > fieldset { order: 10; }
body .cc-signup #member-registration > fieldset:has([name^="jform[profile]"]) { order: 20; }
body .cc-signup #member-registration > fieldset:has(.cc-consent-choice) { order: 30; grid-template-columns: minmax(0, 1fr); }
body .cc-signup #member-registration > .control-group:has(.cf-turnstile) { order: 40; margin-top: 1.25rem; }
body .cc-signup #member-registration > .com-users-registration__submit { order: 50; }
body .cc-signup #member-registration > fieldset:first-of-type > .field-spacer { grid-column: 1 / -1; order: 1; }
body .cc-signup #member-registration .field-spacer { display: block; }
body .cc-signup #member-registration .field-spacer .controls { display: none; }
body .cc-signup #member-registration .field-spacer label { color: #625f5b; font-size: .75rem; font-weight: 400; }
body .cc-signup #member-registration .controls { display: flex; flex-direction: column; }
body .cc-signup #member-registration .controls > [id$="-rules"] { order: 2; margin-top: .55rem; font-size: .75rem; line-height: 1.5; }
body .cc-signup #member-registration .password-group { order: 1; }
body .cc-signup #member-registration .input-group { gap: 0; align-items: stretch; }
body .cc-signup #member-registration .controls .input-group > input { margin: 0; border-radius: 10px 0 0 10px !important; }
body .cc-signup #member-registration .controls .input-group > button { margin: 0; height: 46px; border-radius: 0 10px 10px 0 !important; }
body .cc-signup #member-registration .controls input:is([type=checkbox], [type=radio]) {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    padding: 0;
    margin: 2px 0 0;
    accent-color: #161412;
}
body .cc-signup #member-registration .acym__regacy__values table { margin: 0; border: 0; }
body .cc-signup #member-registration .acym__regacy__values tr { display: flex; align-items: flex-start; gap: .7rem; }
body .cc-signup #member-registration .acym__regacy__values td { border: 0; }
body .cc-signup #member-registration .acym__regacy__values td:first-child { flex: 0 0 18px; }
body .cc-signup #member-registration .acym__regacy__lists__label { display: block; margin: 0; }
body .cc-signup #member-registration .control-group:has(.cc-consent-choice) { padding-top: 0; border-top: 0; }
body .cc-signup #member-registration .control-group:has(.cf-turnstile) > .control-label { display: none; }
body .cc-signup #member-registration .com-users-registration__submit .controls { flex-direction: row; }
