/* CB Header Optimized */

:root{
    --cb-head-bg: rgba(255,255,255,.90);
    --cb-head-bg-solid:#ffffff;
    --cb-head-text: var(--text,#111827);
    --cb-head-muted: var(--muted,#6b7280);
    --cb-head-border: var(--border,#e5e7eb);
    --cb-head-hover: var(--hover,#f3f4f6);
    --cb-head-accent: var(--accent,#2563eb);
    --cb-head-accent-dark: var(--accent-dark,#1d4ed8);
    --cb-head-radius: var(--radius,14px);
    --cb-head-shadow: 0 18px 40px rgba(17,24,39,.08);
    --cb-head-h: 92px;
    --cb-head-offset: 138px;
    --cb-head-maxw: none;
  }

  html.has-cb-modern-head{
    scroll-padding-top: calc(var(--cb-head-offset) + 12px);
  }

  html.has-cb-modern-head body{
    padding-top:var(--cb-head-offset) !important;
  }

  html.has-cb-modern-head body.admin-bar{
    padding-top:calc(var(--cb-head-offset) + 32px) !important;
  }

  .cb-head__spacer{
    display:none !important;
    width:100%;
    height:0 !important;
    pointer-events:none;
    flex:0 0 auto;
  }

  body.cb-head-drawer-open{
    overflow:hidden !important;
    touch-action:none;
  }

  #site-content{
    position:relative;
    z-index:auto;
    margin-top:0 !important;
  }

  body.has-cb-modern-head #site-content,
  body.has-cb-modern-head #site-content > *{
    box-sizing:border-box;
  }

  #cb-modern-head,
  #cb-modern-head *{
    box-sizing: border-box;
  }

  #cb-modern-head{
    position: fixed;
    top: 0;
    isolation:isolate;
    left: 0;
    right: 0;
    z-index: 2147482400;
    overflow:visible;
    background: var(--cb-head-bg);
    border-bottom: 1px solid rgba(229,231,235,.9);
    box-shadow: 0 4px 20px rgba(17,24,39,.04);
  }

  body.admin-bar #cb-modern-head{ top: 32px; }
  @media (max-width: 782px){
    body.admin-bar #cb-modern-head{ top: 46px; }
    html.has-cb-modern-head body.admin-bar{
      padding-top:calc(var(--cb-head-offset) + 46px) !important;
    }
  }

  #cb-modern-head .cb-head__inner{
    width:calc(100vw - 24px);
    max-width:none;
    margin:0 auto;
    padding:12px 0 10px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  #cb-modern-head .cb-head__row{
    display:grid;
    grid-template-columns:auto minmax(280px,1fr) auto;
    gap:14px;
    align-items:center;
  }

  @media (min-width: 1280px){
    #cb-modern-head .cb-head__inner{
      width:calc(100vw - 32px);
    }
  }

  #cb-modern-head .cb-head__brand{
    display:flex;
    align-items:center;
    min-width:0;
  }

  #cb-modern-head .cb-head__brand-link{
    display:inline-flex;
    align-items:center;
    text-decoration:none;
    color:var(--cb-head-text);
    font-weight:900;
    letter-spacing:-.02em;
    font-size:1.12rem;
  }

  #cb-modern-head .cb-head__brand-link img{
    display:block;
    max-height:46px;
    width:auto;
  }

  #cb-modern-head .cb-head__search{
    width:100%;
  }

  #cb-modern-head .cb-head__search--mobile{
    display:none;
    margin-top:12px;
  }

  #cb-modern-head .cb-head__search-form{
    display:flex;
    align-items:center;
    width:100%;
  }

  #cb-modern-head .cb-head__search-wrap{
    position:relative;
    width:100%;
  }

  #cb-modern-head .cb-head__search-icon{
    position:absolute;
    left:14px;
    top:50%;
    transform:translateY(-50%);
    width:18px;
    height:18px;
    color:var(--cb-head-muted);
    pointer-events:none;
  }

  #cb-modern-head .cb-head__search-field{
    width:100%;
    height:46px;
    border:1px solid var(--cb-head-border);
    border-radius:999px;
    background:#fff;
    color:var(--cb-head-text);
    padding:0 16px 0 42px;
    outline:none;
    font-size:16px !important;
    line-height:20px;
    box-shadow:0 1px 2px rgba(17,24,39,.03);
    -webkit-appearance:none;
    appearance:none;
    -webkit-text-size-adjust:100%;
    text-size-adjust:100%;
    touch-action:manipulation;
  }

  #cb-modern-head .cb-head__search-field:focus{
    border-color:var(--cb-head-accent);
    box-shadow:0 0 0 4px rgba(37,99,235,.10);
  }

  #cb-modern-head .cb-head__search-suggest{
    position:absolute;
    left:0;
    right:0;
    top:calc(100% + 8px);
    z-index:2147483500;
    background:#fff;
    border:1px solid var(--cb-head-border);
    border-radius:18px;
    box-shadow:0 18px 40px rgba(17,24,39,.12);
    overflow:hidden;
    display:none;
  }

  #cb-modern-head .cb-head__search-suggest.is-open{
    display:block;
  }

  #cb-modern-head .cb-head__search-suggest-scroll{
    max-height:min(70vh, 540px);
    overflow:auto;
    -webkit-overflow-scrolling:touch;
  }

  #cb-modern-head .cb-head__search-group + .cb-head__search-group{
    border-top:1px solid rgba(229,231,235,.8);
  }

  #cb-modern-head .cb-head__search-group-title{
    padding:10px 14px 6px;
    font-size:.74rem;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:var(--cb-head-muted);
  }

  #cb-modern-head .cb-head__search-cats{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    padding:0 12px 12px;
  }

  #cb-modern-head .cb-head__search-cat,
  #cb-modern-head .cb-head__search-more{
    display:inline-flex;
    align-items:center;
    gap:10px;
    min-height:42px;
    padding:8px 12px;
    border-radius:999px;
    border:1px solid var(--cb-head-border);
    background:#fff;
    color:var(--cb-head-text);
    text-decoration:none;
    font-weight:800;
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
  }

  #cb-modern-head .cb-head__search-cat:hover,
  #cb-modern-head .cb-head__search-more:hover,
  #cb-modern-head .cb-head__search-row:hover,
  #cb-modern-head .cb-head__search-row.is-active,
  #cb-modern-head .cb-head__search-cat.is-active{
    transform:translateY(-1px);
    border-color:#d1d5db;
    box-shadow:0 12px 26px rgba(17,24,39,.08);
    background:#fff;
  }

  #cb-modern-head .cb-head__search-thumb,
  #cb-modern-head .cb-head__search-cat-thumb{
    width:42px;
    height:42px;
    border-radius:999px;
    overflow:hidden;
    flex:0 0 42px;
    background:#f3f4f6;
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }

  #cb-modern-head .cb-head__search-thumb{
    border-radius:14px;
  }

  #cb-modern-head .cb-head__search-thumb img,
  #cb-modern-head .cb-head__search-cat-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
  }

  #cb-modern-head .cb-head__search-cat-name,
  #cb-modern-head .cb-head__search-fallback{
    font-weight:800;
    color:var(--cb-head-text);
  }

  #cb-modern-head .cb-head__search-fallback{
    font-size:.88rem;
    color:var(--cb-head-muted);
  }

  #cb-modern-head .cb-head__search-list{
    display:grid;
    gap:2px;
    padding:0 8px 8px;
  }

  #cb-modern-head .cb-head__search-row{
    display:flex;
    align-items:center;
    gap:12px;
    min-height:64px;
    padding:10px 12px;
    border-radius:16px;
    text-decoration:none;
    color:var(--cb-head-text);
    border:1px solid transparent;
  }

  #cb-modern-head .cb-head__search-main{
    min-width:0;
    display:grid;
    gap:4px;
  }

  #cb-modern-head .cb-head__search-title{
    min-width:0;
    font-size:.95rem;
    font-weight:800;
    line-height:1.2;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  #cb-modern-head .cb-head__search-meta{
    font-size:.82rem;
    color:var(--cb-head-muted);
  }

  #cb-modern-head .cb-head__search-foot{
    padding:10px 12px 12px;
    border-top:1px solid rgba(229,231,235,.8);
  }

  #cb-modern-head .cb-head__search-more{
    width:100%;
    justify-content:center;
    background:rgba(37,99,235,.06);
    border-color:rgba(37,99,235,.12);
    color:var(--cb-head-accent-dark);
  }

  #cb-modern-head .cb-head__search-empty,
  #cb-modern-head .cb-head__search-loading{
    padding:14px;
    font-size:.92rem;
    color:var(--cb-head-muted);
  }

  #cb-modern-head .cb-head__mobile-toggle,
  #cb-modern-head .cb-head__mobile-user-toggle,
  #cb-modern-head .cb-head__cart-link,
  #cb-modern-head .cb-head__user-summary,
  #cb-modern-head .cb-head__menu-chip{
    height:46px;
    border-radius:999px;
  }

  #cb-modern-head .cb-head__actions{
    display:flex;
    align-items:center;
    gap:10px;
  }

  #cb-modern-head .cb-head__cart-link,
  #cb-modern-head .cb-head__mobile-toggle,
  #cb-modern-head .cb-head__mobile-user-toggle,
  #cb-modern-head .cb-head__user-summary,
  #cb-modern-head .cb-head__menu-chip{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:0 14px;
    border:1px solid var(--cb-head-border);
    background:#fff;
    color:var(--cb-head-text);
    text-decoration:none;
    font-weight:700;
    box-shadow:0 1px 2px rgba(17,24,39,.03);
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
  }

  #cb-modern-head .cb-head__cart-link:hover,
  #cb-modern-head .cb-head__mobile-toggle:hover,
  #cb-modern-head .cb-head__mobile-user-toggle:hover,
  #cb-modern-head .cb-head__user-summary:hover,
  #cb-modern-head .cb-head__menu-chip:hover{
    transform:translateY(-1px);
    border-color:#d1d5db;
    box-shadow:0 12px 26px rgba(17,24,39,.08);
  }

  #cb-modern-head .cb-head__mobile-toggle{
    display:none;
    cursor:pointer;
    width:46px;
    min-width:46px;
    padding:0;
    flex:0 0 46px;
    aspect-ratio:1 / 1;
  }

  #cb-modern-head .cb-head__mobile-toggle svg{
    width:18px;
    height:18px;
    flex:0 0 18px;
  }

  #cb-modern-head .cb-head__cart-count{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:22px;
    height:22px;
    padding:0 6px;
    border-radius:999px;
    background:var(--danger,#dc2626);
    color:#fff;
    font-size:.72rem;
    font-weight:900;
    line-height:1;
  }


#cb-modern-head .cb-head__quickbar{
  margin-top:12px;
}

#cb-modern-head .cb-head__quickchips{
  display:flex;
  align-items:center;
  gap:8px;
  overflow-x:auto;
  overflow-y:hidden;
  padding:2px 1px 2px;
  scrollbar-width:none;
  -ms-overflow-style:none;
}

#cb-modern-head .cb-head__quickchips::-webkit-scrollbar{
  display:none;
}

#cb-modern-head .cb-head__quickchip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:40px;
  padding:0 12px 0 8px;
  border-radius:999px;
  text-decoration:none;
  color:var(--cb-head-text);
  background:#fff;
  border:1px solid var(--cb-head-border);
  box-shadow:0 1px 2px rgba(17,24,39,.03);
  white-space:nowrap;
  flex:0 0 auto;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

#cb-modern-head .cb-head__quickchip:hover{
  transform:translateY(-1px);
  border-color:#d1d5db;
  box-shadow:0 12px 26px rgba(17,24,39,.08);
}

#cb-modern-head .cb-head__quickchip.is-dark{
  background:#fff;
  border-color:var(--cb-head-border);
  color:var(--cb-head-text);
  box-shadow:0 1px 2px rgba(17,24,39,.03);
}

#cb-modern-head .cb-head__quickchip.is-dark:hover,
#cb-modern-head .cb-head__quickchip.is-dark:focus-visible{
  background:var(--cb-head-accent);
  border-color:var(--cb-head-accent);
  color:#fff;
  box-shadow:0 10px 24px rgba(37,99,235,.18);
}

#cb-modern-head .cb-head__quickchip.is-dark .cb-head__quickchip-thumb{
  background:#eff6ff;
}

#cb-modern-head .cb-head__quickchip.is-dark .cb-head__quickchip-fallback,
#cb-modern-head .cb-head__quickchip.is-dark .cb-head__quickchip-text{
  color:currentColor;
}

#cb-modern-head .cb-head__quickchip-thumb{
  width:28px;
  height:28px;
  border-radius:999px;
  overflow:hidden;
  flex:0 0 28px;
  background:#f3f4f6;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

#cb-modern-head .cb-head__quickchip-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

#cb-modern-head .cb-head__quickchip-fallback{
  font-size:.78rem;
  font-weight:900;
  color:var(--cb-head-muted);
}

#cb-modern-head .cb-head__quickchip-text{
  font-size:.88rem;
  font-weight:800;
  line-height:1;
}

