#hh-header .hm-notices, #hh-header .hm-category-strip { display:none; }

/* The result toolbar is replaced on every filter, sort and pagination change. */
.woocommerce-shop #jfy-catalog:has(.jfy-order option[value="menu_order"]:checked):not(:has(.jfy-order input[type="hidden"]:not([name="post_type"]), .jfy-pagination .prev)) .hhu-catalog-heading > a {
    display:none;
}
#jfy-catalog .hhu-catalog-heading .hhu-eyebrow { display:none; }

@media (max-width:1023px) {
    body.jelly-fresh #jfy-catalog { padding-top:clamp(18px,4vw,30px); }
    #jfy-catalog .hhu-catalog-heading { margin-bottom:14px; }
    #jfy-catalog .hhu-catalog-search { margin-bottom:14px; }
    #jfy-catalog .jfy-result-toolbar { min-height:30px; margin-bottom:12px; }
    body:not(.jfy-enhanced) #jfy-catalog .jfy-result-toolbar,
    body:not(.jfy-enhanced) #jfy-catalog .jfy-order { flex-wrap:wrap; }
    #jfy-catalog .jfy-order { min-width:0; max-width:100%; }
    body.jelly-fresh #hh-header:has(.hm-notices,.hm-account-entry) {
        background:linear-gradient(104deg,#ffb393 0%,#ffd3b2 58%,#ffdfbd 100%);
        border-bottom:1px solid #e7b49c;
        overflow:visible;
    }
    #hh-header:has(.hm-notices,.hm-account-entry) .jfy-header-row {
        width:min(100% - 20px,960px);
        display:flex;
        align-items:center;
        flex-wrap:wrap;
        padding:5px 0;
        column-gap:7px;
        row-gap:0;
        min-height:54px;
    }
    #hh-header:has(.hm-notices,.hm-account-entry) :is(.jfy-cart,.jfy-desktop-nav) { display:none; }
    #hh-header:has(.hm-notices,.hm-account-entry) .jfy-logo {
        order:0; flex:0 0 44px; display:grid; place-items:center;
        width:44px; height:44px; margin:0; padding:0; border-radius:50%;
    }
    #hh-header:has(.hm-notices,.hm-account-entry) .jfy-logo > * { display:none; }
    #hh-header:has(.hm-notices,.hm-account-entry) .jfy-logo::before {
        content:""; width:39px; height:39px; box-sizing:border-box; border-radius:50%;
        border:1px solid #cb805d; background:#fff9f0 url("horihomi-h.svg") center/33px 33px no-repeat;
    }
    #hh-header:has(.hm-account-entry) .jfy-search-open { padding-inline: 9px; gap: 5px; }
    .hhn-navidad #hh-header:has(.hm-notices,.hm-account-entry) .jfy-logo::before { background-image:url("horihomi-h.svg#navidad"); }
    body:not(.hhcu-dock-page) #hh-header:has(.hm-notices,.hm-account-entry) .jfy-cart {
        display:grid; place-items:center; order:3; position:relative;
        width:44px; height:44px; flex:none; margin:0; color:#24372e;
    }
    #hh-header:has(.hm-notices,.hm-account-entry) .hn-source,
    #hh-header.hn-ready:has(.hm-notices,.hm-account-entry) .jfy-menu-open { order:4; margin:0; flex:none; }
    #hh-header.hn-ready:has(.hm-notices,.hm-account-entry) .jfy-menu-open,
    #hh-header:has(.hm-notices,.hm-account-entry) .hn-source>summary {
        display:grid; place-items:center; width:44px; height:44px; min-height:44px;
        padding:0; color:#18291f; background:transparent; border:0; box-shadow:none;
    }
    #hh-header:has(.hm-notices,.hm-account-entry) :is(.jfy-menu-open,.hn-source>summary) > span { display:none; }
    #hh-header:has(.hm-notices,.hm-account-entry) .jfy-search-open {
        order:1; flex:1 1 0; display:flex; justify-content:flex-start; gap:9px;
        width:auto; min-width:0; max-width:none; height:42px; min-height:42px; margin:0;
        padding:0 15px; color:#24372e; background:#fffcf7; border:1px solid #dbb39b; border-radius:28px;
        font-family:inherit; font-size:14px; font-weight:600; line-height:1.2; box-shadow:0 2px 5px #7f341011;
    }
    #hh-header:has(.hm-notices,.hm-account-entry) .jfy-search-open span { display:inline; font-family:inherit; font-size:14px; font-weight:550; white-space:nowrap; }
    #hh-header:has(.hm-notices,.hm-account-entry) .jfy-search-open svg { width:19px; height:19px; flex:none; }
    #hh-header .hm-notices { display:block; position:relative; order:2; margin:0; flex:none; }
    #hh-header .hm-notices summary {
        display:grid; place-items:center; width:44px; height:44px; list-style:none; color:#263b30;
        cursor:pointer; border-radius:50%; background:transparent;
    }
    #hh-header .hm-notices summary::-webkit-details-marker { display:none; }
    #hh-header .hm-notices summary svg { width:24px; height:24px; }
    #hh-header .hm-notices[open] summary { background:#fff5e8; }
    #hh-header .hm-notices>div {
        position:absolute; top:calc(100% + 5px); right:0; z-index:3;
        width:min(270px,calc(100vw - 24px)); padding:16px; border:1px solid #d9c8af;
        border-radius:16px; color:#26372b; background:#fffdf8; box-shadow:0 10px 28px #34261925;
    }
    #hh-header .hm-notices strong { display:block; font-size:16px; margin-bottom:5px; }
    #hh-header .hm-notices :is(a,p) { font-size:14px; color:#334b3a; }
    #hh-header .hm-notices a { min-height:40px; display:flex; align-items:center; justify-content:space-between; gap:5px; text-decoration:underline; }
    #hh-header .hn-delivery { padding:1px 6px 4px; min-height:0; }
    #hh-header .hm-category-strip:not([hidden]) {
        display:block; position:relative; order:10; flex:0 0 100%; min-width:0; max-width:100%; margin-top:3px;
        color:#27382d; background:#fff9f0; border:1px solid #e9c5ad; border-top:0; border-radius:0 0 13px 13px;
        box-shadow:0 5px 12px #36251413;
    }
    #hh-header .hm-category-strip>div {
        display:flex; gap:4px; padding:2px 7px; overflow-x:auto;
        overscroll-behavior-x:contain; scrollbar-width:none;
    }
    #hh-header .hm-category-strip>div::-webkit-scrollbar { display:none; }
    #hh-header .hm-category-strip a {
        display:inline-flex; flex:none; align-items:center; min-height:32px; padding:0 8px; white-space:nowrap;
        color:inherit; text-decoration:none; font-size:12px; font-weight:650;
    }
    #hh-header .hm-category-strip a:first-child { color:#9b3d23; }
    #hh-header :is(.jfy-logo,.hm-notices summary,.hm-category-strip a):focus-visible { outline:2px solid #954520; outline-offset:-2px; }
    body:is(.hhu-modal-open,.jfy-modal-open,.pswp-open,.mfp-zoom-out-cur) #hh-header .hm-category-strip,
    body:has(dialog[open]) #hh-header .hm-category-strip { display:none; }
    body.hhcu-store-page:not(.single-product) #goal-breadscrumb {
        min-height:0 !important; margin:0 !important; padding:4px 0 !important;
        border-radius:0; background:#fff8ef !important; border-bottom:1px solid #e6d8cb;
    }
    body.hhcu-store-page:not(.single-product) #goal-breadscrumb .wrapper-breads-inner { text-align:start; }
    body.hhcu-store-page:not(.single-product) #goal-breadscrumb .bread-title {
        color:#45392f; font-size:16px !important; line-height:1.2; margin:2px 0;
    }
    body.hhcu-store-page:not(.single-product):has(main h1) #goal-breadscrumb .bread-title { display:none; }
    body.hhcu-store-page:not(.single-product) #goal-breadscrumb .breadcrumb {
        display:flex; align-items:center; flex-wrap:nowrap; gap:4px; overflow-x:auto;
        justify-content:flex-start; margin:0; padding:0; scrollbar-width:none;
    }
    body.hhcu-store-page:not(.single-product) #goal-breadscrumb .breadcrumb li {
        flex:none; display:inline-flex; align-items:center; gap:4px; margin:0; padding:0;
        white-space:nowrap; color:#554638;
    }
    body.hhcu-store-page:not(.single-product) #goal-breadscrumb .breadcrumb li + li::before {
        content:"›"; display:inline-block; position:static; font:14px/1 sans-serif; color:#816956; padding:0 2px;
    }
    body.hhcu-store-page:not(.single-product) #goal-breadscrumb .breadcrumb :is(a,.active) {
        display:inline-flex; align-items:center; min-height:26px;
        font-size:12px !important; line-height:1.3 !important; color:#45392f !important;
    }
}
@media (prefers-reduced-motion:no-preference) {
    .hm-category-strip:not([hidden]) { animation:hm-flash-in .15s ease-out; }
    @keyframes hm-flash-in { from { opacity:0; transform:translateY(-3px); } to { opacity:1; transform:none; } }
}

