.header-top,.header-bottom{--header-top-color:#fff;background:#71863f;border-color:rgba(255,255,255,.18)!important;color:#fff}.header-top a:not(.dropdown-item),.header-bottom a,.header-bottom button{color:#fff}.header-top a:not(.dropdown-item):hover,.header-bottom a:hover,.header-bottom button:hover{color:#fff;opacity:.82}.header-bottom{box-shadow:0 5px 20px rgba(46,61,32,.12)}.fs-header-logo{align-items:center;display:inline-flex}.fs-header-logo img{filter:brightness(0) invert(1);height:auto;max-height:68px;object-fit:contain;width:190px}.fs-header-icon{color:currentColor;display:block}.simple-mobile-menu__hamburger{background:transparent;border:0;border-radius:50%;color:#fff;padding:8px;transition:background .2s ease}.simple-mobile-menu__hamburger:hover,.simple-mobile-menu__hamburger:focus-visible{background:rgba(255,255,255,.14);opacity:1}.header-bottom .header-block__action-btn{border-radius:999px;color:#fff;padding:.6rem}.header-bottom .header-block__action-btn:hover{background:rgba(255,255,255,.14);color:#fff;opacity:1}.header-bottom .header-block__badge{background:#bd354b;border:2px solid #71863f;color:#fff;font-size:.62rem;left:auto;right:-.25rem;top:.1rem}.header-bottom .form-control{border-color:transparent}.header-bottom .btn,.header-bottom .material-icons{color:inherit}.header-bottom .ps-mainmenu__root-link,.header-bottom .ps-mainmenu__tree-dropdown-toggle{color:#fff!important}.header-bottom .submenu,.header-bottom .menu-container{color:#343a40}.header-bottom .submenu a,.header-bottom .menu-container a{color:#343a40}
header#header .header-top a:not(.dropdown-item),header#header .header-bottom a:not(.dropdown-item),header#header .header-bottom button{color:#fff!important}header#header .header-bottom .submenu a,header#header .header-bottom .menu-container a{color:#343a40!important}
@media(max-width:767.98px){.header-top{display:none}.header-bottom{min-height:82px}.fs-header-logo img{max-height:58px;width:138px}.header-bottom .row.d-md-none{min-height:82px;padding-bottom:.45rem!important;padding-top:.45rem!important}}

/* Acceso discreto a las preferencias de cookies. */
.fs-cookie-floating-button{align-items:center!important;background:#fff!important;border:1px solid rgba(75,56,49,.2)!important;border-radius:50%!important;bottom:14px!important;box-shadow:0 5px 16px rgba(75,56,49,.16)!important;color:#4b3831!important;display:flex!important;font-size:0!important;height:42px!important;justify-content:center!important;padding:0!important;right:14px!important;width:42px!important}
.fs-cookie-floating-button::before{content:"🍪";font-family:"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:19px;line-height:1}
.fs-cookie-floating-button:hover{box-shadow:0 7px 20px rgba(75,56,49,.22)!important;transform:translateY(-1px)}
@media(max-width:575.98px){.fs-cookie-floating-button{bottom:10px!important;height:38px!important;right:10px!important;width:38px!important}.fs-cookie-floating-button::before{font-size:17px}}

/* Cabecera de escritorio: una sola línea, equilibrada y sin saltos del menú. */
@media(min-width:1200px){
  .header-bottom__container,.header-bottom__row{min-height:92px}
  .header-bottom__row{flex-wrap:nowrap!important}
  .header-bottom__row>.col{min-width:0}
  .fs-header-logo img{max-height:58px;width:158px}
  .fs-header__menu{flex:1 1 auto;min-width:0}
  .fs-header__menu .ps-mainmenu__tree{align-items:center;display:flex!important;flex-wrap:nowrap!important;margin:0}
  .fs-header__menu .ps-mainmenu__tree-item{flex:0 0 auto}
  .fs-header__menu .ps-mainmenu__tree-item-wrapper{white-space:nowrap}
  .fs-header__menu .ps-mainmenu__tree-link{font-size:.88rem;padding-left:.62rem!important;padding-right:.62rem!important;white-space:nowrap}
  .fs-header__menu .ps-mainmenu__tree-dropdown-toggle{margin-left:-.35rem}
  .fs-header__search{flex:0 0 250px;margin-left:1rem!important;width:250px}
}
@media(min-width:1200px) and (max-width:1399.98px){
  .fs-header-logo img{width:138px}
  .fs-header__menu .ps-mainmenu__tree-link{font-size:.8rem;padding-left:.42rem!important;padding-right:.42rem!important}
  .fs-header__search{flex-basis:210px;width:210px}
}

/* Ajuste final de navegación y contraste. */
header#header .header-bottom{border-bottom:0!important;box-shadow:none!important}
header#header #_desktop_ps_languageselector,header#header #_mobile_ps_languageselector{display:none!important}
header#header #userMenuButton,header#header #userMenuButton .header-block__icon,header#header #userMenuButton .header-block__title{color:#fff!important;opacity:1!important}
header#header .header-top .header-block__action-btn,header#header .header-top .header-block__action-btn *,header#header .header-top .cart-toggle,header#header .header-top .cart-toggle *,header#header .header-top .material-icons{color:#fff!important;opacity:1!important;stroke:currentColor!important}
header#header .fsdelivery-open{background:#fff!important;border:2px solid #fff!important;box-shadow:0 5px 14px rgba(45,58,28,.22)!important;color:#4b5f29!important;font-weight:750!important;opacity:1!important}
header#header .fsdelivery-open .material-icons,header#header .fsdelivery-open span{color:inherit!important;opacity:1!important}
header#header .fsdelivery-open .fsd-chip--free{background:#71863f!important;color:#fff!important}
header#header .ps-searchbar__form,header#header .ps-searchbar__input{border-bottom:0!important;box-shadow:none!important}
@media(min-width:1200px){
  .fs-header-logo img{width:130px}
  .fs-header__menu .ps-mainmenu__tree-link{font-size:.79rem;padding-left:.36rem!important;padding-right:.36rem!important}
  .fs-header__menu .ps-mainmenu__tree-dropdown-toggle{margin-left:-.48rem;transform:scale(.82)}
  .fs-header__search{flex:0 0 190px;margin-left:.65rem!important;width:190px}
  .fs-header__search .ps-searchbar__input{font-size:.88rem;padding-left:2.25rem;padding-right:.6rem}
  .header-bottom .submenu{box-shadow:0 14px 30px rgba(46,61,32,.14)}
  .header-bottom .submenu .container{max-width:1220px;padding:1.25rem 1.5rem}
  .header-bottom .submenu__row{--bs-gutter-x:0}
  .header-bottom .submenu__left{border:0!important;display:grid!important;flex:0 0 100%!important;gap:.55rem .7rem;grid-template-columns:repeat(4,minmax(0,1fr));max-width:100%!important;width:100%!important}
  .header-bottom .submenu__left-item{align-items:center;background:#f5f7ef;border:1px solid rgba(113,134,63,.18);border-radius:10px;color:#3d4d2c!important;display:flex;line-height:1.3;min-height:48px;padding:.7rem .85rem!important;transition:background .18s ease,border-color .18s ease,transform .18s ease}
  .header-bottom .submenu__left-item:hover,.header-bottom .submenu__left-item:focus-visible,.header-bottom .submenu__left-item[aria-selected=true]{background:#71863f!important;border-color:#71863f;color:#fff!important;transform:translateY(-1px)}
  .header-bottom .submenu__right{display:none!important}
}

/* Proporciones definitivas de la cabecera de escritorio. */
@media(min-width:1200px){
  header#header .header-top{min-height:46px!important}
  header#header .header-top .container,header#header .header-top .row{min-height:46px!important}
  header#header .header-bottom__container,header#header .header-bottom__row{height:auto!important;min-height:82px!important}
  header#header .header-bottom__row{padding-bottom:.55rem!important;padding-top:.55rem!important}
  header#header .fs-header-logo img{max-height:64px!important;width:155px!important}
  header#header .fs-header__menu .ps-mainmenu__tree-link{font-size:.84rem!important;font-weight:650;letter-spacing:-.01em;padding-left:.44rem!important;padding-right:.44rem!important}
  header#header .fs-header__search{flex-basis:225px!important;margin-left:.8rem!important;width:225px!important}
  header#header .fs-header__search .ps-searchbar__input{height:42px}
}

/* Cabecera desktop 2026: identidad y utilidades arriba, navegación en una fila propia. */
@media(min-width:992px){
  header#header .header-top{min-height:48px!important}
  header#header .header-top .container-md,
  header#header .header-top .header-top-desktop{min-height:48px!important}
  header#header .header-bottom__container{height:auto!important;min-height:112px!important}
  header#header .header-bottom__row{
    display:block!important;
    min-height:112px!important;
    padding:12px 0 8px!important;
    position:relative;
  }
  header#header .header-bottom__row>.logo{
    left:0;
    position:absolute;
    top:9px;
    z-index:2;
  }
  header#header .header-bottom__row>.col{
    display:grid!important;
    grid-template-columns:1fr 280px;
    grid-template-rows:48px 44px;
    min-width:0;
    padding:0!important;
    width:100%;
  }
  header#header .fs-header-logo img{
    height:62px!important;
    max-height:62px!important;
    width:158px!important;
  }
  header#header .fs-header__search{
    align-self:center;
    flex:none!important;
    grid-column:2;
    grid-row:1;
    margin:0!important;
    width:280px!important;
  }
  header#header .fs-header__search .ps-searchbar__form{
    background:#fff;
    border:1px solid rgba(61,77,44,.14)!important;
    border-radius:12px;
    overflow:hidden;
  }
  header#header .fs-header__search .ps-searchbar__input{
    font-size:.92rem!important;
    height:42px!important;
  }
  header#header .fs-header__menu{
    align-self:end;
    grid-column:1 / 3;
    grid-row:2;
    min-width:0;
    width:100%;
  }
  header#header .fs-header__menu .ps-mainmenu__tree{
    align-items:center;
    display:flex!important;
    flex-wrap:nowrap!important;
    gap:0;
    justify-content:center;
    margin:0!important;
    width:100%;
  }
  header#header .fs-header__menu .ps-mainmenu__tree-item{flex:0 0 auto}
  header#header .fs-header__menu .ps-mainmenu__tree-link{
    font-size:.88rem!important;
    font-weight:500!important;
    letter-spacing:0!important;
    line-height:1.2;
    padding:.7rem .72rem!important;
    white-space:nowrap;
  }
  header#header .fs-header__menu .ps-mainmenu__tree-dropdown-toggle{
    margin-left:-.55rem!important;
    transform:scale(.78)!important;
  }
}