#cb-modern-head .cb-head__navline{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
    margin-top:12px;
    padding-top:12px;
    border-top:1px solid rgba(229,231,235,.85);
  }

  #cb-modern-head .cb-head__nav{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
  }

  #cb-modern-head .cb-head__nav-link,
  #cb-modern-head .cb-head__cats-summary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:40px;
    padding:0 14px;
    border-radius:999px;
    color:var(--cb-head-text);
    text-decoration:none;
    font-weight:800;
    background:transparent;
    border:0;
    cursor:pointer;
  }

  #cb-modern-head .cb-head__nav-link:hover,
  #cb-modern-head .cb-head__cats-summary:hover{
    background:var(--cb-head-hover);
  }

  #cb-modern-head .cb-head__nav-link.is-current{
    background:rgba(37,99,235,.08);
    color:var(--cb-head-accent-dark);
  }

  #cb-modern-head .cb-head__nav{
    overflow-x:auto;
    overflow-y:hidden;
    flex-wrap:nowrap;
    scrollbar-width:none;
    -ms-overflow-style:none;
  }

  #cb-modern-head .cb-head__nav::-webkit-scrollbar{
    display:none;
  }

  #cb-modern-head .cb-head__nav-link,
  #cb-modern-head .cb-head__menu-chip{
    flex:0 0 auto;
    white-space:nowrap;
  }

  #cb-modern-head .cb-head__nav-link--quick{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:0 12px 0 8px;
    border:1px solid var(--cb-head-border);
    background:#fff;
    box-shadow:0 1px 2px rgba(17,24,39,.03);
  }

  #cb-modern-head .cb-head__nav-link--quick:hover{
    background:#fff;
    border-color:#d1d5db;
    box-shadow:0 12px 26px rgba(17,24,39,.08);
  }

  #cb-modern-head .cb-head__nav-link--quick.is-featured{
    position:relative;
    background:linear-gradient(180deg, rgba(37,99,235,.12), rgba(255,255,255,.96));
    border-color:rgba(37,99,235,.26);
    box-shadow:0 10px 24px rgba(37,99,235,.12);
  }

  #cb-modern-head .cb-head__nav-link--quick.is-featured::before{
    content:'';
    position:absolute;
    inset:0;
    border-radius:999px;
    padding:1px;
    background:linear-gradient(135deg, rgba(37,99,235,.55), rgba(96,165,250,.12));
    -webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite:xor;
            mask-composite:exclude;
    pointer-events:none;
  }

  #cb-modern-head .cb-head__nav-link--quick.is-featured:hover,
  #cb-modern-head .cb-head__nav-link--quick.is-featured:focus-visible{
    background:linear-gradient(180deg, rgba(37,99,235,.16), rgba(255,255,255,.98));
    border-color:rgba(37,99,235,.34);
    box-shadow:0 14px 30px rgba(37,99,235,.18);
  }

  #cb-modern-head .cb-head__nav-link--quick.is-featured .cb-head__nav-thumb{
    background:rgba(37,99,235,.14);
    box-shadow:inset 0 0 0 1px rgba(37,99,235,.10);
  }

  #cb-modern-head .cb-head__nav-link--quick.is-featured .cb-head__nav-quick-text{
    color:var(--cb-head-accent-dark);
  }

  #cb-modern-head .cb-head__nav-link--home-mobile{
    display:none;
  }

  #cb-modern-head .cb-head__nav-thumb--icon{
    color:var(--cb-head-accent-dark);
    background:rgba(37,99,235,.10);
  }

  #cb-modern-head .cb-head__nav-thumb--icon i{
    font-size:.88rem;
    line-height:1;
  }

  #cb-modern-head .cb-head__nav-link--quick.is-dark{
    background:#fff;
    border-color:var(--cb-head-border);
    color:var(--cb-head-text);
    box-shadow:0 1px 2px rgba(17,24,39,.03);
  }

  #cb-modern-head .cb-head__nav-link--quick.is-dark:hover,
  #cb-modern-head .cb-head__nav-link--quick.is-dark:focus-visible{
    background:var(--cb-head-accent);
    border-color:var(--cb-head-accent);
    color:#fff;
    box-shadow:0 10px 24px rgba(37,99,235,.18);
  }

  #cb-modern-head .cb-head__nav-link--quick.is-dark .cb-head__nav-thumb{
    background:#eff6ff;
  }

  #cb-modern-head .cb-head__nav-link--quick.is-dark .cb-head__nav-fallback,
  #cb-modern-head .cb-head__nav-link--quick.is-dark .cb-head__nav-quick-text{
    color:currentColor;
  }

  #cb-modern-head .cb-head__nav-thumb{
    width:28px;
    height:28px;
    border-radius:999px;
    overflow:hidden;
    flex:0 0 28px;
    background:#f3f4f6;
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }

  #cb-modern-head .cb-head__nav-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
  }

  #cb-modern-head .cb-head__nav-fallback{
    font-size:.78rem;
    font-weight:900;
    color:var(--cb-head-muted);
  }

  #cb-modern-head .cb-head__nav-quick-text{
    font-size:.88rem;
    font-weight:800;
    line-height:1;
  }

  #cb-modern-head .cb-head__caret{
    width:14px;
    height:14px;
    flex:0 0 14px;
    color:var(--cb-head-muted);
    transition:transform .18s ease;
  }

  #cb-modern-head details[open] > summary .cb-head__caret{
    transform:rotate(180deg);
  }

  #cb-modern-head summary{
    list-style:none;
  }

  #cb-modern-head summary::-webkit-details-marker{
    display:none;
  }

  #cb-modern-head .cb-head__cats,
  #cb-modern-head .cb-head__user{
    position:relative;
  }

  #cb-modern-head .cb-head__user-details{
    position:relative;
  }

  #cb-modern-head .cb-head__cats-menu,
  #cb-modern-head .cb-head__user-menu{
    position:absolute;
    top:calc(100% + 10px);
    border:1px solid var(--cb-head-border);
    background:#fff;
    box-shadow:var(--cb-head-shadow);
    border-radius:18px;
  }

  #cb-modern-head .cb-head__cats-menu{
    left:0;
    min-width:300px;
    max-width:min(92vw, 520px);
    padding:12px;
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:8px;
  }

  #cb-modern-head .cb-head__cats-menu a,
  #cb-modern-head .cb-head__user-menu a,
  #cb-modern-head .cb-head__user-menu button{
    display:flex;
    align-items:center;
    gap:10px;
    width:100%;
    min-height:42px;
    padding:0 12px;
    border-radius:12px;
    text-decoration:none;
    color:var(--cb-head-text);
    font-weight:700;
    background:transparent;
    border:0;
    text-align:left;
    cursor:pointer;
  }

  #cb-modern-head .cb-head__cats-menu a:hover,
  #cb-modern-head .cb-head__user-menu a:hover,
  #cb-modern-head .cb-head__user-menu button:hover{
    background:var(--cb-head-hover);
  }

  #cb-modern-head .cb-head__user-menu{
    right:0;
    min-width:260px;
    padding:10px;
    display:grid;
    gap:6px;
  }

  #cb-modern-head .cb-head__menu-icon,
  #cb-modern-head .cb-head__user-menu .dashicons,
  #cb-modern-head .cb-head__drawer-link .dashicons,
  #cb-modern-head .cb-head__drawer-summary .dashicons{
    font-size:18px;
    width:18px;
    height:18px;
    color:var(--cb-head-muted);
  }

  #cb-modern-head .cb-head__avatar{
    width:30px;
    height:30px;
    border-radius:999px;
    display:block;
    object-fit:cover;
    flex:0 0 30px;
  }

  #cb-modern-head .cb-head__user-name{
    max-width:120px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:.92rem;
  }

  #cb-modern-head .cb-head__mobile-user-toggle{
    display:none;
    align-items:center;
    justify-content:flex-start;
    gap:10px;
    min-width:0;
    max-width:180px;
    padding:0 12px 0 8px;
    cursor:pointer;
  }

  #cb-modern-head .cb-head__mobile-user-toggle .cb-head__avatar{
    width:32px;
    height:32px;
    flex:0 0 32px;
  }

  #cb-modern-head .cb-head__mobile-user-name{
    min-width:0;
    max-width:110px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:.92rem;
    font-weight:800;
  }

  .cb-head__screen{
    position:fixed;
    inset:0;
    background:rgba(17,24,39,.28);
    opacity:0;
    visibility:hidden;
    transition:opacity .22s ease, visibility .22s ease;
    z-index:2147483646;
  }

  .cb-head__screen.is-open{
    opacity:1;
    visibility:visible;
  }

  .cb-head__drawer[hidden]{
    display:none !important;
  }

  .cb-head__drawer{
    position:fixed;
    top:0;
    bottom:0;
    width:min(420px, 38vw);
    max-width:calc(100vw - 24px);
    background:#fff;
    box-shadow:0 24px 60px rgba(17,24,39,.18);
    z-index:2147483647;
    display:flex;
    flex-direction:column;
    transition:transform .28s ease, visibility .28s ease;
    overflow:hidden;
    visibility:hidden;
    pointer-events:none;
  }

  .cb-head__drawer--left{
    left:0;
    transform:translateX(-104%);
    border-right:1px solid var(--cb-head-border);
  }

  .cb-head__drawer--right{
    right:0;
    transform:translateX(104%);
    border-left:1px solid var(--cb-head-border);
  }

  #cb-head-drawer-mobile,
  #cb-head-drawer-user-mobile{
    display:none;
  }

  .cb-head__drawer.is-open{
    transform:translateX(0);
    visibility:visible;
    pointer-events:auto;
  }

  #cb-head-drawer-desktop.is-open,
  #cb-head-drawer-mobile.is-open,
  #cb-head-drawer-user-mobile.is-open{
    transform:translateX(0);
    visibility:visible;
    pointer-events:auto;
  }

  .cb-head__drawer-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:18px 18px 14px;
    border-bottom:1px solid var(--cb-head-border);
  }

  .cb-head__drawer-head--products{
    justify-content:space-between;
    padding:14px 14px 10px;
    border-bottom:1px solid var(--cb-head-border);
  }

  .cb-head__drawer-head--products .cb-head__drawer-brand{
    display:inline-flex;
    align-items:center;
    min-width:0;
    text-decoration:none;
    color:var(--cb-head-text);
    padding:4px 6px;
    border-radius:14px;
  }

  .cb-head__drawer-head--products .cb-head__drawer-brand:hover{
    background:var(--cb-head-hover);
  }

  .cb-head__drawer-head--products .cb-head__drawer-brand img{
    width:auto;
    height:34px;
    max-width:160px;
    border-radius:0;
    object-fit:contain;
  }

  .cb-head__drawer-brand{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
  }

  .cb-head__drawer-brand img{
    width:42px;
    height:42px;
    border-radius:12px;
    object-fit:cover;
  }

  .cb-head__drawer-title{
    font-weight:900;
    font-size:1rem;
    color:var(--cb-head-text);
    line-height:1.1;
  }

  .cb-head__drawer-sub{
    color:var(--cb-head-muted);
    font-size:.82rem;
    line-height:1.2;
    margin-top:3px;
  }

  .cb-head__drawer-close{
    width:42px;
    height:42px;
    border-radius:999px;
    border:1px solid var(--cb-head-border);
    background:#fff;
    color:var(--cb-head-text);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    flex:0 0 42px;
  }

  .cb-head__drawer-body{
    flex:1 1 auto;
    overflow:auto;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain;
    padding:14px 14px 18px;
  }

  .cb-head__drawer-group + .cb-head__drawer-group{
    margin-top:16px;
  }

  .cb-head__drawer-label{
    font-size:.78rem;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:var(--cb-head-muted);
    font-weight:900;
    margin:0 0 10px;
    padding:0 6px;
  }

  .cb-head__drawer-list,
  .cb-head__drawer-sublist{
    display:grid;
    gap:8px;
  }

  .cb-head__drawer-node{
    display:grid;
    gap:8px;
  }

  .cb-head__drawer-link,
  .cb-head__drawer-summary,
  .cb-head__drawer-static{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    min-height:48px;
    padding:0 14px;
    border-radius:16px;
    border:1px solid var(--cb-head-border);
    background:#fff;
    color:var(--cb-head-text);
    text-decoration:none;
    font-weight:800;
  }

  .cb-head__drawer-link:hover,
  .cb-head__drawer-summary:hover{
    background:var(--cb-head-hover);
  }

  .cb-head__drawer-left{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
    flex:1 1 auto;
  }

  .cb-head__drawer-text,
  #cb-modern-head .cb-head__user-menu-text{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  .cb-head__drawer-sublist{
    padding-left:14px;
  }

  .cb-head__drawer-sublist .cb-head__drawer-link,
  .cb-head__drawer-sublist .cb-head__drawer-summary{
    min-height:44px;
    border-radius:14px;
  }

  .cb-head__drawer-foot{
    border-top:1px solid var(--cb-head-border);
    padding:14px;
    display:grid;
    gap:10px;
    background:#fff;
  }

  .cb-head__drawer-userbox{
    display:flex;
    align-items:center;
    gap:12px;
    padding:12px 14px;
    border:1px solid var(--cb-head-border);
    border-radius:16px;
    background:#f9fafb;
  }

  .cb-head__drawer-userbox .cb-head__avatar{
    width:40px;
    height:40px;
    flex-basis:40px;
  }

  .cb-head__drawer-user-name{
    font-weight:800;
    color:var(--cb-head-text);
    line-height:1.1;
  }

  .cb-head__drawer-user-sub{
    color:var(--cb-head-muted);
    font-size:.82rem;
    margin-top:4px;
  }


  #cb-modern-head .cb-head__mega-menu{
    left:0;
    min-width:min(980px, calc(100vw - 28px));
    max-width:min(1240px, calc(100vw - 28px));
    padding:16px;
    display:grid;
    gap:14px;
  }

  #cb-modern-head .cb-head__mega-top{
    display:flex;
    align-items:center;
    justify-content:flex-start;
  }

  #cb-modern-head .cb-head__mega-all,
  .cb-head__drawer-all{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:0 16px;
    border-radius:999px;
    text-decoration:none;
    background:rgba(37,99,235,.08);
    color:var(--cb-head-accent-dark);
    font-weight:900;
    border:1px solid rgba(37,99,235,.14);
  }

  #cb-modern-head .cb-head__mega-all:hover,
  .cb-head__drawer-all:hover{
    background:rgba(37,99,235,.12);
  }

  #cb-modern-head .cb-head__mega-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:16px;
  }

  #cb-modern-head .cb-head__mega-group,
  .cb-head__drawer-cat-group{
    min-width:0;
  }

  #cb-modern-head .cb-head__mega-title,
  .cb-head__drawer-cat-title{
    margin:0 0 10px;
    font-size:.82rem;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:var(--cb-head-muted);
    font-weight:900;
  }

  #cb-modern-head .cb-head__mega-list,
  .cb-head__drawer-cards{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:10px;
  }

  #cb-modern-head .cb-head__cat-card,
  .cb-head__drawer-cat-card{
    display:flex;
    align-items:center;
    gap:12px;
    min-height:62px;
    min-width:0;
    padding:10px 12px;
    border-radius:16px;
    border:1px solid var(--cb-head-border);
    background:#fff;
    text-decoration:none;
    color:var(--cb-head-text);
    box-shadow:0 1px 2px rgba(17,24,39,.03);
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
  }

  #cb-modern-head .cb-head__cat-card:hover,
  .cb-head__drawer-cat-card:hover{
    transform:translateY(-1px);
    border-color:#d1d5db;
    box-shadow:0 12px 26px rgba(17,24,39,.08);
    background:#fff;
  }

  #cb-modern-head .cb-head__cat-thumb,
  .cb-head__drawer-cat-thumb{
    width:42px;
    height:42px;
    border-radius:999px;
    overflow:hidden;
    flex:0 0 42px;
    background:#f3f4f6;
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }

  #cb-modern-head .cb-head__cat-thumb img,
  .cb-head__drawer-cat-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
  }

  #cb-modern-head .cb-head__cat-fallback,
  .cb-head__drawer-cat-fallback{
    font-size:.9rem;
    font-weight:900;
    color:var(--cb-head-muted);
  }

  #cb-modern-head .cb-head__cat-name,
  .cb-head__drawer-cat-name{
    display:block;
    flex:1 1 auto;
    width:100%;
    min-width:0;
    font-size:.93rem;
    font-weight:800;
    line-height:1.2;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  .cb-head__drawer-group--products{
    display:grid;
    gap:16px;
  }

  .cb-head__drawer-products{
    display:grid;
    gap:18px;
  }

  .cb-head__drawer-foot--products{
    grid-template-columns:1fr;
  }

  .cb-head__drawer-foot--products .cb-head__drawer-all{
    width:100%;
  }

  .cb-head__drawer-body[data-cb-products-drawer-body]{
    min-height:240px;
  }

  .cb-head__drawer-lazy{
    display:grid;
    padding:4px 2px 2px;
    color:var(--cb-head-text);
  }

  .cb-head__drawer-lazy-skeleton{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:10px;
    margin-top:0;
  }

  .cb-head__drawer-lazy-card{
    min-width:0;
    min-height:62px;
    display:flex;
    align-items:center;
    gap:12px;
    padding:10px 12px;
    border-radius:16px;
    border:1px solid var(--cb-head-border);
    background:#fff;
    box-shadow:0 1px 2px rgba(17,24,39,.03);
  }

  .cb-head__drawer-lazy-thumb,
  .cb-head__drawer-lazy-line{
    position:relative;
    overflow:hidden;
    display:block;
    background:#eef2f7;
  }

  .cb-head__drawer-lazy-thumb::after,
  .cb-head__drawer-lazy-line::after{
    content:'';
    position:absolute;
    inset:0;
    transform:translateX(-100%);
    background:linear-gradient(90deg, transparent 0%, rgba(255,255,255,.75) 50%, transparent 100%);
    animation:cbHeadDrawerSkeleton 1.15s ease-in-out infinite;
  }

  .cb-head__drawer-lazy-thumb{
    width:42px;
    height:42px;
    border-radius:999px;
    flex:0 0 42px;
  }

  .cb-head__drawer-lazy-line{
    height:13px;
    border-radius:999px;
    flex:1 1 auto;
    min-width:0;
  }

  .cb-head__drawer-lazy-card:nth-child(3n) .cb-head__drawer-lazy-line{
    max-width:76%;
  }

  .cb-head__drawer-lazy-card:nth-child(4n) .cb-head__drawer-lazy-line{
    max-width:58%;
  }

  .cb-head__drawer-empty{
    min-height:96px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:16px;
    border-radius:16px;
    border:1px solid var(--cb-head-border);
    background:#f9fafb;
    color:var(--cb-head-muted);
    font-size:.9rem;
    line-height:1.4;
    font-weight:800;
    text-align:center;
  }

  @keyframes cbHeadDrawerSkeleton{
    100%{ transform:translateX(100%); }
  }


  @media (max-width: 1180px){
    #cb-modern-head .cb-head__mega-grid{
      grid-template-columns:1fr;
    }
  }


  @media (max-width: 980px){
    :root{
      --cb-head-offset: 156px;
    }

    #cb-modern-head .cb-head__inner{
      width:calc(100vw - 16px);
      max-width:none;
      padding:8px 0 6px;
    }

    #cb-modern-head .cb-head__row{
      grid-template-columns:minmax(0,1fr) auto;
      gap:10px;
    }

    #cb-modern-head .cb-head__search--desktop{
      display:none;
    }

    #cb-modern-head .cb-head__search--mobile,
    #cb-modern-head .cb-head__navline{
      display:block;
    }

    #cb-modern-head .cb-head__navline{
      margin-top:8px;
      padding-top:8px;
    }

    #cb-modern-head .cb-head__user--desktop{
      display:none;
    }

    #cb-modern-head .cb-head__mobile-user-toggle,
    #cb-modern-head .cb-head__mobile-toggle{
      display:inline-flex;
    }

    #cb-modern-head .cb-head__mobile-user-toggle{
      max-width:160px;
    }

    #cb-modern-head .cb-head__actions > *{
      flex:0 0 auto;
    }

    #cb-modern-head .cb-head__cart-text{
      display:none;
    }

    #cb-modern-head .cb-head__actions{
      gap:8px;
    }

    #cb-modern-head .cb-head__nav > .cb-head__menu-chip,
    #cb-modern-head .cb-head__nav > .cb-head__nav-link:not(.cb-head__nav-link--quick){
      display:none;
    }

    #cb-modern-head .cb-head__nav-link--home-mobile{
      display:inline-flex;
    }

    #cb-modern-head .cb-head__navline{
      justify-content:flex-start;
    }

    #cb-modern-head .cb-head__nav{
      gap:6px;
      width:100%;
    }

    #cb-modern-head .cb-head__nav-link--quick{
      min-height:32px;
      padding:0 10px 0 6px;
      gap:6px;
    }

    #cb-modern-head .cb-head__nav-link--quick.is-featured{
      box-shadow:0 8px 18px rgba(37,99,235,.16);
    }

    #cb-modern-head .cb-head__nav-thumb{
      width:22px;
      height:22px;
      flex-basis:22px;
    }

    #cb-modern-head .cb-head__nav-quick-text{
      font-size:.78rem;
    }

    #cb-head-drawer-desktop{
      display:none;
    }

    #cb-head-drawer-mobile,
    #cb-head-drawer-user-mobile{
      display:flex;
      top:0;
      bottom:0;
      left:0;
      right:auto;
      width:min(84vw, 420px);
      max-width:calc(100vw - 12px);
      transform:translateX(-104%);
      border-right:1px solid var(--cb-head-border);
      border-left:0;
      visibility:hidden;
      pointer-events:none;
    }

    #cb-head-drawer-mobile.is-open,
    #cb-head-drawer-user-mobile.is-open{
      transform:translateX(0);
      visibility:visible;
      pointer-events:auto;
    }

    .cb-head__drawer-cards,
    .cb-head__drawer-lazy-skeleton{
      grid-template-columns:1fr;
    }
  }

  @media (max-width: 640px){
    :root{
      --cb-head-offset: 150px;
    }

    #cb-modern-head .cb-head__nav-link--quick{
      min-height:30px;
      padding:0 9px 0 6px;
      gap:5px;
    }

    #cb-modern-head .cb-head__nav-thumb{
      width:20px;
      height:20px;
      flex-basis:20px;
    }

    #cb-modern-head .cb-head__nav-quick-text{
      font-size:.74rem;
    }

    #cb-modern-head .cb-head__search-cats{
      padding:0 10px 10px;
    }

    #cb-modern-head .cb-head__search-cat,
    #cb-modern-head .cb-head__search-more{
      width:100%;
      justify-content:flex-start;
      border-radius:16px;
    }

    #cb-modern-head .cb-head__search-row{
      min-height:58px;
      padding:10px;
    }

    #cb-modern-head .cb-head__search-thumb,
    #cb-modern-head .cb-head__search-cat-thumb{
      width:38px;
      height:38px;
      flex-basis:38px;
    }

    #cb-modern-head .cb-head__brand-link img{
      max-height:40px;
    }

    #cb-modern-head .cb-head__search--mobile{
      margin-top:8px;
    }

    #cb-modern-head .cb-head__cart-link,
    #cb-modern-head .cb-head__mobile-user-toggle,
    #cb-modern-head .cb-head__user-summary,
    #cb-modern-head .cb-head__menu-chip{
      padding:0 10px;
    }

    #cb-modern-head .cb-head__mobile-toggle{
      width:42px;
      min-width:42px;
      flex-basis:42px;
      padding:0;
    }

    #cb-head-drawer-mobile,
    #cb-head-drawer-user-mobile{
      width:84vw;
      max-width:calc(100vw - 12px);
    }

    .cb-head__drawer-head--products{
      padding:14px 12px 10px;
    }

    .cb-head__drawer-body{
      padding:12px 12px 16px;
    }

    .cb-head__drawer-cards{
      gap:8px;
    }

    .cb-head__drawer-cat-card{
      gap:10px;
      min-height:58px;
      padding:9px 10px;
    }

    .cb-head__drawer-cat-name{
      font-size:.89rem;
    }
  }