@media (max-width:389px) {
    #hh-header:has(.hm-notices,.hm-account-entry) .jfy-search-open { padding-inline:9px; gap:5px; }
    #hh-header:has(.hm-notices,.hm-account-entry) .jfy-search-open span { display:none; }
    #hh-header:has(.hm-notices,.hm-account-entry) .jfy-search-open::after { content:"Buscar"; font-size:14px; font-weight:550; }
}

/* The directory is shared by the guest entry and the signed-in account endpoint. */
.woocommerce .hm-profile-directory {
    display:block; width:100%; max-width:1000px; box-sizing:border-box; margin:0 auto 24px;
    background:#fffefa; color:#20362d; border:1px solid #cedbd0; border-radius:20px; overflow:hidden;
}
.hm-profile-directory * { box-sizing:border-box; }
.hm-profile-head {
    display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:14px;
    padding:clamp(18px,4vw,32px); color:#263b2c; background:linear-gradient(110deg,#e2efdf,#f7f8ef);
}
.hm-profile-directory .hm-profile-head h1 { margin:0; color:#223728; font:550 clamp(26px,4vw,42px)/1.08 Georgia,serif; letter-spacing:-.04em; text-transform:none; }
.hm-profile-head p { margin:4px 0 0; color:#465948; font-size:16px; font-weight:600; overflow-wrap:anywhere; }
.hm-profile-head .hhcu-portrait { width:52px; height:52px; background:#fafff5; color:#2b503a; border:1px solid #a0b6a1; }
.woocommerce .hm-profile-directory .hm-profile-head a {
    display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:8px 14px; border-radius:24px;
    background:#263d31; color:#fff; font-size:14px; font-weight:650; text-decoration:none;
}
.hm-profile-access { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.woocommerce .hm-profile-directory .hm-profile-access a+a { background:#f9fcf4; color:#263d31; border:1px solid #9db09e; }
.woocommerce .hm-profile-directory a.hm-profile-club {
    display:flex; justify-content:flex-start; align-items:center; gap:12px; margin:14px clamp(14px,3vw,30px);
    padding:14px 16px; border-radius:13px; background:#664363; color:#fff; text-decoration:none;
}
.woocommerce .hm-profile-directory .hm-profile-club[data-rank=semilla] { background:#8b4f22; }
.woocommerce .hm-profile-directory .hm-profile-club[data-rank=jade] { background:#0f674e; }
.woocommerce .hm-profile-directory .hm-profile-club[data-rank=perla] { background:#674581; }
.hm-profile-club .hs-icon { width:29px; height:29px; flex:none; color:#ffdda0; }
.hm-profile-directory .hm-profile-club :is(span,strong,small) { color:#fff; }
.hm-profile-club :is(strong,small) { display:block; }
.hm-profile-club strong { font-size:17px; }.hm-profile-club small { margin-top:2px; font-size:13px; }
.hm-profile-club>span:last-child { margin-left:auto; font-size:25px; }
.hm-profile-groups { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:20px 32px; padding:0 clamp(14px,3vw,30px) 16px; }
.hm-profile-groups section { min-width:0; }
.hm-profile-directory .hm-profile-groups h2 { margin:18px 0 5px; color:#203e31; font:500 clamp(1.35rem,2.4vw,1.6rem)/1.2 Georgia,serif; letter-spacing:-.02em; }
.woocommerce .hm-profile-directory .hm-profile-row {
    display:grid; grid-template-columns:32px minmax(0,1fr) 15px; align-items:center; gap:11px;
    min-height:49px; padding:9px 2px; border:0; border-bottom:1px solid #e9e4da;
    color:#242e28; background:transparent; text-decoration:none;
}
.hm-profile-directory .hm-profile-row strong { display:block; font-size:1rem; font-weight:650; line-height:1.28; }
.hm-profile-directory .hm-profile-row small { display:block; margin-top:2px; color:#4d5e53; font-size:.875rem; line-height:1.4; overflow-wrap:anywhere; }
.hm-profile-row .hm-row-symbol { width:32px; height:32px; display:grid; place-items:center; border-radius:9px; color:#2d5941; background:#eaf2e5; }
.hm-profile-row .hs-icon { width:20px; height:20px; }
.hm-row-chevron { color:#526858; font-size:22px; line-height:1; }
.hm-profile-directory a:focus-visible { outline:3px solid #245840; outline-offset:-3px; }
@media (hover:hover) { .woocommerce .hm-profile-directory .hm-profile-row:hover { background:#f0f6ed; } }
@media (max-width:700px) {
    .hm-profile-groups { grid-template-columns:1fr; gap:0; }
    .hm-profile-head { gap:10px; }
    .hm-profile-head .hhcu-portrait { width:46px; height:46px; }
    .hm-profile-head:has(.hm-profile-access) { grid-template-columns:auto 1fr; }
    .hm-profile-access { grid-column:1/-1; }
}

.woocommerce .hm-profile-directory .hm-profile-club[data-rank=cuarzo] {background:#623447}

.woocommerce .hm-profile-directory .hm-profile-club[data-rank=ambar] {background:#603912}

#hh-header .hm-account-entry { display:grid; place-items:center; width:44px; height:44px; flex:none; color:#173f32; border-radius:50%; }
#hh-header .hm-account-entry svg { width:24px; height:24px; }
#hh-header .hm-account-entry:hover { background:#fff3e8; }
#hh-header .hm-account-entry:focus-visible { outline:2px solid #8e3e2b; outline-offset:-2px; }
@media(max-width:1023px){ #hh-header .hm-account-entry { order:2; } }

@media(min-width:1024px) {
    #hh-header .hm-notices:not(.hhav-bell) { display:block; position:relative; }
    #hh-header .hm-notices:not(.hhav-bell)>summary { display:grid; place-items:center; width:44px; height:44px; cursor:pointer; list-style:none; }
    #hh-header .hm-notices:not(.hhav-bell)>div { position:absolute; z-index:4; top:100%; right:0; padding:14px; width:240px; background:white; border:1px solid #cedbcf; border-radius:14px; }
}

@media (max-width:700px) {
    body.jelly-fresh #hh-header:has(.hm-notices,.hm-account-entry) {
        background: linear-gradient(110deg,var(--hhcu-header-tint,#ffc6a4),#ffebd6);
    }
    body.hs-customer.jelly-fresh #hh-header:has(.hm-notices,.hm-account-entry) {
        border-bottom-color: var(--hs-line,#d5d3c5);
        background: linear-gradient(110deg,var(--hhcu-header-tint,#ffc6a4),var(--hs-light,#fff9ef));
    }
    #hh-header:has(.hm-notices,.hm-account-entry) .jfy-header-row {
        min-height: 48px;
        padding-block: 2px;
    }
    #hh-header:has(.hm-notices,.hm-account-entry) .jfy-logo::before {
        width: 34px;
        height: 34px;
        background-size: 28px 28px;
    }
    body.hs-customer #main-container {
        padding-block: 8px 22px;
    }
    body.hs-customer .woocommerce .woocommerce-MyAccount-content > .hhcu-section-back {
        min-height: 44px;
        margin: 0 0 3px;
        font-size: 13px;
    }
    body.hs-customer .woocommerce-MyAccount-content .hhcu-section-title,
    body.hs-customer .hhcu-overview-heading h1 {
        font-size: clamp(26px,7vw,31px) !important;
        line-height: 1.12;
        margin-block: 2px 10px;
    }
    body.hs-customer .woocommerce-MyAccount-content :is(.hs-pos,.hhcu-order-entry,.hhcu-feature,.hs-settings > section) {
        padding: 12px 13px;
        margin-block: 7px;
        border-radius: 13px;
    }
    body.hs-customer .woocommerce-MyAccount-content :is(.hs-pos,.hhcu-feature,.hs-settings) h2 {
        font-size: 20px;
        line-height: 1.22;
        margin: 0 0 6px;
    }
    body.hs-customer .woocommerce-MyAccount-content :is(.hs-pos,.hhcu-feature,.hs-settings,.hhcu-order-entry) p,
    body.hs-customer .woocommerce-MyAccount-content .woocommerce-info {
        font-size: 14px;
        line-height: 1.45;
    }
    body.hs-customer .hs-pos p:last-child { margin-bottom: 0; }
    body.hs-customer .woocommerce-MyAccount-content .hhcu-order-entry { padding-block: 0; }
    .hhcu-order-entry summary { min-height: 44px; padding-block: 11px; font-size: 14px; }
    body.hs-customer .woocommerce-MyAccount-content .woocommerce-info > .button { min-height: 44px; font-size: 13px; }
    #hhcu-seguimiento a { display: inline-flex; align-items: center; min-height: 44px; }
    .woocommerce .hm-profile-directory .hm-profile-head { padding: 15px; }
    .woocommerce .hm-profile-directory .hm-profile-head h1 { font-size: 24px; }
    .woocommerce .hm-profile-directory .hm-profile-groups h2 { font-size: 18px; margin-top: 12px; }
    .woocommerce .hm-profile-directory .hm-profile-row { min-height: 44px; padding-block: 7px; }
    .woocommerce .hm-profile-directory .hm-profile-row strong { font-size: 14px; }
    .woocommerce .hm-profile-directory .hm-profile-row small { font-size: 13px; }
}