@media(min-width:992px) and (max-width:1199.98px){
  header#header .fs-header__menu .ps-mainmenu__tree-link{
    font-size:.8rem!important;
    padding-left:.48rem!important;
    padding-right:.48rem!important;
  }
}

/* Rediseño definitivo desktop: franja de servicio + cabecera comercial blanca. */
@media(min-width:992px){
  header#header .header-top{
    background:#71863f!important;
    min-height:44px!important;
  }
  header#header .header-top .container-md,
  header#header .header-top .header-top-desktop{
    min-height:44px!important;
  }
  header#header .header-bottom{
    background:#fff!important;
    border-bottom:1px solid #e7e4dc!important;
    box-shadow:0 4px 14px rgba(45,58,28,.07)!important;
  }
  header#header .header-bottom__container{min-height:112px!important}
  header#header .header-bottom__row{
    display:grid!important;
    grid-template-columns:210px minmax(0,1fr);
    grid-template-rows:64px 48px;
    min-height:112px!important;
    padding:0!important;
    position:static!important;
  }
  header#header .header-bottom__row>.logo{
    align-items:center;
    display:flex!important;
    grid-column:1;
    grid-row:1;
    justify-content:flex-start;
    left:auto!important;
    position:static!important;
    top:auto!important;
  }
  header#header .header-bottom__row>.col{display:contents!important}
  header#header .fs-header-logo img{
    filter:none!important;
    height:auto!important;
    max-height:58px!important;
    object-fit:contain;
    width:185px!important;
  }
  header#header .fs-header__search{
    align-self:center;
    grid-column:2;
    grid-row:1;
    justify-self:end;
    margin:0!important;
    max-width:560px;
    width:min(100%,560px)!important;
  }
  header#header .fs-header__search .ps-searchbar__form{
    background:#f3f0e6!important;
    border:1px solid transparent!important;
    border-radius:10px!important;
    box-shadow:none!important;
  }
  header#header .fs-header__search .ps-searchbar__input{
    background:transparent!important;
    color:#3e3a36!important;
    font-size:.95rem!important;
    height:44px!important;
  }
  header#header .fs-header__search .material-icons,
  header#header .fs-header__search button{color:#526438!important}
  header#header .fs-header__menu{
    align-self:stretch;
    border-top:1px solid #efede7;
    grid-column:1 / 3;
    grid-row:2;
    min-width:0;
    width:100%;
  }
  header#header .fs-header__menu .ps-mainmenu__tree{
    align-items:center;
    display:flex!important;
    flex-wrap:nowrap!important;
    height:100%;
    justify-content:center;
    margin:0!important;
    width:100%;
  }
  header#header .fs-header__menu .ps-mainmenu__tree-link{
    color:#343b2b!important;
    font-size:.86rem!important;
    font-weight:500!important;
    letter-spacing:.005em!important;
    padding:.9rem .85rem!important;
    white-space:nowrap;
  }
  header#header .fs-header__menu .ps-mainmenu__tree-link:hover,
  header#header .fs-header__menu .ps-mainmenu__tree-link:focus-visible{
    color:#71863f!important;
    opacity:1!important;
  }
  header#header .fs-header__menu .ps-mainmenu__tree-dropdown-toggle{
    color:#71863f!important;
    margin-left:-.65rem!important;
    transform:scale(.75)!important;
  }
}

