/* Independent storefront/page header. It never styles the shop grid/card runtime. */
.suc-page-header{width:100%;box-sizing:border-box;position:relative;z-index:90;direction:rtl;clear:both}
.suc-page-header,.suc-page-header *{box-sizing:border-box}
.suc-page-header__surface{position:relative;width:100%;margin-inline:auto;overflow:visible;isolation:isolate;transition:box-shadow .2s ease,border-color .2s ease,background-color .2s ease}
.suc-page-header__item{position:absolute;left:50%;top:50%;align-items:center;justify-content:center;transform:translate(calc(-50% + var(--suc-x,0px)),calc(-50% - var(--suc-y,0px)));white-space:nowrap;z-index:2;transition:transform .18s ease,opacity .18s ease}

.suc-header-device-content{display:none!important}
.suc-header-device-content--desktop{display:flex!important}
@media(max-width:1024px){.suc-header-device-content--desktop{display:none!important}.suc-header-device-content--tablet{display:flex!important}}
@media(max-width:767px){.suc-header-device-content--desktop,.suc-header-device-content--tablet{display:none!important}.suc-header-device-content--mobile{display:flex!important}}

.suc-page-header__item a{color:inherit;text-decoration:none!important;outline:0!important;transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease}
.suc-page-header__item a:hover{text-decoration:none!important}
.suc-page-header__item img{display:block;max-width:none;margin:0}
.suc-page-header__item svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.suc-header-action__icon{display:flex;align-items:center;justify-content:center}.suc-header-action__icon img{width:100%;height:100%;object-fit:contain}
.suc-header-action__text{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.2}
.suc-page-header__item>.suc-header-action:hover{transform:translateY(-1px)}

/* Logo is intentionally allowed to extend outside the surface. */
.suc-page-header__item--logo{z-index:6;pointer-events:auto}.suc-page-header__item--logo .suc-header-logo{overflow:visible!important}.suc-page-header__item--logo img{display:block}

/* Search */
.suc-header-search{margin:0;padding:0;position:relative}
.suc-header-search input[type="search"]{display:block;flex:1 1 auto;min-width:0;width:auto;height:100%;margin:0!important;padding:0 14px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;text-align:right!important;line-height:1!important;-webkit-appearance:none;appearance:none}
.suc-header-search input[type="search"]::-webkit-search-cancel-button{display:none}
.suc-header-search button{flex:0 0 auto;align-self:stretch;height:calc(100% - 8px);margin:4px 4px 4px 5px!important;padding:0!important;border:0!important;border-radius:9px!important;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:none!important;line-height:1}
.suc-header-search button img{object-fit:contain}

/* Cart badge */
.suc-page-header__item--cart>.suc-header-action{position:relative;overflow:visible}
.suc-header-cart-badge{position:absolute;top:-7px;right:-7px;min-width:19px;height:19px;padding:0 5px;border:2px solid #fff;border-radius:999px;align-items:center;justify-content:center;font-size:9px;font-weight:800;line-height:1;box-shadow:0 2px 7px rgba(45,41,74,.15)}

/* Avoid inherited theme rules from stretching WooCommerce/header controls. */
.woocommerce .suc-page-header input,.woocommerce .suc-page-header button,.woocommerce .suc-page-header a{font:inherit}
.woocommerce .suc-page-header button{min-width:0}

@media(max-width:767px){
  .suc-page-header__item--search[style*="width:42px"] .suc-header-search input{display:none}
  .suc-page-header__item--search[style*="width:42px"] .suc-header-search button{width:100%!important;height:100%!important;margin:0!important;border-radius:inherit!important}
}
