body.woocommerce-account .woocommerce,
.hhcu {
    --hhcu-bg: #faf8f3;
    --hhcu-white: #fff;
    --hhcu-text: #182c27;
    --hhcu-muted: #486157;
    --hhcu-action: #124c40;
    --hhcu-hover: #0b3c33;
    --hhcu-active: #082e28;
    --hhcu-reward: #ddefe6;
    --hhcu-favorite: #733559;
    --hhcu-favorite-bg: #f7e8ef;
    --hhcu-border: #6d8176;
    --hhcu-focus: #653982;
    color: var(--hhcu-text);
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    line-height: 1.55;
}

.hhcu-panel {
    background: var(--hhcu-bg);
    border: 1px solid #d5dfd7;
    border-radius: 12px;
    margin-block: 16px;
    padding: clamp(12px, 3vw, 24px);
    min-width: 0;
    overflow-wrap: anywhere;
}

.hhcu h2 { font-size: clamp(24px, 4vw, 32px); margin-top: 0; }
.hhcu h3 { font-size: 1.2rem; margin: 1.25em 0 .5em; }
.hhcu p, .hhcu label { line-height: 1.5; }
.hhcu label, .hhcu small { display: block; }
.hhcu a:not(.hhcu-button) { color: var(--hhcu-favorite); text-decoration: underline; }
.hhcu-form { max-width: 34rem; display: grid; gap: 8px; margin-block: 12px; }
.hhcu-form input:not([type=checkbox]):not([type=hidden]), .hhcu-form select,
body.woocommerce-account .woocommerce-form-login input.input-text {
    background: var(--hhcu-white);
    border: 1px solid var(--hhcu-border);
    border-radius: 8px;
    color: var(--hhcu-text);
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    min-height: 44px;
    font-size: 16px;
}
.hhcu-form label:has(input[type=checkbox]) { display: flex; gap: 10px; align-items: center; min-height: 44px; }
.hhcu-form input[type=checkbox] { accent-color: var(--hhcu-action); flex: 0 0 auto; }
.hhcu button, .hhcu .hhcu-button,
body.woocommerce-account .woocommerce-form-login button[type=submit] {
    align-items: center;
    background: var(--hhcu-action);
    border: 1px solid var(--hhcu-action);
    border-radius: 8px;
    color: white;
    display: inline-flex;
    font-size: 16px;
    font-weight: 650;
    justify-content: center;
    line-height: 1.4;
    min-height: 44px;
    padding: 8px 14px;
    text-align: center;
    text-decoration: none;
    white-space: normal;
}
.hhcu :is(button,.hhcu-button):hover { background: var(--hhcu-hover); color: white; }
.hhcu :is(button,.hhcu-button):active { background: var(--hhcu-active); }
.hhcu :is(a,button,input,select,summary):focus-visible, .hhcu-favorite:focus-visible,
body.woocommerce-account .woocommerce-form-login :is(a,button,input):focus-visible {
    outline: 3px solid #653982;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px white;
    scroll-margin-top: 100px;
}
.hhcu-reward { background: var(--hhcu-reward); color: var(--hhcu-action); border-radius: 12px; padding: 12px 16px; }
.hhcu-reward h3 { margin-top: 0; }
.hhcu-reward progress { accent-color: var(--hhcu-action); width: 100%; height: 14px; }
.hhcu-favorite { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 8px; color: #733559; }
.hhcu-list-item { border-bottom: 1px solid #d5dfd7; padding-block: 10px; }
.hhcu-list-item button { background: #f7e8ef; color: #733559; border-color: #733559; }
.hhcu-avatar, .hhcu-badge { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.hhcu-badge { display: grid; place-items: center; background: var(--hhcu-reward); color: var(--hhcu-action); font-size: 24px; }

.hhcu summary { min-height: 44px; padding-block: 10px; font-weight: 650; }
.hhcu summary { cursor: pointer; padding-inline: 8px; }
.hhcu-mobile-menu > summary, .hhcu-cart-benefits > summary { border: 1px solid var(--hhcu-border); border-radius: 8px; }
.hhcu-cart-benefits > summary { background: white; padding-inline: 12px; }
.hhcu-access :is(section,#hhcu-register), #hhcu-benefits, #hhcu-reminder { scroll-margin-top: 112px; }
.hhcu .hhcu-password-toggle, .hhcu button[value=coupon_cancel] {
    color: var(--hhcu-action);
    background: white;
    border-color: var(--hhcu-border);
}
.hhcu-password-field { position: relative; }
.hhcu .hhcu-password-field input { padding-inline-end: 88px; }
.hhcu .hhcu-password-field .hhcu-password-toggle {
    position: absolute;
    inset-block-start: 0;
    inset-inline-end: 0;
    min-width: 76px;
    font-size: 14px;
    padding-inline: 10px;
    border-color: transparent;
    background: transparent;
}
.hhcu :is(.hhcu-password-toggle,button[value=coupon_cancel]):hover { background: var(--hhcu-reward); color: var(--hhcu-action); }
.woocommerce-MyAccount-content:has(.hhcu-dashboard) .hh-account-guide { display: none; }
.woocommerce-MyAccount-content :is(.woocommerce-orders-table,.woocommerce-MyAccount-orders) :is(a.button,button),
.woocommerce-MyAccount-content .woocommerce-info > .button {
    background: #124c40;
    color: white;
    min-height: 44px;
    margin: 2px;
}
.woocommerce-MyAccount-content :is(.woocommerce-orders-table,.woocommerce-MyAccount-orders) a.button:focus-visible,
.hhcu-mobile-menu .woocommerce-MyAccount-navigation a:focus-visible {
    outline: 3px solid #653982;
    outline-offset: 2px;
}
.hhcu-mobile-menu .woocommerce-MyAccount-navigation a { display: flex; align-items: center; min-height: 44px; }
.hhcu-checkout-benefits a { display: inline-flex; min-height: 44px; align-items: center; }
body:has(.hhcu-cart-benefits) :is(.wp-block-woocommerce-cart-order-summary-coupon-form-block, .woocommerce-cart-form .coupon) { display: none; }
body:is(.woocommerce-cart,.woocommerce-checkout) :is(.wc-block-components-product-price__value,.wc-block-components-totals-item__value) {
    color: #182c27;
}

@media (max-width: 899px) {
    body.woocommerce-account .woocommerce :is(.woocommerce-MyAccount-navigation,.woocommerce-MyAccount-content) {
        float: none;
        width: 100%;
        min-width: 0;
    }
}
@media (prefers-reduced-motion: reduce) { .hhcu *, .hhcu *::before { transition: none !important; } }
body.woocommerce-checkout:has(.hhcu-empty) #goal-breadscrumb { display:none; }
#hhcu-google-error:empty{display:none}
.hhcu-empty {
    box-sizing: border-box;
    max-width: 560px;
    margin: 0 auto;
    padding: clamp(22px, 3vw, 38px) clamp(12px, 3vw, 36px);
    text-align: center;
    background: linear-gradient(155deg, #fff3e8, #fffdf8 48%);
    border: 1px solid #e8d6c6;
    border-radius: 20px;
}
.hhcu-empty-bag {
    display: inline-grid;
    place-items: center;
    width: 50px;
    height: 50px;
    color: #753b29;
    background: #ffdbc2;
    border-radius: 50%;
}
.hhcu-empty-bag svg { width: 26px; height: 26px; }
.hhcu-empty h2 { margin: 10px 0 6px; font-size: clamp(25px, 3vw, 34px); color: #21392f; }
.hhcu-empty p { margin: 0; color: #3f5148; }
.hhcu-empty-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 14px; margin-top: 16px; }
.hhcu-empty a.hhcu-button { height: auto; min-height: 44px; width: auto; border-radius: 24px; padding: 9px 18px; margin: 0; }
.hhcu-empty .hhcu-empty-favorites {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    padding: 4px;
    color: #713d56;
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.hhcu-empty-favorites svg { width: 17px; height: 17px; }
.hhcu-empty-actions a:focus-visible { outline: 2px solid #653982; outline-offset: 3px; }
#hhcu-seguimiento{scroll-margin-top:100px}