/* ======================================================================
   CB Header · Ubicación + menú app móvil
   ====================================================================== */
#cb-modern-head .cb-head__location-btn{
  height:46px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-width:0;
  max-width:190px;
  padding:0 14px;
  border:1px solid var(--cb-head-border);
  background:#fff;
  color:var(--cb-head-text);
  text-decoration:none;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 1px 2px rgba(17,24,39,.03);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

#cb-modern-head .cb-head__location-btn:hover,
#cb-modern-head .cb-head__location-btn:focus-visible{
  transform:translateY(-1px);
  border-color:#d1d5db;
  box-shadow:0 12px 26px rgba(17,24,39,.08);
  background:#fff;
}

#cb-modern-head .cb-head__location-btn i,
#cb-modern-head .cb-head__location-chip i{
  color:var(--cb-head-accent-dark);
  font-size:.95rem;
  line-height:1;
}

#cb-modern-head .cb-head__location-label{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

#cb-modern-head .cb-head__location-label--desktop{
  max-width:130px;
}

#cb-modern-head .cb-head__location-chip{
  display:none !important;
  border:1px solid rgba(37,99,235,.18);
  background:rgba(37,99,235,.07);
  color:var(--cb-head-accent-dark);
  cursor:pointer;
}

#cb-modern-head .cb-head__location-chip:hover,
#cb-modern-head .cb-head__location-chip:focus-visible,
#cb-modern-head .cb-head__location-chip.is-selected{
  background:rgba(37,99,235,.11);
  border-color:rgba(37,99,235,.28);
  color:var(--cb-head-accent-dark);
}

#cb-modern-head .cb-head__location-chip .cb-head__nav-thumb{
  background:rgba(37,99,235,.10);
}

.cb-head-location-modal[hidden]{
  display:none !important;
}

.cb-head-location-modal.cb-modal{
  position:fixed;
  inset:0;
  z-index:2147483647;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100vw;
  height:100vh;
  padding:18px;
  overscroll-behavior:contain;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .20s ease, visibility .20s ease;
}

.cb-head-location-modal.cb-modal.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

@supports (height: 100dvh){
  .cb-head-location-modal.cb-modal{
    width:100dvw;
    height:100dvh;
  }
}

.cb-head-location-modal .cb-modal__backdrop{
  position:absolute;
  inset:0;
  border:0;
  background:rgba(15,23,42,.45);
  -webkit-backdrop-filter:blur(2px);
  backdrop-filter:blur(2px);
  opacity:0;
  cursor:pointer;
  transition:opacity .20s ease;
}

.cb-head-location-modal.is-open .cb-modal__backdrop{
  opacity:1;
}

.cb-head-location-modal .cb-modal__dialog{
  position:relative;
  z-index:1;
  width:min(640px, 94vw);
  max-height:calc(100vh - 36px);
  display:flex;
  flex-direction:column;
  min-height:0;
  opacity:0;
  transform:translateY(8px) scale(.985);
  transition:opacity .20s ease, transform .20s ease;
}

.cb-head-location-modal.is-open .cb-modal__dialog{
  opacity:1;
  transform:translateY(0) scale(1);
}

@supports (height: 100dvh){
  .cb-head-location-modal .cb-modal__dialog{
    max-height:calc(100dvh - 36px);
  }
}

.cb-head-location-modal .cb-modal__content.cb-card,
.cb-head-location-modal .cb-head__location-content{
  margin:0;
  border-radius:18px;
  border:1px solid var(--cb-head-border);
  background:#fff;
  box-shadow:0 24px 70px rgba(2,6,23,.30);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-height:0;
  max-height:100%;
  padding:0;
}

.cb-head-location-modal .cb-modal__body{
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
  padding:18px;
}

.cb-head__location-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding:18px 18px 14px;
  border-bottom:1px solid var(--cb-head-border);
}

.cb-head__location-titlewrap{
  min-width:0;
  display:grid;
  gap:5px;
}

.cb-head__location-title{
  margin:0;
  color:var(--cb-head-text);
  font-size:1.1rem;
  line-height:1.15;
  font-weight:900;
  letter-spacing:-.01em;
}

.cb-head__location-subtitle{
  margin:0;
  color:var(--cb-head-muted);
  font-size:.9rem;
  line-height:1.35;
}

.cb-head__location-close{
  width:42px;
  height:42px;
  flex:0 0 42px;
  border-radius:999px;
  border:1px solid var(--cb-head-border);
  background:#fff;
  color:var(--cb-head-text);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}

.cb-head__location-close:hover{
  background:var(--cb-head-hover);
}

.cb-head__dept-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px;
}

.cb-head__dept-option{
  min-height:48px;
  padding:0 14px;
  border-radius:15px;
  border:1px solid var(--cb-head-border);
  background:#fff;
  color:var(--cb-head-text);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  font-weight:850;
  cursor:pointer;
  text-align:left;
  box-shadow:0 1px 2px rgba(17,24,39,.03);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.cb-head__dept-option:hover,
.cb-head__dept-option:focus-visible{
  transform:translateY(-1px);
  border-color:#d1d5db;
  box-shadow:0 12px 26px rgba(17,24,39,.08);
}

.cb-head__dept-option[aria-pressed="true"],
.cb-head__dept-option.is-selected{
  border-color:rgba(37,99,235,.36);
  background:rgba(37,99,235,.08);
  color:var(--cb-head-accent-dark);
}

.cb-head__dept-option i{
  color:var(--cb-head-accent-dark);
  opacity:0;
  font-size:.9rem;
}

.cb-head__dept-option[aria-pressed="true"] i,
.cb-head__dept-option.is-selected i{
  opacity:1;
}

.cb-head__location-foot{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  padding:14px 18px 18px;
  border-top:1px solid var(--cb-head-border);
}

.cb-head__location-reset{
  min-height:42px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid var(--cb-head-border);
  background:#fff;
  color:var(--cb-head-text);
  font-weight:800;
  cursor:pointer;
}

.cb-head__location-reset:hover{
  background:var(--cb-head-hover);
}

html.cb-modal-open,
body.cb-modal-open,
html.cb-head-location-lock,
body.cb-head-location-lock{
  overflow:hidden;
}


@media (min-width: 720px){
  .cb-head__dept-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px){
  :root{
    --cb-head-offset:112px;
  }

  html.has-cb-modern-head{
    scroll-padding-top:calc(var(--cb-head-offset) + 10px);
  }
  #cb-modern-head .cb-head__inner{
    padding:7px 0 7px;
  }

  #cb-modern-head .cb-head__row{
    grid-template-columns:auto minmax(0, 1fr);
    gap:10px;
    align-items:center;
  }

  #cb-modern-head .cb-head__brand{
    min-width:0;
  }

  #cb-modern-head .cb-head__brand-link img{
    max-height:38px;
    max-width:112px;
    object-fit:contain;
  }

  #cb-modern-head .cb-head__search--desktop{
    display:none !important;
  }

  #cb-modern-head .cb-head__search--mobile,
  #cb-modern-head .cb-head__search--mobile-inline{
    display:block !important;
    margin-top:0 !important;
    min-width:0;
  }

  #cb-modern-head .cb-head__search-field{
    height:42px;
    padding-left:40px;
    padding-right:14px;
    font-size:16px !important;
  }

  #cb-modern-head .cb-head__search-icon{
    left:13px;
    width:17px;
    height:17px;
  }

  #cb-modern-head .cb-head__search--mobile .cb-head__search-suggest,
  #cb-modern-head .cb-head__search--mobile-inline .cb-head__search-suggest{
    position:fixed;
    left:8px !important;
    right:8px !important;
    top:var(--cb-head-suggest-top, calc(var(--cb-head-h) + 8px));
    width:var(--cb-head-suggest-width, calc(100vw - 16px));
    max-width:calc(100vw - 16px);
    border-radius:18px;
    z-index:2147483600;
  }

  #cb-modern-head .cb-head__search--mobile .cb-head__search-suggest-scroll,
  #cb-modern-head .cb-head__search--mobile-inline .cb-head__search-suggest-scroll{
    max-height:min(62vh, 520px);
  }

  #cb-modern-head .cb-head__actions{
    display:none !important;
  }

  #cb-modern-head .cb-head__navline{
    display:block;
    margin-top:7px;
    padding-top:7px;
  }

  #cb-modern-head .cb-head__nav-link--home-mobile{
    display:none !important;
  }

  #cb-modern-head .cb-head__nav-link--quick.cb-head__location-chip{
    display:inline-flex !important;
  }

  #cb-modern-head .cb-head__nav-thumb--icon i{
    font-size:.82rem;
  }


}


@media (max-width: 640px){
  :root{
    --cb-head-offset:106px;
  }

  #cb-modern-head .cb-head__inner{
    width:calc(100vw - 14px);
    padding:6px 0 6px;
  }

  #cb-modern-head .cb-head__row{
    gap:8px;
  }

  #cb-modern-head .cb-head__brand-link img{
    max-height:34px;
    max-width:94px;
  }

  #cb-modern-head .cb-head__search-field{
    height:40px;
    font-size:16px !important;
  }

  #cb-modern-head .cb-head__navline{
    margin-top:6px;
    padding-top:6px;
  }

  #cb-modern-head .cb-head__nav-link--quick{
    min-height:31px;
    padding:0 10px 0 6px;
    gap:6px;
  }

  #cb-modern-head .cb-head__nav-thumb{
    width:21px;
    height:21px;
    flex-basis:21px;
  }

  #cb-modern-head .cb-head__nav-quick-text{
    font-size:.75rem;
  }


}