@media(min-width:992px) and (max-width:1199.98px){
  header#header .header-bottom__row{grid-template-columns:170px minmax(0,1fr)}
  header#header .fs-header-logo img{width:155px!important}
  header#header .fs-header__search{max-width:420px}
  header#header .fs-header__menu .ps-mainmenu__tree-link{
    font-size:.77rem!important;
    padding-left:.5rem!important;
    padding-right:.5rem!important;
  }
}

/* Corrección de contraste y escala sobre reglas heredadas del tema. */
@media(min-width:992px){
  header#header .header-bottom__row{grid-template-columns:290px minmax(0,1fr)}
  header#header .fs-header-logo img{
    max-height:68px!important;
    width:270px!important;
  }
  header#header .fs-header__search{max-width:700px;width:min(100%,700px)!important}
  body header#header .header-bottom .fs-header__menu a.ps-mainmenu__tree-link{
    color:#343b2b!important;
    font-weight:500!important;
    opacity:1!important;
  }
  body header#header .header-bottom .fs-header__menu a.ps-mainmenu__tree-link:hover,
  body header#header .header-bottom .fs-header__menu a.ps-mainmenu__tree-link:focus-visible{
    color:#71863f!important;
  }
  header#header .header-top #userMenuButton,
  header#header .header-top #userMenuButton *,
  header#header .header-top .cart-toggle,
  header#header .header-top .cart-toggle *{
    color:#fff!important;
    opacity:1!important;
  }
  header#header .header-top #userMenuButton svg *,
  header#header .header-top .cart-toggle svg *{
    fill:currentColor!important;
    stroke:currentColor!important;
  }
}

