/* Clasico Next 1.1.30 HOTFIX7: safe left/right room and balanced search/cart.
   Strictly desktop/laptop; mobile layout stays unchanged. */
@media (min-width:1024px) {
  html #header.cn-header .cn-header-main.cn130-header-main.container {
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    padding-left:clamp(24px,2vw,44px)!important;
    padding-right:clamp(32px,2.5vw,54px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
    min-width:0!important;
  }
  html #header.cn-header .cn130-header-main .cn-logo {min-width:0!important;}
  html #header.cn-header .cn130-header-main .cn-header-actions {
    display:flex!important;
    justify-content:flex-end!important;
    flex-shrink:0!important;
    min-width:max-content!important;
    max-width:100%!important;
    padding-right:2px!important;
    box-sizing:border-box!important;
  }
  html #header.cn-header .cn130-header-main .cn-header-actions .blockcart,
  html #header.cn-header .cn130-header-main .cn-header-actions .cn-cart-widget {
    flex:0 0 auto!important;
    min-width:max-content!important;
    max-width:100%!important;
  }
  html #header.cn-header .cn130-header-main .cn-header-actions .blockcart .header > a {
    display:inline-flex!important;
    align-items:center!important;
    max-width:100%!important;
    white-space:nowrap!important;
  }
  /* Full search layouts: bounded central column so shopping cart cannot be clipped. */
  html.cn132-profile-split #header.cn-header .cn130-header-main,
  html.cn132-profile-classic #header.cn-header .cn130-header-main {
    grid-template-columns:minmax(140px, min(14vw,230px)) minmax(0,1fr) minmax(250px,max-content)!important;
    column-gap:clamp(16px,2vw,32px)!important;
  }
  html.cn132-profile-split #header.cn-header .cn130-header-main .cn-search-area,
  html.cn132-profile-classic #header.cn-header .cn130-header-main .cn-search-area {
    width:100%!important;
    max-width:880px!important;
    min-width:0!important;
    margin:0 auto!important;
    box-sizing:border-box!important;
  }
  html.cn132-profile-split #header.cn-header .cn130-header-main .cn-search-area .search-widget,
  html.cn132-profile-classic #header.cn-header .cn130-header-main .cn-search-area .search-widget {
    max-width:100%!important;
    min-width:0!important;
  }
}
@media (min-width:1024px) and (max-width:1279px){
  html #header.cn-header .cn-header-main.cn130-header-main.container {
    padding-left:22px!important;
    padding-right:30px!important;
  }
  html.cn132-profile-split #header.cn-header .cn130-header-main,
  html.cn132-profile-classic #header.cn-header .cn130-header-main {
    grid-template-columns:minmax(116px,155px) minmax(0,1fr) minmax(190px,max-content)!important;
    column-gap:14px!important;
  }
  html #header.cn-header .cn130-header-main .cn-header-actions {gap:8px!important;}
}
@media (min-width:1024px) and (max-width:1120px){
  html #header.cn-header .cn130-header-main .cn-account-link strong {display:none!important;}
}