/* CB Header · corrección final: buscador móvil sin zoom y panel de sugerencias ancho completo */
@media (max-width: 980px){
  #cb-modern-head .cb-head__search-field{
    font-size:16px !important;
  }

  #cb-modern-head .cb-head__search--mobile .cb-head__search-suggest,
  #cb-modern-head .cb-head__search--mobile-inline .cb-head__search-suggest{
    position:fixed !important;
    left:var(--cb-head-suggest-left, 8px) !important;
    right:auto !important;
    top:var(--cb-head-suggest-top, calc(var(--cb-head-h) + 8px)) !important;
    width:var(--cb-head-suggest-width, calc(100vw - 16px)) !important;
    max-width:calc(100vw - 16px) !important;
    border-radius:18px;
    z-index:2147483600;
  }

  #cb-modern-head .cb-head__search--mobile .cb-head__search-suggest-scroll,
  #cb-modern-head .cb-head__search--mobile-inline .cb-head__search-suggest-scroll{
    max-height:var(--cb-head-suggest-max-height, min(62vh, 520px)) !important;
  }
}

@media (max-width: 640px){
  #cb-modern-head .cb-head__search-field{
    font-size:16px !important;
  }

  #cb-modern-head .cb-head__search--mobile .cb-head__search-suggest,
  #cb-modern-head .cb-head__search--mobile-inline .cb-head__search-suggest{
    left:var(--cb-head-suggest-left, 7px) !important;
    width:var(--cb-head-suggest-width, calc(100vw - 14px)) !important;
    max-width:calc(100vw - 14px) !important;
  }
}


/* CB Header · ajustes finales: buscador, filete negro y ubicación */
#cb-modern-head .cb-head__search-field{
  border:1.5px solid #111827 !important;
  box-shadow:0 1px 2px rgba(17,24,39,.04) !important;
}

#cb-modern-head .cb-head__search-field:focus{
  border-color:#111827 !important;
  box-shadow:0 0 0 3px rgba(17,24,39,.12), 0 1px 2px rgba(17,24,39,.04) !important;
}

#cb-modern-head .cb-head__location-btn:not(.is-selected) i,
#cb-modern-head .cb-head__location-chip:not(.is-selected) i{
  color:var(--danger,#dc2626) !important;
}

#cb-modern-head .cb-head__location-btn.is-selected i,
#cb-modern-head .cb-head__location-chip.is-selected i{
  color:var(--ok,#16a34a) !important;
}

#cb-modern-head .cb-head__location-btn.is-selected{
  border-color:rgba(22,163,74,.32);
  background:rgba(22,163,74,.06);
}

#cb-modern-head .cb-head__location-chip:not(.is-selected){
  border-color:rgba(220,38,38,.22);
  background:rgba(220,38,38,.06);
  color:var(--cb-head-text);
}

#cb-modern-head .cb-head__location-chip:not(.is-selected) .cb-head__nav-thumb{
  background:rgba(220,38,38,.10);
}

#cb-modern-head .cb-head__location-chip.is-selected{
  border-color:rgba(22,163,74,.32);
  background:rgba(22,163,74,.07);
  color:var(--ok-dark,#15803d);
}

#cb-modern-head .cb-head__location-chip.is-selected .cb-head__nav-thumb{
  background:rgba(22,163,74,.12);
}
/* ======================================================================
   CB Header · ubicación móvil como el drawer de filtros
   - PC conserva modal centrado.
   - Móvil usa overlay + panel inferior con la misma entrada que Filtros.
   ====================================================================== */
@media (max-width: 980px){
  .cb-head-location-drawer.cb-modal[hidden],
  .cb-head-location-modal.cb-modal[hidden]{
    display:none !important;
  }

  .cb-head-location-drawer.cb-modal,
  .cb-head-location-modal.cb-modal{
    display:block !important;
    position:fixed !important;
    inset:0 !important;
    z-index:2147483647 !important;
    width:auto !important;
    height:auto !important;
    min-width:0 !important;
    min-height:0 !important;
    max-width:none !important;
    max-height:none !important;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
    background:transparent !important;
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:none !important;
    transform:none !important;
    transition:none !important;
    align-items:initial !important;
    justify-content:initial !important;
    overscroll-behavior:contain !important;
    box-sizing:border-box !important;
  }

  .cb-head-location-drawer.cb-modal.is-open,
  .cb-head-location-modal.cb-modal.is-open{
    pointer-events:auto !important;
  }

  .cb-head-location-drawer .cb-head-location-drawer__backdrop,
  .cb-head-location-modal .cb-modal__backdrop{
    position:absolute !important;
    inset:0 !important;
    width:auto !important;
    height:auto !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:rgba(15,23,42,.42) !important;
    -webkit-backdrop-filter:none !important;
    backdrop-filter:none !important;
    opacity:0 !important;
    visibility:visible !important;
    cursor:pointer !important;
    transition:opacity .18s ease !important;
    transform:none !important;
    box-shadow:none !important;
  }

  .cb-head-location-drawer.is-open .cb-head-location-drawer__backdrop,
  .cb-head-location-modal.is-open .cb-modal__backdrop{
    opacity:1 !important;
  }

  .cb-head-location-drawer .cb-head-location-drawer__panel,
  .cb-head-location-modal .cb-modal__dialog{
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    top:auto !important;
    z-index:1 !important;
    display:block !important;
    width:100% !important;
    max-width:none !important;
    height:auto !important;
    max-height:min(56vh, 480px) !important;
    min-height:0 !important;
    margin:0 !important;
    padding:14px !important;
    border:0 !important;
    border-radius:26px 26px 0 0 !important;
    background:#fff !important;
    box-shadow:0 -24px 70px rgba(15,23,42,.24) !important;
    opacity:1 !important;
    visibility:visible !important;
    overflow:auto !important;
    overscroll-behavior:contain !important;
    -webkit-overflow-scrolling:touch !important;
    transform:translateY(105%) !important;
    transition:transform .22s ease !important;
    will-change:transform !important;
    box-sizing:border-box !important;
  }

  .cb-head-location-drawer.is-open .cb-head-location-drawer__panel,
  .cb-head-location-modal.is-open .cb-modal__dialog{
    transform:translateY(0) !important;
  }

  .cb-head-location-drawer .cb-modal__content.cb-card,
  .cb-head-location-drawer .cb-head__location-content,
  .cb-head-location-modal .cb-modal__content.cb-card,
  .cb-head-location-modal .cb-head__location-content{
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    display:block !important;
    overflow:visible !important;
    transform:none !important;
    opacity:1 !important;
    visibility:visible !important;
    box-sizing:border-box !important;
  }

  .cb-head-location-drawer .cb-head__location-content::before,
  .cb-head-location-modal .cb-head__location-content::before{
    display:none !important;
    content:none !important;
  }

  .cb-head-location-drawer .cb-head__location-head,
  .cb-head-location-modal .cb-head__location-head{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:14px !important;
    margin:0 !important;
    padding:2px 2px 12px !important;
    border:0 !important;
    background:transparent !important;
  }

  .cb-head-location-drawer .cb-head__location-titlewrap,
  .cb-head-location-modal .cb-head__location-titlewrap{
    min-width:0 !important;
    display:grid !important;
    gap:4px !important;
  }

  .cb-head-location-drawer .cb-head__location-title,
  .cb-head-location-modal .cb-head__location-title{
    display:block !important;
    margin:0 !important;
    color:var(--cb-head-text) !important;
    font-size:18px !important;
    line-height:1.12 !important;
    font-weight:950 !important;
    letter-spacing:0 !important;
  }

  .cb-head-location-drawer .cb-head__location-subtitle,
  .cb-head-location-modal .cb-head__location-subtitle{
    display:block !important;
    margin:0 !important;
    color:var(--cb-head-muted) !important;
    font-size:12px !important;
    line-height:1.35 !important;
    font-weight:700 !important;
  }

  .cb-head-location-drawer .cb-head__location-close,
  .cb-head-location-modal .cb-head__location-close{
    width:40px !important;
    height:40px !important;
    flex:0 0 40px !important;
    border-radius:999px !important;
    border:1px solid var(--cb-head-border) !important;
    background:#fff !important;
    color:#0f172a !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    cursor:pointer !important;
    box-shadow:none !important;
  }

  .cb-head-location-drawer .cb-modal__body,
  .cb-head-location-modal .cb-modal__body{
    min-height:0 !important;
    max-height:none !important;
    margin:0 !important;
    padding:0 0 10px !important;
    overflow:visible !important;
    -webkit-overflow-scrolling:touch !important;
    overscroll-behavior:contain !important;
  }

  .cb-head-location-drawer .cb-head__dept-grid,
  .cb-head-location-modal .cb-head__dept-grid{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:8px !important;
  }

  .cb-head-location-drawer .cb-head__dept-option,
  .cb-head-location-modal .cb-head__dept-option{
    min-height:50px !important;
    padding:0 14px !important;
    border-radius:17px !important;
    border:1px solid rgba(226,232,240,.96) !important;
    background:rgba(255,255,255,.94) !important;
    color:#334155 !important;
    box-shadow:0 4px 14px rgba(15,23,42,.03) !important;
    font-size:13px !important;
    line-height:1.1 !important;
    font-weight:800 !important;
    transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease !important;
  }

  .cb-head-location-drawer .cb-head__dept-option:hover,
  .cb-head-location-drawer .cb-head__dept-option:focus-visible,
  .cb-head-location-modal .cb-head__dept-option:hover,
  .cb-head-location-modal .cb-head__dept-option:focus-visible{
    transform:translateY(-1px) !important;
    border-color:#bfdbfe !important;
    background:#eff6ff !important;
    box-shadow:0 10px 22px rgba(15,23,42,.07) !important;
  }

  .cb-head-location-drawer .cb-head__dept-option[aria-pressed="true"],
  .cb-head-location-drawer .cb-head__dept-option.is-selected,
  .cb-head-location-modal .cb-head__dept-option[aria-pressed="true"],
  .cb-head-location-modal .cb-head__dept-option.is-selected{
    border-color:#93c5fd !important;
    background:linear-gradient(135deg,#eff6ff 0%,#fff 100%) !important;
    color:var(--cb-head-accent-dark) !important;
    box-shadow:0 0 0 3px rgba(37,99,235,.10),0 10px 24px rgba(15,23,42,.06) !important;
  }

  .cb-head-location-drawer .cb-head__location-foot,
  .cb-head-location-modal .cb-head__location-foot{
    margin:0 !important;
    padding:2px 0 0 !important;
    border:0 !important;
    background:transparent !important;
  }

  .cb-head-location-drawer .cb-head__location-reset,
  .cb-head-location-modal .cb-head__location-reset{
    width:100% !important;
    min-height:44px !important;
    border-radius:16px !important;
  }

  html.cb-modal-open,
  html.cb-modal-open body,
  body.cb-modal-open,
  html.cb-head-location-lock,
  html.cb-head-location-lock body,
  body.cb-head-location-lock{
    overflow:hidden !important;
    overscroll-behavior:none !important;
  }
}

@media (max-width: 640px){
  .cb-head-location-drawer .cb-head-location-drawer__panel,
  .cb-head-location-modal .cb-modal__dialog{
    max-height:min(56vh, 480px) !important;
  }
}

/* ======================================================================
   CB Header · FIX FINAL selector de departamento
   - Desktop: modal centrado propio, sin depender de .cb-modal genérico.
   - Mobile: drawer idéntico al de filtros: overlay fijo + backdrop + panel bottom.
   ====================================================================== */
.cb-head-location-modal,
.cb-head-location-modal *{
  box-sizing:border-box !important;
}

.cb-head-location-modal[hidden]{
  display:none !important;
}

.cb-head-location-modal{
  position:fixed !important;
  inset:0 !important;
  z-index:2147483647 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100vw !important;
  height:100vh !important;
  padding:18px !important;
  margin:0 !important;
  overflow:hidden !important;
  background:transparent !important;
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
  transition:opacity .20s ease, visibility .20s ease !important;
  overscroll-behavior:contain !important;
}

@supports (height:100dvh){
  .cb-head-location-modal{
    width:100dvw !important;
    height:100dvh !important;
  }
}

.cb-head-location-modal.is-open{
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
}

.cb-head-location-modal .cb-modal__backdrop,
.cb-head-location-modal .cb-head-location-drawer__backdrop{
  position:absolute !important;
  inset:0 !important;
  width:auto !important;
  height:auto !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:rgba(15,23,42,.45) !important;
  -webkit-backdrop-filter:blur(2px) !important;
  backdrop-filter:blur(2px) !important;
  opacity:0 !important;
  visibility:visible !important;
  cursor:pointer !important;
  transition:opacity .20s ease !important;
}

.cb-head-location-modal.is-open .cb-modal__backdrop,
.cb-head-location-modal.is-open .cb-head-location-drawer__backdrop{
  opacity:1 !important;
}

.cb-head-location-modal .cb-modal__dialog,
.cb-head-location-modal .cb-head-location-drawer__panel{
  position:relative !important;
  z-index:1 !important;
  top:auto !important;
  left:auto !important;
  right:auto !important;
  bottom:auto !important;
  width:min(640px, 94vw) !important;
  max-width:min(640px, 94vw) !important;
  max-height:calc(100vh - 36px) !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  display:flex !important;
  flex-direction:column !important;
  overflow:hidden !important;
  opacity:0 !important;
  visibility:visible !important;
  transform:translateY(8px) scale(.985) !important;
  transition:opacity .20s ease, transform .20s ease !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

.cb-head-location-modal.is-open .cb-modal__dialog,
.cb-head-location-modal.is-open .cb-head-location-drawer__panel{
  opacity:1 !important;
  transform:translateY(0) scale(1) !important;
}

@supports (height:100dvh){
  .cb-head-location-modal .cb-modal__dialog,
  .cb-head-location-modal .cb-head-location-drawer__panel{
    max-height:calc(100dvh - 36px) !important;
  }
}

.cb-head-location-modal .cb-modal__content.cb-card,
.cb-head-location-modal .cb-head__location-content,
.cb-head-location-modal .cb-head-location-drawer__content{
  width:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  margin:0 !important;
  padding:0 !important;
  border:1px solid var(--cb-head-border) !important;
  border-radius:18px !important;
  background:#fff !important;
  box-shadow:0 24px 70px rgba(2,6,23,.30) !important;
  overflow:hidden !important;
  display:flex !important;
  flex-direction:column !important;
}

.cb-head-location-modal .cb-modal__body{
  flex:1 1 auto !important;
  min-height:0 !important;
  max-height:none !important;
  overflow:auto !important;
  -webkit-overflow-scrolling:touch !important;
  overscroll-behavior:contain !important;
  padding:18px !important;
}

.cb-head-location-modal .cb-head__location-head{
  flex:0 0 auto !important;
  display:flex !important;
  align-items:flex-start !important;
  justify-content:space-between !important;
  gap:14px !important;
  padding:18px 18px 14px !important;
  border-bottom:1px solid var(--cb-head-border) !important;
  background:#fff !important;
}

.cb-head-location-modal .cb-head__location-titlewrap{
  min-width:0 !important;
  display:grid !important;
  gap:5px !important;
}

.cb-head-location-modal .cb-head__location-title{
  margin:0 !important;
  color:var(--cb-head-text) !important;
  font-size:1.1rem !important;
  line-height:1.15 !important;
  font-weight:900 !important;
  letter-spacing:-.01em !important;
}

.cb-head-location-modal .cb-head__location-subtitle{
  margin:0 !important;
  color:var(--cb-head-muted) !important;
  font-size:.9rem !important;
  line-height:1.35 !important;
}

.cb-head-location-modal .cb-head__location-close{
  width:42px !important;
  height:42px !important;
  flex:0 0 42px !important;
  border-radius:999px !important;
  border:1px solid var(--cb-head-border) !important;
  background:#fff !important;
  color:var(--cb-head-text) !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  cursor:pointer !important;
}

.cb-head-location-modal .cb-head__location-close:hover{
  background:var(--cb-head-hover) !important;
}

.cb-head-location-modal .cb-head__location-foot{
  flex:0 0 auto !important;
  display:flex !important;
  justify-content:flex-end !important;
  gap:10px !important;
  padding:14px 18px 18px !important;
  border-top:1px solid var(--cb-head-border) !important;
  background:#fff !important;
}

.cb-head-location-modal .cb-head__dept-grid{
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  gap:10px !important;
}

html.cb-head-location-lock,
html.cb-head-location-lock body,
body.cb-head-location-lock{
  overflow:hidden !important;
  overscroll-behavior:none !important;
}

@media (max-width:980px){
  .cb-head-location-modal[hidden]{
    display:none !important;
  }

  .cb-head-location-modal{
    display:block !important;
    position:fixed !important;
    inset:0 !important;
    width:auto !important;
    height:auto !important;
    min-width:0 !important;
    min-height:0 !important;
    max-width:none !important;
    max-height:none !important;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
    background:transparent !important;
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:none !important;
    transition:none !important;
    transform:none !important;
    align-items:initial !important;
    justify-content:initial !important;
    overscroll-behavior:contain !important;
    z-index:2147483647 !important;
  }

  .cb-head-location-modal.is-open{
    pointer-events:auto !important;
  }

  .cb-head-location-modal .cb-modal__backdrop,
  .cb-head-location-modal .cb-head-location-drawer__backdrop{
    position:absolute !important;
    inset:0 !important;
    width:auto !important;
    height:auto !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    background:rgba(15,23,42,.42) !important;
    -webkit-backdrop-filter:none !important;
    backdrop-filter:none !important;
    opacity:0 !important;
    visibility:visible !important;
    cursor:pointer !important;
    transition:opacity .18s ease !important;
  }

  .cb-head-location-modal.is-open .cb-modal__backdrop,
  .cb-head-location-modal.is-open .cb-head-location-drawer__backdrop{
    opacity:1 !important;
  }

  .cb-head-location-modal .cb-modal__dialog,
  .cb-head-location-modal .cb-head-location-drawer__panel{
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    top:auto !important;
    z-index:1 !important;
    width:100% !important;
    max-width:none !important;
    height:auto !important;
    max-height:min(56vh, 480px) !important;
    min-height:0 !important;
    margin:0 !important;
    padding:14px !important;
    border:0 !important;
    border-radius:26px 26px 0 0 !important;
    background:#fff !important;
    box-shadow:0 -24px 70px rgba(15,23,42,.24) !important;
    opacity:1 !important;
    visibility:visible !important;
    display:block !important;
    overflow:auto !important;
    transform:translateY(105%) !important;
    transition:transform .22s ease !important;
    -webkit-overflow-scrolling:touch !important;
    will-change:transform !important;
  }

  @supports (height:100dvh){
    .cb-head-location-modal .cb-modal__dialog,
    .cb-head-location-modal .cb-head-location-drawer__panel{
      max-height:min(56dvh, 480px) !important;
    }
  }

  .cb-head-location-modal.is-open .cb-modal__dialog,
  .cb-head-location-modal.is-open .cb-head-location-drawer__panel{
    transform:translateY(0) !important;
  }

  .cb-head-location-modal .cb-modal__content.cb-card,
  .cb-head-location-modal .cb-head__location-content,
  .cb-head-location-modal .cb-head-location-drawer__content{
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    display:block !important;
    overflow:visible !important;
    transform:none !important;
  }

  .cb-head-location-modal .cb-head__location-content::before,
  .cb-head-location-modal .cb-head-location-drawer__content::before{
    display:none !important;
    content:none !important;
  }

  .cb-head-location-modal .cb-head__location-head{
    display:flex !important;
    align-items:flex-start !important;
    justify-content:space-between !important;
    gap:14px !important;
    margin:0 !important;
    padding:2px 2px 12px !important;
    border:0 !important;
    background:transparent !important;
  }

  .cb-head-location-modal .cb-head__location-title{
    margin:0 !important;
    color:var(--cb-head-text) !important;
    font-size:18px !important;
    line-height:1.12 !important;
    font-weight:950 !important;
    letter-spacing:0 !important;
  }

  .cb-head-location-modal .cb-head__location-subtitle{
    margin-top:4px !important;
    color:var(--cb-head-muted) !important;
    font-size:12px !important;
    line-height:1.35 !important;
    font-weight:700 !important;
  }

  .cb-head-location-modal .cb-head__location-close{
    width:40px !important;
    height:40px !important;
    flex:0 0 40px !important;
    border-radius:999px !important;
    border:1px solid var(--cb-head-border) !important;
    background:#fff !important;
    color:#0f172a !important;
  }

  .cb-head-location-modal .cb-modal__body{
    min-height:0 !important;
    max-height:none !important;
    margin:0 !important;
    padding:0 0 10px !important;
    overflow:visible !important;
    -webkit-overflow-scrolling:touch !important;
    overscroll-behavior:contain !important;
  }

  .cb-head-location-modal .cb-head__dept-grid{
    grid-template-columns:1fr !important;
    gap:8px !important;
  }

  .cb-head-location-modal .cb-head__dept-option{
    min-height:46px !important;
    border-radius:14px !important;
  }

  .cb-head-location-modal .cb-head__location-foot{
    margin:0 !important;
    padding:2px 0 0 !important;
    border:0 !important;
    background:transparent !important;
  }

  .cb-head-location-modal .cb-head__location-reset{
    width:100% !important;
    min-height:44px !important;
    border-radius:16px !important;
  }
}
/* ======================================================================
   CB Header · selector de departamento PC como modal urgente
   - En desktop NO bloquea html/body, por lo tanto no desaparece la barra
     de scroll del navegador y no hay salto/pestañeo lateral.
   - En móvil se conserva el drawer inferior con scroll-lock.
   ====================================================================== */
@media (min-width:981px){
  html.cb-head-location-lock,
  html.cb-head-location-lock body,
  body.cb-head-location-lock{
    overflow-x:hidden !important;
    overflow-y:auto !important;
    overscroll-behavior:auto !important;
    touch-action:auto !important;
    padding-right:0 !important;
  }

  .cb-head-location-modal{
    transition:none !important;
  }

  .cb-head-location-modal .cb-modal__backdrop,
  .cb-head-location-modal .cb-head-location-drawer__backdrop{
    background:rgba(15,23,42,.55) !important;
    -webkit-backdrop-filter:blur(6px) !important;
    backdrop-filter:blur(6px) !important;
    transition:none !important;
  }

  .cb-head-location-modal .cb-modal__dialog,
  .cb-head-location-modal .cb-head-location-drawer__panel,
  .cb-head-location-modal.is-open .cb-modal__dialog,
  .cb-head-location-modal.is-open .cb-head-location-drawer__panel{
    transform:none !important;
    transition:none !important;
  }
}

/* ======================================================================
   CB Header · FIX buscador móvil centrado
   - El panel de sugerencias usa el centro del viewport como ancla.
   - El ancho se calcula con el mismo margen a izquierda y derecha.
   ====================================================================== */
@media (max-width: 980px){
  #cb-modern-head .cb-head__search--mobile .cb-head__search-suggest,
  #cb-modern-head .cb-head__search--mobile-inline .cb-head__search-suggest{
    position:fixed !important;
    left:var(--cb-head-suggest-left, 50%) !important;
    right:auto !important;
    top:var(--cb-head-suggest-top, calc(var(--cb-head-h) + 8px)) !important;
    width:var(--cb-head-suggest-width, calc(100vw - 16px)) !important;
    max-width:calc(100vw - 16px) !important;
    margin-left:0 !important;
    margin-right:0 !important;
    transform:translateX(-50%) !important;
    border-radius:18px;
    z-index:2147483600;
  }

  #cb-modern-head .cb-head__search--mobile .cb-head__search-suggest-scroll,
  #cb-modern-head .cb-head__search--mobile-inline .cb-head__search-suggest-scroll{
    max-height:var(--cb-head-suggest-max-height, min(62vh, 520px)) !important;
  }
}