@media(min-width:992px) and (max-width:1199.98px){
  header#header .header-bottom__row{grid-template-columns:210px minmax(0,1fr)}
  header#header .fs-header-logo img{width:195px!important}
  header#header .fs-header__search{max-width:480px}
}

/* Separación estricta de buscador y navegación. */
@media(min-width:992px){
  header#header .header-bottom__container{min-height:128px!important}
  header#header .header-bottom__row{
    grid-template-rows:78px 50px!important;
    min-height:128px!important;
  }
  header#header .header-bottom__row>.logo{
    align-self:center!important;
    grid-row:1!important;
  }
  header#header .fs-header__search{
    align-self:center!important;
    grid-row:1!important;
    height:46px!important;
    min-height:46px!important;
    position:relative;
    z-index:2;
  }
  header#header .fs-header__search #_desktop_ps_searchbar,
  header#header .fs-header__search .ps-searchbar,
  header#header .fs-header__search .ps-searchbar__form{
    height:46px!important;
    min-height:46px!important;
    width:100%!important;
  }
  header#header .fs-header__menu{
    align-self:stretch!important;
    border-top:1px solid #efede7!important;
    grid-row:2!important;
    position:relative;
    z-index:1;
  }
  header#header .fs-header__menu .ps-mainmenu__tree{height:50px!important}
}