@media (max-width: 640px){
  #cb-modern-head .cb-head__search--mobile .cb-head__search-suggest,
  #cb-modern-head .cb-head__search--mobile-inline .cb-head__search-suggest{
    left:var(--cb-head-suggest-left, 50%) !important;
    width:var(--cb-head-suggest-width, calc(100vw - 14px)) !important;
    max-width:calc(100vw - 14px) !important;
    transform:translateX(-50%) !important;
  }
}

@supports (width: 100dvw){
  @media (max-width: 980px){
    #cb-modern-head .cb-head__search--mobile .cb-head__search-suggest,
    #cb-modern-head .cb-head__search--mobile-inline .cb-head__search-suggest{
      width:var(--cb-head-suggest-width, calc(100dvw - 16px)) !important;
      max-width:calc(100dvw - 16px) !important;
    }
  }

  @media (max-width: 640px){
    #cb-modern-head .cb-head__search--mobile .cb-head__search-suggest,
    #cb-modern-head .cb-head__search--mobile-inline .cb-head__search-suggest{
      width:var(--cb-head-suggest-width, calc(100dvw - 14px)) !important;
      max-width:calc(100dvw - 14px) !important;
    }
  }
}

/* CB Header · destino: precio visible en selector */
.cb-head-location-modal .cb-head__dept-option{
  min-height:58px !important;
  padding:10px 13px !important;
  align-items:center !important;
}

.cb-head-location-modal .cb-head__dept-copy{
  min-width:0 !important;
  display:grid !important;
  gap:3px !important;
}

.cb-head-location-modal .cb-head__dept-name{
  min-width:0 !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
  line-height:1.12 !important;
}

.cb-head-location-modal .cb-head__dept-price{
  display:block !important;
  color:#047857 !important;
  font-size:.8rem !important;
  line-height:1.1 !important;
  font-weight:850 !important;
}

.cb-head-location-modal .cb-head__dept-option.is-selected .cb-head__dept-price,
.cb-head-location-modal .cb-head__dept-option[aria-pressed="true"] .cb-head__dept-price{
  color:var(--cb-head-accent-dark) !important;
}

.cb-head-location-modal .cb-head__dept-option i{
  flex:0 0 auto !important;
}

@media (max-width:980px){
  .cb-head-location-modal .cb-head__dept-option{
    min-height:54px !important;
  }

  .cb-head-location-modal .cb-head__dept-copy{
    width:100% !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:10px !important;
  }

  .cb-head-location-modal .cb-head__dept-name{
    flex:1 1 auto !important;
    font-size:.96rem !important;
  }

  .cb-head-location-modal .cb-head__dept-price{
    flex:0 0 auto !important;
    font-size:.84rem !important;
    white-space:nowrap !important;
  }
}

/* CB Header · promo superior compacta */
#cb-modern-head .cb-head-promo-strip{
  width:100% !important;
  min-height:32px !important;
  height:32px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:0 12px !important;
  overflow:hidden !important;
  background:linear-gradient(135deg, #fff7ed 0%, #fff1f2 100%) !important;
  color:#991b1b !important;
  border-bottom:1px solid rgba(248,113,113,.24) !important;
  box-shadow:0 8px 18px rgba(153,27,27,.08) !important;
  text-decoration:none !important;
  cursor:pointer !important;
  -webkit-tap-highlight-color:transparent !important;
}

#cb-modern-head .cb-head-promo-strip__track{
  width:100% !important;
  max-width:1280px !important;
  min-width:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:9px !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  font-size:.84rem !important;
  line-height:1 !important;
  font-weight:900 !important;
}

#cb-modern-head .cb-head-promo-strip__badge{
  flex:0 0 auto !important;
  display:inline-flex !important;
  align-items:center !important;
  height:20px !important;
  padding:0 8px !important;
  border-radius:999px !important;
  background:rgba(249,115,22,.12) !important;
  color:#9a3412 !important;
  font-size:.72rem !important;
  font-weight:950 !important;
  text-transform:uppercase !important;
  letter-spacing:.04em !important;
  border:1px solid rgba(249,115,22,.16) !important;
}

#cb-modern-head .cb-head-promo-strip__discount{
  flex:0 0 auto !important;
  color:#b91c1c !important;
  font-size:.96rem !important;
  font-weight:1000 !important;
  letter-spacing:.01em !important;
}

#cb-modern-head .cb-head-promo-strip__text{
  min-width:0 !important;
  max-width:42vw !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
  color:#7f1d1d !important;
}

#cb-modern-head .cb-head-promo-strip__timer{
  flex:0 0 auto !important;
  display:inline-flex !important;
  align-items:center !important;
  gap:5px !important;
  color:#991b1b !important;
}

#cb-modern-head .cb-head-promo-strip__timer-label{
  flex:0 0 auto !important;
}

#cb-modern-head .cb-head-promo-strip__timer strong{
  min-width:86px !important;
  display:inline-block !important;
  text-align:left !important;
  color:#7f1d1d !important;
  font-variant-numeric:tabular-nums !important;
  font-weight:1000 !important;
}

@media (min-width:981px){
  #cb-modern-head .cb-head-promo-strip__badge{
    display:none !important;
  }
}

@media (max-width:980px){
  #cb-modern-head .cb-head-promo-strip{
    height:30px !important;
    min-height:30px !important;
    padding:0 8px !important;
  }

  #cb-modern-head .cb-head-promo-strip__track{
    justify-content:flex-start !important;
    gap:7px !important;
    font-size:.78rem !important;
  }

  #cb-modern-head .cb-head-promo-strip__badge{
    height:18px !important;
    padding:0 7px !important;
    font-size:.66rem !important;
  }

  #cb-modern-head .cb-head-promo-strip__discount{
    font-size:.9rem !important;
  }

  #cb-modern-head .cb-head-promo-strip__text{
    flex:1 1 auto !important;
    max-width:none !important;
  }

  #cb-modern-head .cb-head-promo-strip__timer{
    margin-left:auto !important;
  }

  #cb-modern-head .cb-head-promo-strip__timer strong{
    min-width:76px !important;
  }
}

@media (max-width:520px){
  #cb-modern-head .cb-head-promo-strip__badge{
    display:none !important;
  }

  #cb-modern-head .cb-head-promo-strip__text{
    max-width:none !important;
  }

  #cb-modern-head .cb-head-promo-strip__timer-label{
    display:none !important;
  }

  #cb-modern-head .cb-head-promo-strip__timer{
    gap:4px !important;
  }
}

@media (max-width:380px){
  #cb-modern-head .cb-head-promo-strip__text{
    display:none !important;
  }
}

/* CB Header - chips bajo buscador alineados al nuevo estilo de categorias */
#cb-modern-head .cb-head__nav-link--quick,
#cb-modern-head .cb-head__nav-link--quick.is-featured,
#cb-modern-head .cb-head__nav-link--quick.is-dark{
  min-height:42px !important;
  gap:8px !important;
  padding:4px 13px 4px 5px !important;
  border:1px solid rgba(226,232,240,.96) !important;
  border-radius:999px !important;
  background:#fff !important;
  color:var(--cb-head-text) !important;
  box-shadow:0 4px 14px rgba(15,23,42,.04) !important;
  transition:none !important;
}

#cb-modern-head .cb-head__nav-link--quick.is-featured::before{
  display:none !important;
}

#cb-modern-head .cb-head__nav-link--quick:hover,
#cb-modern-head .cb-head__nav-link--quick:focus-visible,
#cb-modern-head .cb-head__nav-link--quick.is-featured:hover,
#cb-modern-head .cb-head__nav-link--quick.is-featured:focus-visible,
#cb-modern-head .cb-head__nav-link--quick.is-dark:hover,
#cb-modern-head .cb-head__nav-link--quick.is-dark:focus-visible{
  transform:none !important;
  border-color:#FF421C !important;
  background:#FF421C !important;
  color:#fff !important;
  box-shadow:0 10px 24px rgba(255,66,28,.20) !important;
}

#cb-modern-head .cb-head__nav-link--quick .cb-head__nav-thumb,
#cb-modern-head .cb-head__nav-link--quick.is-featured .cb-head__nav-thumb,
#cb-modern-head .cb-head__nav-link--quick.is-dark .cb-head__nav-thumb{
  width:32px !important;
  height:32px !important;
  flex:0 0 32px !important;
  border:2px solid rgba(255,255,255,.95) !important;
  border-radius:999px !important;
  background:#eff6ff !important;
  box-shadow:0 2px 8px rgba(15,23,42,.10) !important;
}

#cb-modern-head .cb-head__nav-link--quick .cb-head__nav-quick-text,
#cb-modern-head .cb-head__nav-link--quick .cb-head__nav-fallback,
#cb-modern-head .cb-head__nav-link--quick.is-featured .cb-head__nav-quick-text,
#cb-modern-head .cb-head__nav-link--quick.is-dark .cb-head__nav-quick-text,
#cb-modern-head .cb-head__nav-link--quick.is-dark .cb-head__nav-fallback{
  color:currentColor !important;
}

#cb-modern-head .cb-head__nav-link--quick .cb-head__nav-quick-text{
  min-width:0 !important;
  max-width:170px !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
  font-size:.86rem !important;
  font-weight:850 !important;
}

@media (max-width:640px){
  #cb-modern-head .cb-head__nav-link--quick,
  #cb-modern-head .cb-head__nav-link--quick.is-featured,
  #cb-modern-head .cb-head__nav-link--quick.is-dark{
    min-height:38px !important;
    padding:3px 11px 3px 4px !important;
    gap:7px !important;
  }

  #cb-modern-head .cb-head__nav-link--quick .cb-head__nav-thumb,
  #cb-modern-head .cb-head__nav-link--quick.is-featured .cb-head__nav-thumb,
  #cb-modern-head .cb-head__nav-link--quick.is-dark .cb-head__nav-thumb{
    width:28px !important;
    height:28px !important;
    flex-basis:28px !important;
  }

  #cb-modern-head .cb-head__nav-link--quick .cb-head__nav-quick-text{
    max-width:128px !important;
    font-size:.78rem !important;
  }
}

/* CB Header - light mode */
:root{
  --cb-head-bg:#ffffff !important;
  --cb-head-bg-solid:#ffffff !important;
  --cb-head-text:#111827 !important;
  --cb-head-muted:#64748b !important;
  --cb-head-border:rgba(17,24,39,.12) !important;
  --cb-head-hover:#f3f4f6 !important;
  --cb-head-accent:#2563eb !important;
  --cb-head-accent-dark:#1d4ed8 !important;
}

#cb-modern-head{
  --cb-head-bg:rgba(255,255,255,.96) !important;
  --cb-head-bg-solid:#ffffff !important;
  --cb-head-text:#111827 !important;
  --cb-head-muted:#64748b !important;
  --cb-head-border:rgba(17,24,39,.12) !important;
  --cb-head-hover:#f3f4f6 !important;
  --cb-head-accent:#2563eb !important;
  --cb-head-accent-dark:#1d4ed8 !important;
  background:rgba(255,255,255,.96) !important;
  border-bottom:1px solid rgba(229,231,235,.95) !important;
  box-shadow:0 4px 20px rgba(17,24,39,.06) !important;
}

#cb-modern-head .cb-head__inner{
  background:rgba(255,255,255,.96) !important;
  backdrop-filter:blur(16px) !important;
  -webkit-backdrop-filter:blur(16px) !important;
}

#cb-modern-head .cb-head__brand-link,
#cb-modern-head .cb-head__nav-link{
  color:#111827 !important;
}

#cb-modern-head .cb-head__search-field{
  border:2px solid rgba(17,24,39,.16) !important;
  background:#fff !important;
  color:#111827 !important;
  box-shadow:0 1px 2px rgba(17,24,39,.03) !important;
}

#cb-modern-head .cb-head__search-field::placeholder{
  color:#64748b !important;
}

#cb-modern-head .cb-head__search-field:focus{
  border-color:#2563eb !important;
  box-shadow:0 0 0 4px rgba(37,99,235,.10) !important;
}

#cb-modern-head .cb-head__search-suggest{
  border:1px solid rgba(17,24,39,.12) !important;
  background:#fff !important;
  color:#111827 !important;
  box-shadow:0 18px 40px rgba(17,24,39,.12) !important;
}

#cb-modern-head .cb-head__search-group + .cb-head__search-group{
  border-top-color:rgba(17,24,39,.08) !important;
}

#cb-modern-head .cb-head__search-row,
#cb-modern-head .cb-head__search-cat,
#cb-modern-head .cb-head__search-more{
  border-color:rgba(17,24,39,.10) !important;
  background:#fff !important;
  color:#111827 !important;
}

#cb-modern-head .cb-head__search-row:hover,
#cb-modern-head .cb-head__search-row.is-active,
#cb-modern-head .cb-head__search-cat:hover,
#cb-modern-head .cb-head__search-more:hover{
  background:#eef1f9 !important;
  color:var(--cb-head-accent) !important;
}

#cb-modern-head .cb-head__user-menu,
#cb-modern-head .cb-head__cats-menu{
  background:#fff !important;
  border-color:rgba(17,24,39,.12) !important;
  box-shadow:0 18px 40px rgba(17,24,39,.12) !important;
}

#cb-modern-head .cb-head__user-menu a,
#cb-modern-head .cb-head__user-menu button,
#cb-modern-head .cb-head__cats-menu a{
  color:#111827 !important;
}

#cb-modern-head .cb-head__user-menu a:hover,
#cb-modern-head .cb-head__user-menu button:hover,
#cb-modern-head .cb-head__cats-menu a:hover{
  background:#f3f4f6 !important;
  color:#111827 !important;
}

#cb-modern-head .cb-head__user-menu .dashicons,
#cb-modern-head .cb-head__cats-menu .dashicons{
  color:#64748b !important;
}

.cb-head__drawer{
  --cb-head-text:#111827 !important;
  --cb-head-muted:#64748b !important;
  --cb-head-border:rgba(17,24,39,.12) !important;
  --cb-head-hover:#f3f4f6 !important;
  --cb-head-accent:#2563eb !important;
  --cb-head-accent-dark:#1d4ed8 !important;
  background:#fff !important;
  color:#111827 !important;
  box-shadow:0 24px 60px rgba(17,24,39,.18) !important;
}

.cb-head-location-modal{
  --cb-head-text:#111827 !important;
  --cb-head-muted:#64748b !important;
  --cb-head-border:rgba(17,24,39,.12) !important;
  --cb-head-hover:#f3f4f6 !important;
  --cb-head-accent:#2563eb !important;
  --cb-head-accent-dark:#1d4ed8 !important;
}

.cb-head__drawer--left{
  border-right-color:rgba(17,24,39,.12) !important;
}

.cb-head__drawer--right{
  border-left-color:rgba(17,24,39,.12) !important;
}

.cb-head__drawer-head,
.cb-head__drawer-head--products,
.cb-head__drawer-foot,
.cb-head__drawer-foot--products{
  background:#fff !important;
  border-color:rgba(17,24,39,.10) !important;
}

.cb-head__drawer-title,
.cb-head__drawer-user-name,
.cb-head__drawer-head--products .cb-head__drawer-brand,
.cb-head__drawer-link,
.cb-head__drawer-summary,
.cb-head__drawer-static,
.cb-head__drawer-cat-card,
.cb-head__drawer-lazy,
.cb-head__drawer-all{
  color:#111827 !important;
}

.cb-head__drawer-sub,
.cb-head__drawer-label,
.cb-head__drawer-cat-title,
.cb-head__drawer-empty,
.cb-head__drawer-user-sub{
  color:#64748b !important;
}

.cb-head__drawer-close,
.cb-head__drawer-link,
.cb-head__drawer-summary,
.cb-head__drawer-static,
.cb-head__drawer-cat-card,
.cb-head__drawer-lazy-card,
.cb-head__drawer-userbox,
.cb-head__drawer-empty{
  background:#fff !important;
  border-color:rgba(17,24,39,.12) !important;
}

.cb-head__drawer-close{
  color:#111827 !important;
}

.cb-head__drawer-link:hover,
.cb-head__drawer-summary:hover,
.cb-head__drawer-head--products .cb-head__drawer-brand:hover,
.cb-head__drawer-cat-card:hover{
  background:#f8fafc !important;
  border-color:#d1d5db !important;
  box-shadow:0 12px 26px rgba(17,24,39,.08) !important;
}

.cb-head__drawer-link .dashicons,
.cb-head__drawer-summary .dashicons{
  color:#64748b !important;
}

.cb-head__drawer-cat-thumb,
.cb-head__drawer-lazy-thumb,
.cb-head__drawer-lazy-line{
  background:#eef2f7 !important;
}

.cb-head__drawer-cat-fallback{
  color:#64748b !important;
}

.cb-head__drawer-lazy-thumb::after,
.cb-head__drawer-lazy-line::after{
  background:linear-gradient(90deg, transparent 0%, rgba(255,255,255,.75) 50%, transparent 100%) !important;
}

.cb-head__drawer-all,
.cb-head__drawer-foot--products .cb-head__drawer-all{
  background:#fff !important;
  border-color:rgba(17,24,39,.12) !important;
}

.cb-head__drawer-all:hover,
.cb-head__drawer-foot--products .cb-head__drawer-all:hover{
  background:#f8fafc !important;
  border-color:#d1d5db !important;
}

#cb-modern-head .cb-head__cart-link,
#cb-modern-head .cb-head__mobile-toggle,
#cb-modern-head .cb-head__mobile-user-toggle,
#cb-modern-head .cb-head__user-summary,
#cb-modern-head .cb-head__menu-chip,
#cb-modern-head .cb-head__location-btn,
#cb-modern-head .cb-head__nav-link--quick,
#cb-modern-head .cb-head__nav-link--quick.is-featured,
#cb-modern-head .cb-head__nav-link--quick.is-dark{
  border-color:rgba(17,24,39,.12) !important;
  background:#fff !important;
  color:#111827 !important;
}

#cb-modern-head .cb-head__nav-link--quick:hover,
#cb-modern-head .cb-head__nav-link--quick:focus-visible,
#cb-modern-head .cb-head__nav-link--quick.is-featured:hover,
#cb-modern-head .cb-head__nav-link--quick.is-featured:focus-visible,
#cb-modern-head .cb-head__nav-link--quick.is-dark:hover,
#cb-modern-head .cb-head__nav-link--quick.is-dark:focus-visible{
  border-color:#FF421C !important;
  background:#FF421C !important;
  color:#fff !important;
  box-shadow:0 10px 24px rgba(255,66,28,.20) !important;
}

#cb-modern-head .cb-head__cart-link:hover,
#cb-modern-head .cb-head__mobile-toggle:hover,
#cb-modern-head .cb-head__mobile-user-toggle:hover,
#cb-modern-head .cb-head__user-summary:hover,
#cb-modern-head .cb-head__menu-chip:hover{
  border-color:#d1d5db !important;
  background:#f8fafc !important;
  color:#111827 !important;
  box-shadow:0 10px 24px rgba(17,24,39,.08) !important;
}



/* Tienda TD · Identidad y controles del encabezado. */
:root{
  --cb-head-bg:#fff!important;
  --cb-head-bg-solid:#fff!important;
  --cb-head-text:#101820!important;
  --cb-head-muted:#68717d!important;
  --cb-head-border:#e6e8ec!important;
  --cb-head-hover:#f5f6f8!important;
  --cb-head-accent:#080e42!important;
  --cb-head-accent-dark:#18245b!important;
  --cb-head-offset:155px;
}
#cb-modern-head{
  --cb-head-bg:#fff!important;
  --cb-head-bg-solid:#fff!important;
  --cb-head-text:#101820!important;
  --cb-head-muted:#68717d!important;
  --cb-head-border:#e6e8ec!important;
  --cb-head-hover:#f5f6f8!important;
  --cb-head-accent:#080e42!important;
  --cb-head-accent-dark:#18245b!important;
  background:#fff!important;
  border-bottom:1px solid #e6e8ec!important;
  box-shadow:0 3px 12px rgba(16,24,32,.035)!important;
  font-family:'Albert Sans',Arial,sans-serif;
  color:#101820;
}
#cb-modern-head .cb-head__inner{
  width:calc(100% - 64px);
  max-width:none;
  padding:0;
  background:#fff!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