/* Buscador en la barra de servicio; logo y menú en una única fila limpia. */
@media(min-width:992px){
  header#header .header-top{min-height:58px!important}
  header#header .header-top .container-md,
  header#header .header-top .header-top-desktop{min-height:58px!important}
  header#header .fs-header__search--top{
    display:flex!important;
    height:auto!important;
    justify-content:center;
    min-height:0!important;
    padding-left:1rem;
    padding-right:1rem;
  }
  header#header .fs-header__search--top #_desktop_ps_searchbar,
  header#header .fs-header__search--top .ps-searchbar,
  header#header .fs-header__search--top .ps-searchbar__form{
    height:40px!important;
    min-height:40px!important;
    width:100%!important;
  }
  header#header .fs-header__search--top .ps-searchbar__form{
    background:#fff!important;
    border:0!important;
    border-radius:10px!important;
    overflow:hidden;
  }
  header#header .fs-header__search--top .ps-searchbar__input{
    background:#fff!important;
    color:#3e3a36!important;
    font-size:.9rem!important;
    height:40px!important;
  }
  header#header .fs-header__search--top .material-icons,
  header#header .fs-header__search--top button{color:#526438!important}
  header#header .header-bottom__container{min-height:82px!important}
  header#header .header-bottom__row{
    align-items:center!important;
    display:grid!important;
    grid-template-columns:290px minmax(0,1fr)!important;
    grid-template-rows:82px!important;
    min-height:82px!important;
    padding:0!important;
  }
  header#header .header-bottom__row>.logo{
    align-self:center!important;
    grid-column:1!important;
    grid-row:1!important;
  }
  header#header .header-bottom__row>.col{
    display:block!important;
    grid-column:2!important;
    grid-row:1!important;
    min-width:0;
  }
  header#header .fs-header__menu{
    border:0!important;
    display:block!important;
    grid-column:auto!important;
    grid-row:auto!important;
    width:100%!important;
  }
  header#header .fs-header__menu .ps-mainmenu__tree{
    height:82px!important;
    justify-content:flex-end!important;
  }
}

/* Barra superior desktop en una única fila estable. */
@media(min-width:992px){
  header#header .header-top,
  header#header .header-top .container-md,
  header#header .header-top .header-top-desktop{min-height:58px!important}
  header#header .header-top .header-top-desktop{
    align-items:center!important;
    column-gap:20px;
    display:grid!important;
    grid-template-columns:230px minmax(320px,1fr) auto;
    margin-left:0!important;
    margin-right:0!important;
    width:100%;
  }
  header#header .header-top__left,
  header#header .fs-header__search--top,
  header#header .header-top__right{
    float:none!important;
    margin:0!important;
    max-width:none!important;
    padding:0!important;
    width:auto!important;
  }
  header#header .fs-header__search--top{min-width:0!important}
  header#header .header-top__right{
    align-items:center!important;
    display:flex!important;
    flex-wrap:nowrap!important;
    gap:18px;
    justify-content:flex-end!important;
    white-space:nowrap;
  }
  header#header .header-top__right>*{
    flex:0 0 auto!important;
    margin:0!important;
    max-width:none!important;
    width:auto!important;
  }
  header#header .header-top__right .header-block,
  header#header .header-top__right .header-block__action-btn{margin:0!important}
}

@media(min-width:992px) and (max-width:1199.98px){
  header#header .header-top .header-top-desktop{
    column-gap:12px;
    grid-template-columns:180px minmax(260px,1fr) auto;
  }
  header#header .header-top__right{gap:10px}
}