#cb-modern-head .cb-head__row{
  grid-template-columns:auto minmax(180px,1fr) auto;
  gap:clamp(20px,2.4vw,44px);
  min-height:80px;
}
#cb-modern-head .cb-head__brand{gap:10px;}
#cb-modern-head .cb-head__brand-link{
  padding:0;
  color:var(--cb-head-accent)!important;
  white-space:nowrap;
  line-height:1;
}
#cb-modern-head .cb-head__wordmark{
  display:block;
  color:var(--cb-head-accent);
  font-family:'Albert Sans',Arial,sans-serif;
  font-size:48px;
  font-weight:900;
  letter-spacing:-2.7px;
  line-height:1;
}
#cb-modern-head .cb-head__brand-link .cb-head__wordmark-image{
  display:block;
  width:auto;
  max-width:184px;
  height:54px;
  object-fit:contain;
}
#cb-modern-head .cb-head__search--mobile{display:none;}
#cb-modern-head .cb-head__search--desktop{display:block;}
#cb-modern-head .cb-head__search-field{
  height:44px;
  border:1px solid #e5e8ec!important;
  border-radius:9px;
  padding:0 16px 0 42px;
  background:#f8f9fa!important;
  color:#101820!important;
  font-size:14px!important;
  box-shadow:none!important;
  font-family:inherit;
}
#cb-modern-head .cb-head__search-field::placeholder{color:#78808a!important;opacity:1;}
#cb-modern-head .cb-head__search-field:focus{
  background:#fff!important;
  border-color:var(--cb-head-accent)!important;
  box-shadow:0 0 0 3px rgba(8,14,66,.13)!important;
}
#cb-modern-head .cb-head__search-icon{color:var(--cb-head-accent);}
#cb-modern-head .cb-head__actions{display:flex!important;gap:0;min-width:0;}
#cb-modern-head .cb-head__actions > *{flex-shrink:0;}
#cb-modern-head .cb-head__cart-link,
#cb-modern-head .cb-head__mobile-toggle,
#cb-modern-head .cb-head__mobile-user-toggle,
#cb-modern-head .cb-head__user-summary,
#cb-modern-head .cb-head__location-btn{
  height:44px;
  min-height:44px;
  padding:0 17px;
  border:0!important;
  border-radius:8px;
  background:transparent!important;
  color:#101820!important;
  box-shadow:none!important;
  transform:none!important;
  font-family:inherit;
  font-weight:600;
}
#cb-modern-head .cb-head__cart-link:hover,
#cb-modern-head .cb-head__mobile-toggle:hover,
#cb-modern-head .cb-head__mobile-user-toggle:hover,
#cb-modern-head .cb-head__user-summary:hover,
#cb-modern-head .cb-head__location-btn:hover{
  background:#f5f6f8!important;
  color:#101820!important;
  box-shadow:none!important;
  transform:none!important;
}
#cb-modern-head .cb-head__location-btn{
  display:inline-flex!important;
  align-items:center;
  justify-content:flex-start;
  gap:9px;
  max-width:200px;
  text-align:left;
  cursor:pointer;
}
#cb-modern-head .cb-head__location-copy{display:flex;flex-direction:column;gap:3px;min-width:0;}
#cb-modern-head .cb-head__location-caption{font-size:11px;line-height:1;color:#77808b;font-weight:400;white-space:nowrap;}
#cb-modern-head .cb-head__location-label--desktop{
  max-width:124px;
  font-size:13px;
  line-height:1.15;
  font-weight:700;
}
#cb-modern-head .cb-head__location-icon{width:22px;height:22px;flex:0 0 22px;}
#cb-modern-head .cb-head__location-caret{flex:0 0 12px;margin-left:2px;color:#68717d;}
#cb-modern-head .cb-head__user--desktop{border-left:1px solid #eef0f3;border-right:1px solid #eef0f3;margin:0 4px;}
#cb-modern-head .cb-head__user-summary{gap:9px;}
#cb-modern-head .cb-head__user-name{max-width:100px;font-size:13px;font-weight:600;}
#cb-modern-head .cb-head__account-icon{width:23px;height:23px;flex:0 0 23px;}
#cb-modern-head .cb-head__caret{display:none;}
#cb-modern-head .cb-head__mobile-user-toggle{display:none;}
#cb-modern-head .cb-head__cart-link{
  display:inline-flex;
  position:relative;
  width:48px;
  min-width:48px;
  padding:0!important;
  margin-left:9px;
  justify-content:center;
  align-items:center;
}
#cb-modern-head .cb-head__cart-link svg{width:27px;height:27px;flex:0 0 27px;}
#cb-modern-head .cb-head__cart-text{display:none;}
#cb-modern-head .cb-head__cart-count{
  position:absolute;
  top:0;
  right:0;
  height:18px;
  min-width:18px;
  padding:0 4px;
  display:flex;
  align-items:center;
  justify-content:center;
  font:700 10px/1 'Albert Sans',Arial,sans-serif;
  border:2px solid #fff;
  background:var(--cb-head-accent);
  color:#fff;
  border-radius:20px;
}
#cb-modern-head .cb-head__mobile-toggle{display:none;}
#cb-modern-head .cb-head__navline{
  display:flex;
  align-items:center;
  gap:20px;
  min-height:46px;
  margin:0;
  padding:0;
  border-top:1px solid #f0f1f4;
}
#cb-modern-head .cb-head__nav{
  display:flex;
  flex:1 1 auto;
  min-width:0;
  width:auto;
  align-items:center;
  flex-wrap:nowrap;
  gap:0;
  overflow-x:auto;
  overflow-y:hidden;
  padding:3px 0;
  scrollbar-width:none;
  -ms-overflow-style:none;
}
#cb-modern-head .cb-head__nav::-webkit-scrollbar{display:none;}
#cb-modern-head .cb-head__nav .cb-head__nav-link,
#cb-modern-head .cb-head__nav .cb-head__menu-chip--desktop,
#cb-modern-head .cb-head__nav-brandlink{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  min-height:38px;
  height:auto;
  padding:0 14px;
  gap:8px;
  border:0!important;
  border-radius:6px;
  background:transparent!important;
  box-shadow:none!important;
  color:#101820!important;
  font:500 13px/1.25 'Albert Sans',Arial,sans-serif;
  text-decoration:none;
  white-space:nowrap;
  transform:none!important;
}
#cb-modern-head .cb-head__nav .cb-head__menu-chip--desktop{padding-left:0;padding-right:21px;margin-right:8px;border-right:1px solid #edf0f3!important;border-radius:0;font-weight:600;}
#cb-modern-head .cb-head__nav .cb-head__nav-link:hover,
#cb-modern-head .cb-head__nav .cb-head__nav-link:focus-visible,
#cb-modern-head .cb-head__nav .cb-head__menu-chip--desktop:hover,
#cb-modern-head .cb-head__nav-brandlink:hover{
  background:#f5f6f8!important;
  color:var(--cb-head-accent)!important;
  box-shadow:none!important;
  transform:none!important;
}
#cb-modern-head .cb-head__nav .cb-head__nav-link.is-current{color:var(--cb-head-accent)!important;}
#cb-modern-head .cb-head__nav .cb-head__nav-link::before{display:none!important;}
#cb-modern-head .cb-head__nav .cb-head__nav-thumb,
#cb-modern-head .cb-head__nav .cb-head__location-chip,
#cb-modern-head .cb-head__nav .cb-head__menu-chip--mobile{display:none!important;}
#cb-modern-head .cb-head__nav .cb-head__nav-quick-text{font-size:inherit;font-weight:inherit;color:inherit!important;line-height:1.25;}
#cb-modern-head .cb-head__nav a.cb-head__nav-link--quick .cb-head__nav-quick-text{font-weight:inherit!important;}
#cb-modern-head .cb-head__nav-brandlink{padding:0 3px 0 12px;color:var(--cb-head-accent)!important;font-weight:700;}
#cb-modern-head :is(a,button,summary):focus-visible{outline:2px solid var(--cb-head-accent);outline-offset:2px;}
/* La franja usa exclusivamente la configuración publicada del panel. */
#cb-modern-head .thh-topbar{
  width:100%;
  background:var(--thh-bar-bg,#1d252d);
  color:var(--thh-bar-text,#fff);
}
#cb-modern-head .thh-topbar__inner{
  width:calc(100% - 64px);
  min-height:28px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
#cb-modern-head .thh-topbar__items{display:flex;align-items:center;justify-content:space-between;gap:32px;flex:1 1 auto;min-width:0;}
#cb-modern-head .thh-topbar__item,
#cb-modern-head .thh-topbar__promotion{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-width:0;
  padding:5px 0;
  color:inherit;
  text-decoration:none;
  font:400 11px/1.35 'Albert Sans',Arial,sans-serif;
}
#cb-modern-head .thh-topbar__item svg,
#cb-modern-head .thh-topbar__promotion>svg{width:15px;height:15px;flex:0 0 15px;color:inherit;}
#cb-modern-head .thh-topbar__item>span{min-width:0;}
#cb-modern-head .thh-topbar__links{display:flex;align-items:center;gap:0;flex-shrink:0;margin-left:24px;}
#cb-modern-head .thh-topbar__links>a{padding:0 11px;color:inherit;text-decoration:none;font:400 10px/1.3 'Albert Sans',Arial,sans-serif;}
#cb-modern-head .thh-topbar__links>a+a{border-left:1px solid currentColor;}
#cb-modern-head .thh-topbar__links>a:last-child{padding-right:0;}
#cb-modern-head .thh-topbar__item[href]:hover,
#cb-modern-head .thh-topbar__links>a:hover{text-decoration:underline;text-underline-offset:3px;}
#cb-modern-head .thh-topbar--promotion .thh-topbar__items{justify-content:center;}
#cb-modern-head .thh-topbar__promotion{flex-wrap:wrap;gap:7px 12px;font-weight:500;text-align:center;}
#cb-modern-head .thh-topbar__cta{display:inline-flex;align-items:center;justify-content:center;min-height:22px;padding:1px 10px;color:inherit;border:1px solid currentColor;border-radius:4px;font-size:10px;line-height:1.3;text-decoration:none;font-weight:700;}
#cb-modern-head .thh-topbar__cta:hover{background:rgba(255,255,255,.12);}
/* Paleta clara de la franja de la portada. */
body.home #cb-modern-head .thh-topbar{
  background:#f5f7fb;
  color:var(--cb-head-accent);
  border-bottom:1px solid #e2e7f1;
}
body.home #cb-modern-head .thh-topbar__cta:hover{background:#e8edf8;}

@media(min-width:981px) and (max-width:1200px){
  #cb-modern-head .cb-head__inner,#cb-modern-head .thh-topbar__inner{width:calc(100% - 40px);}
  #cb-modern-head .cb-head__row{gap:20px;}
  #cb-modern-head .cb-head__wordmark{font-size:43px;}
  #cb-modern-head .cb-head__user-name{max-width:72px;}
  #cb-modern-head .cb-head__location-btn,#cb-modern-head .cb-head__user-summary{padding:0 12px;}
  #cb-modern-head .thh-topbar__items{gap:18px;}
}
@media(max-width:980px){
  :root{--cb-head-offset:126px;}
  #cb-modern-head .cb-head__inner{width:calc(100% - 32px);padding:12px 0;}
  #cb-modern-head .cb-head__row{grid-template-columns:auto minmax(0,1fr);grid-template-areas:'brand actions' 'search search';gap:11px 12px;min-height:0;}
  #cb-modern-head .cb-head__brand{grid-area:brand;gap:9px;}
  #cb-modern-head .cb-head__brand-link{flex-shrink:1;}
  #cb-modern-head .cb-head__wordmark{font-size:39px;letter-spacing:-2px;}
  #cb-modern-head .cb-head__brand-link .cb-head__wordmark-image{max-width:125px;height:42px;}
  #cb-modern-head .cb-head__brand .cb-head__mobile-toggle{display:inline-flex!important;width:30px;min-width:30px;height:40px;min-height:40px;padding:0;flex:0 0 30px;align-items:center;justify-content:center;border-radius:5px;}
  #cb-modern-head .cb-head__brand .cb-head__mobile-toggle svg{width:25px;height:25px;flex:0 0 25px;}
  #cb-modern-head .cb-head__search--desktop{display:none;}
  #cb-modern-head .cb-head__search--mobile{display:block;grid-area:search;width:100%;margin:0;}
  #cb-modern-head .cb-head__search-field{height:44px;border-radius:24px;padding-left:43px;font-size:16px!important;}
  #cb-modern-head .cb-head__actions{grid-area:actions;justify-content:flex-end;gap:5px;}
  #cb-modern-head .cb-head__actions>.cb-head__location-btn{display:inline-flex!important;max-width:190px;padding:0 6px;height:40px;min-height:40px;gap:7px;}
  #cb-modern-head .cb-head__location-label--desktop{font-size:12px;max-width:112px;}
  #cb-modern-head .cb-head__location-caption{font-size:10px;}
  #cb-modern-head .cb-head__location-icon{width:20px;height:20px;flex-basis:20px;}
  #cb-modern-head .cb-head__location-caret{width:10px;height:10px;flex-basis:10px;margin:0;}
  #cb-modern-head .cb-head__actions>.cb-head__user--desktop{display:none!important;}
  #cb-modern-head .cb-head__actions>.cb-head__mobile-user-toggle{display:inline-flex!important;width:34px;min-width:34px;max-width:34px;height:40px;min-height:40px;padding:0!important;justify-content:center;}
  #cb-modern-head .cb-head__mobile-user-name{display:none;}
  #cb-modern-head .cb-head__cart-link{width:37px;min-width:37px;height:40px;min-height:40px;margin:0;padding:0!important;}
  #cb-modern-head .cb-head__cart-link svg{width:26px;height:26px;flex-basis:26px;}
  #cb-modern-head .cb-head__cart-count{right:-1px;top:0;}
  #cb-modern-head .cb-head__navline:not(.cb-head__navline--with-brands){display:none!important;}
  #cb-modern-head .cb-head__navline--with-brands{gap:8px;min-height:36px;margin-top:4px;}
  #cb-modern-head .cb-head__navline--with-brands .cb-head__nav > :not(.cb-head__nav-link--brand),
  #cb-modern-head .cb-head__navline--with-brands .cb-head__nav-brandlink{display:none!important;}
  #cb-modern-head .cb-head__navline--with-brands .cb-head__nav > .cb-head__nav-link--brand{
    display:inline-flex;
    min-height:34px;
    padding:0 8px;
  }
  #cb-modern-head .thh-topbar__inner{width:calc(100% - 32px);gap:12px;}
  #cb-modern-head .thh-topbar__items{gap:12px;}
  #cb-modern-head .thh-topbar__item{font-size:10px;}
  #cb-modern-head .thh-topbar__links{margin-left:0;}
}
@media(max-width:700px){
  #cb-modern-head .thh-topbar:not(.thh-topbar--mobile){display:none;}
  #cb-modern-head .thh-topbar__inner{flex-wrap:wrap;justify-content:center;gap:0;padding:3px 0;}
  #cb-modern-head .thh-topbar__items{flex-wrap:wrap;justify-content:center;gap:1px 14px;}
  #cb-modern-head .thh-topbar__item{padding:3px 0;}
  #cb-modern-head .thh-topbar__links{justify-content:center;gap:0;padding:3px 0;}
}
@media(max-width:480px){
  #cb-modern-head .cb-head__inner{width:calc(100% - 28px);}
  #cb-modern-head .cb-head__row{gap:10px 7px;}
  #cb-modern-head .cb-head__brand{gap:6px;}
  #cb-modern-head .cb-head__wordmark{font-size:34px;letter-spacing:-1.9px;}
  #cb-modern-head .cb-head__brand-link .cb-head__wordmark-image{max-width:124px;}
  #cb-modern-head .cb-head__brand .cb-head__mobile-toggle{width:27px;min-width:27px;flex-basis:27px;}
  #cb-modern-head .cb-head__actions{gap:2px;}
  #cb-modern-head .cb-head__actions>.cb-head__location-btn{max-width:129px;padding:0 2px;gap:4px;}
  #cb-modern-head .cb-head__location-label--desktop{max-width:72px;font-size:10px;}
  #cb-modern-head .cb-head__location-icon{width:17px;height:17px;flex-basis:17px;}
  #cb-modern-head .cb-head__actions>.cb-head__mobile-user-toggle{width:29px;min-width:29px;max-width:29px;}
  #cb-modern-head .cb-head__mobile-user-toggle .cb-head__account-icon{width:21px;height:21px;flex-basis:21px;}
  #cb-modern-head .cb-head__cart-link{width:32px;min-width:32px;}
}
@media(max-width:380px){
  #cb-modern-head .cb-head__row{column-gap:5px;}
  #cb-modern-head .cb-head__brand{gap:4px;}
  #cb-modern-head .cb-head__wordmark{font-size:31px;letter-spacing:-1.7px;}
  #cb-modern-head .cb-head__brand-link .cb-head__wordmark-image{max-width:98px;}
  #cb-modern-head .cb-head__brand .cb-head__mobile-toggle{width:25px;min-width:25px;flex-basis:25px;}
  #cb-modern-head .cb-head__location-icon{display:none;}
  #cb-modern-head .cb-head__location-label--desktop{max-width:68px;}
  #cb-modern-head .cb-head__location-caret{width:8px;height:8px;flex-basis:8px;}
  #cb-modern-head .cb-head__actions>.cb-head__mobile-user-toggle{width:27px;min-width:27px;max-width:27px;}
  #cb-modern-head .cb-head__cart-link{width:30px;min-width:30px;}
}
@media(prefers-reduced-motion:reduce){
  #cb-modern-head *,#cb-modern-head *::before,#cb-modern-head *::after{scroll-behavior:auto!important;animation-duration:.001ms!important;transition-duration:.001ms!important;}
}

/* TOMATE · Navegación con aire y panel de categorías de la tienda. */
#cb-modern-head .cb-head__nav{gap:10px;padding:4px 0;}
#cb-modern-head .cb-head__nav .cb-head__nav-link{padding-right:13px;padding-left:13px;}
#cb-modern-head .cb-head__nav .cb-head__menu-chip--desktop{margin-right:4px;padding-right:24px;}
#cb-modern-head .cb-head__nav-controls{display:flex;align-items:center;gap:5px;flex:0 0 auto;}
#cb-modern-head .cb-head__nav-controls[hidden]{display:none!important;}
#cb-modern-head .cb-head__nav-arrow{
  display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px;
  width:30px;min-width:30px;height:30px;min-height:30px;margin:0;padding:0;
  border:1px solid #e6e8ec;border-radius:8px;background:#fff;box-shadow:none;
  color:#101820;cursor:pointer;line-height:1;transform:none;
}
#cb-modern-head .cb-head__nav-arrow svg{display:block;width:16px;height:16px;pointer-events:none;}
#cb-modern-head .cb-head__nav-arrow:hover:not(:disabled){border-color:var(--cb-head-accent);color:var(--cb-head-accent);background:#eef1f9;}
#cb-modern-head .cb-head__nav-arrow:disabled{opacity:.3;cursor:default;}
#cb-modern-head .cb-head__nav .cb-head__nav-link:hover,
#cb-modern-head .cb-head__nav .cb-head__nav-link:focus-visible,
#cb-modern-head .cb-head__nav .cb-head__menu-chip--desktop:hover,
#cb-modern-head .cb-head__nav-brandlink:hover{
  background:transparent!important;
  color:var(--cb-head-accent)!important;
  box-shadow:none!important;
}
#cb-head-screen{background:rgba(16,24,32,.28);}
#cb-head-drawer-desktop,#cb-head-drawer-mobile{
  width:400px;
  max-width:calc(100vw - 24px);
  font-family:'Albert Sans',Arial,sans-serif;
  border:0;
  border-right:1px solid #e6e8ec;
  border-radius:0 18px 18px 0;
  box-shadow:18px 0 60px rgba(16,24,32,.14);
  color:#101820;
}
:is(#cb-head-drawer-desktop,#cb-head-drawer-mobile) .cb-head__drawer-head{
  padding:22px 22px 18px;
  min-height:85px;
  gap:20px;
  border-bottom:1px solid #eef0f3;
  background:#fff;
}
:is(#cb-head-drawer-desktop,#cb-head-drawer-mobile) .cb-head__drawer-brand{
  padding:0;
  border-radius:0;
  background:transparent!important;
  box-shadow:none!important;
}
:is(#cb-head-drawer-desktop,#cb-head-drawer-mobile) .cb-head__drawer-brand:hover{
  background:transparent!important;
  box-shadow:none!important;
}
:is(#cb-head-drawer-desktop,#cb-head-drawer-mobile) .cb-head__drawer-brand img{
  display:block;
  width:auto;
  max-width:143px;
  height:45px;
  border-radius:0;
  object-fit:contain;
}
:is(#cb-head-drawer-desktop,#cb-head-drawer-mobile) .cb-head__drawer-close{
  width:36px;
  height:36px;
  flex:0 0 36px;
  padding:0;
  border:1px solid #edf0f3!important;
  border-radius:9px;
  background:#f6f7f9!important;
  color:#101820!important;
}
:is(#cb-head-drawer-desktop,#cb-head-drawer-mobile) .cb-head__drawer-close:hover{background:#edf0f3!important;}
:is(#cb-head-drawer-desktop,#cb-head-drawer-mobile) .cb-head__drawer-body{padding:20px 22px 24px;}
:is(#cb-head-drawer-desktop,#cb-head-drawer-mobile) .cb-head__drawer-products,
:is(#cb-head-drawer-desktop,#cb-head-drawer-mobile) .cb-head__drawer-group--products{gap:20px;}
:is(#cb-head-drawer-desktop,#cb-head-drawer-mobile) .cb-head__drawer-cat-title{
  margin:0 0 14px;
  color:#101820!important;
  font-size:15px;
  font-weight:700;
  line-height:1.3;
  letter-spacing:0;
  text-transform:none;
}
:is(#cb-head-drawer-desktop,#cb-head-drawer-mobile) .cb-head__drawer-cards,
:is(#cb-head-drawer-desktop,#cb-head-drawer-mobile) .cb-head__drawer-lazy-skeleton{grid-template-columns:minmax(0,1fr);gap:9px;}
:is(#cb-head-drawer-desktop,#cb-head-drawer-mobile) .cb-head__drawer-cat-card,
:is(#cb-head-drawer-desktop,#cb-head-drawer-mobile) .cb-head__drawer-lazy-card{
  position:relative;
  min-height:68px;
  padding:9px 13px 9px 10px;
  gap:13px;
  border:1px solid #edf0f3!important;
  border-radius:11px;
  background:#fff!important;
  color:#101820!important;
  box-shadow:none!important;
  transform:none!important;
  transition:background .15s ease,border-color .15s ease;
}
:is(#cb-head-drawer-desktop,#cb-head-drawer-mobile) .cb-head__drawer-cat-card::after{
  content:'';
  display:block;
  width:6px;
  height:6px;
  flex:0 0 6px;
  margin-left:2px;
  border-top:1.5px solid #8b939d;
  border-right:1.5px solid #8b939d;
  transform:rotate(45deg);
}
:is(#cb-head-drawer-desktop,#cb-head-drawer-mobile) .cb-head__drawer-cat-card:hover,
:is(#cb-head-drawer-desktop,#cb-head-drawer-mobile) .cb-head__drawer-cat-card:focus-visible{
  background:#f3f5fb!important;
  border-color:#cbd3e8!important;
  color:var(--cb-head-accent-dark)!important;
  box-shadow:none!important;
  transform:none!important;
}
:is(#cb-head-drawer-desktop,#cb-head-drawer-mobile) .cb-head__drawer-cat-thumb,
:is(#cb-head-drawer-desktop,#cb-head-drawer-mobile) .cb-head__drawer-lazy-thumb{
  width:48px;
  height:48px;
  flex:0 0 48px;
  border-radius:9px;
  background:#f6f7f9!important;
}
:is(#cb-head-drawer-desktop,#cb-head-drawer-mobile) .cb-head__drawer-cat-thumb img{
  display:block;
  width:100%;
  height:100%;
  padding:3px;
  object-fit:contain;
  mix-blend-mode:multiply;
}
:is(#cb-head-drawer-desktop,#cb-head-drawer-mobile) .cb-head__drawer-cat-name{
  width:auto;
  color:inherit;
  font-size:14px;
  font-weight:600;
  line-height:1.35;
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
  overflow-wrap:anywhere;
}
:is(#cb-head-drawer-desktop,#cb-head-drawer-mobile) .cb-head__drawer-foot{
  padding:16px 22px calc(18px + env(safe-area-inset-bottom,0px));
  border-top:1px solid #eef0f3;
  background:#fff;
}
:is(#cb-head-drawer-desktop,#cb-head-drawer-mobile) .cb-head__drawer-all{
  min-height:44px;
  border:1px solid var(--cb-head-accent)!important;
  border-radius:7px;
  background:var(--cb-head-accent)!important;
  color:#fff!important;
  font-family:inherit;
  font-size:14px;
  font-weight:700;
  box-shadow:none!important;
}
:is(#cb-head-drawer-desktop,#cb-head-drawer-mobile) .cb-head__drawer-all:hover{
  border-color:var(--cb-head-accent-dark)!important;
  background:var(--cb-head-accent-dark)!important;
  color:#fff!important;
}
:is(#cb-head-drawer-desktop,#cb-head-drawer-mobile) :is(a,button):focus-visible{outline:2px solid var(--cb-head-accent);outline-offset:2px;}
@media(max-width:980px){
  #cb-head-drawer-mobile{width:390px;max-width:calc(100vw - 22px);}
}
@media(max-width:480px){
  #cb-head-drawer-mobile{border-radius:0 15px 15px 0;}
  #cb-head-drawer-mobile .cb-head__drawer-head{padding:20px 18px 16px;min-height:80px;}
  #cb-head-drawer-mobile .cb-head__drawer-body{padding:18px 18px 22px;}
  #cb-head-drawer-mobile .cb-head__drawer-foot{padding-right:18px;padding-left:18px;}
}

/* PC: selector anclado a Envíos a; móvil conserva el panel inferior nativo. */
@media(min-width:981px){
  #cb-head-location-modal.is-popover{
    position:fixed!important;
    inset:auto!important;
    left:var(--cb-location-left,12px)!important;
    top:var(--cb-location-top,90px)!important;
    right:auto!important;
    bottom:auto!important;
    width:var(--cb-location-width,400px)!important;
    min-width:0!important;
    max-width:calc(100vw - 24px)!important;
    height:auto!important;
    min-height:0!important;
    max-height:var(--cb-location-max-height,calc(100vh - 110px))!important;
    margin:0!important;
    padding:0!important;
    display:none!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    border:1px solid #e6e8ec!important;
    border-radius:12px!important;
    background:#fff!important;
    color:#101820!important;
    box-shadow:0 16px 48px rgba(16,24,32,.16)!important;
    overflow:hidden!important;
    overscroll-behavior:contain!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:none!important;
    transform:none!important;
    transition:none!important;
    z-index:2147483647!important;
    font-family:'Albert Sans',Arial,sans-serif;
  }
  #cb-head-location-modal.is-popover.is-open:popover-open,
  #cb-head-location-modal.is-popover.is-popover-fallback.is-open{
    display:flex!important;
    pointer-events:auto!important;
  }
  #cb-head-location-modal.is-popover[hidden]{display:none!important;}
  #cb-head-location-modal.is-popover::backdrop{background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
  #cb-head-location-modal.is-popover>.cb-head-location-drawer__backdrop{display:none!important;}
  #cb-head-location-modal.is-popover>.cb-head-location-drawer__panel{
    position:static!important;
    inset:auto!important;
    display:flex!important;
    flex:1 1 auto!important;
    flex-direction:column!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:auto!important;
    min-height:0!important;
    max-height:var(--cb-location-max-height,calc(100vh - 110px))!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:#fff!important;
    box-shadow:none!important;
    overflow:hidden!important;
    opacity:1!important;
    visibility:visible!important;
    transform:none!important;
    transition:none!important;
  }
  #cb-head-location-modal.is-popover .cb-head__location-content{
    display:flex!important;
    flex:1 1 auto!important;
    flex-direction:column!important;
    width:100%!important;
    min-height:0!important;
    max-height:var(--cb-location-max-height,calc(100vh - 110px))!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:#fff!important;
    box-shadow:none!important;
    overflow:hidden!important;
  }
  #cb-head-location-modal.is-popover .cb-head__location-content::before{display:none!important;content:none!important;}
  #cb-head-location-modal.is-popover .cb-head__location-head{
    flex:0 0 auto!important;
    align-items:flex-start!important;
    gap:12px!important;
    padding:16px!important;
    border-bottom:1px solid #eef0f3!important;
  }
  #cb-head-location-modal.is-popover .cb-head__location-title{
    font-size:18px!important;
    font-weight:700!important;
    line-height:1.2!important;
    letter-spacing:-.2px!important;
  }
  #cb-head-location-modal.is-popover .cb-head__location-subtitle{font-size:12px!important;font-weight:400!important;line-height:1.4!important;color:#68717d!important;}
  #cb-head-location-modal.is-popover .cb-head__location-close{
    width:32px!important;
    height:32px!important;
    flex:0 0 32px!important;
    padding:0!important;
    border:1px solid #edf0f3!important;
    border-radius:8px!important;
    background:#f6f7f9!important;
    color:#101820!important;
  }
  #cb-head-location-modal.is-popover .cb-head__location-close:hover{background:#edf0f3!important;}
  #cb-head-location-modal.is-popover .cb-modal__body{
    flex:1 1 auto!important;
    min-height:0!important;
    max-height:none!important;
    padding:12px 16px!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
  }
  #cb-head-location-modal.is-popover .cb-head__dept-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:6px!important;}
  #cb-head-location-modal.is-popover .cb-head__dept-option{
    display:flex!important;
    align-items:center!important;
    min-height:48px!important;
    padding:9px 11px!important;
    gap:9px!important;
    border:1px solid #e8ebef!important;
    border-radius:8px!important;
    background:#fff!important;
    color:#101820!important;
    font-family:inherit;
    font-size:13px!important;
    font-weight:600!important;
    box-shadow:none!important;
    transform:none!important;
  }
  #cb-head-location-modal.is-popover .cb-head__dept-option:hover{border-color:#cbd3e8!important;background:#f3f5fb!important;box-shadow:none!important;transform:none!important;}
  #cb-head-location-modal.is-popover .cb-head__dept-option.is-selected,
  #cb-head-location-modal.is-popover .cb-head__dept-option[aria-pressed="true"]{border-color:var(--cb-head-accent)!important;background:#eef1f9!important;color:var(--cb-head-accent-dark)!important;}
  #cb-head-location-modal.is-popover .cb-head__dept-copy{display:flex!important;align-items:center!important;justify-content:space-between!important;flex:1 1 auto!important;min-width:0!important;gap:10px!important;}
  #cb-head-location-modal.is-popover .cb-head__dept-name{flex:1 1 auto!important;font-size:13px!important;font-weight:600!important;line-height:1.3!important;}
  #cb-head-location-modal.is-popover .cb-head__dept-price{flex:0 0 auto!important;font-size:12px!important;font-weight:600!important;line-height:1.3!important;}
  #cb-head-location-modal.is-popover .cb-head__dept-option i{font-size:12px!important;color:var(--cb-head-accent-dark)!important;}
  #cb-head-location-modal.is-popover .cb-head__location-foot{flex:0 0 auto!important;padding:12px 16px!important;border-top:1px solid #eef0f3!important;}
  #cb-head-location-modal.is-popover .cb-head__location-reset{
    min-height:36px!important;
    padding:0 12px!important;
    border:1px solid #e6e8ec!important;
    border-radius:7px!important;
    background:#fff!important;
    color:#485260!important;
    font-family:inherit;
    font-size:12px!important;
    font-weight:600!important;
  }
  #cb-head-location-modal.is-popover .cb-head__location-reset:hover{background:#f5f6f8!important;}
  #cb-head-location-modal.is-popover button:focus-visible{outline:2px solid var(--cb-head-accent);outline-offset:1px;}
  @supports not selector(:popover-open){
    #cb-head-location-modal.is-popover.is-open{display:flex!important;pointer-events:auto!important;}
  }
}

/* Los fondos cubren también el canal reservado de la barra de desplazamiento. */
#cb-head-screen{left:0;right:auto;width:100vw;max-width:none;}
@media(max-width:980px){
  #cb-head-location-modal:not(.is-popover){
    left:0!important;
    right:auto!important;
    width:100vw!important;
    max-width:none!important;
  }
}

@supports(scrollbar-gutter:stable){
  #cb-head-screen{width:calc(100vw + var(--sf-sbw,0px));}
  @media(max-width:980px){
    #cb-head-location-modal:not(.is-popover){width:calc(100vw + var(--sf-sbw,0px))!important;}
  }
}
