/* Pakiza Shopper FirstCry-style utility links v1.3.4 */
#pakiza-header-tools-portal{display:block!important;position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;z-index:2147483000!important;min-height:38px!important;margin:0!important;padding:0!important;background:#fff!important;visibility:visible!important;opacity:1!important;box-shadow:0 1px 5px rgba(0,0,0,.08)!important;}
body:not(.pzh-header-links-mounted){padding-top:38px!important;}
body.admin-bar #pakiza-header-tools-portal{top:32px!important;}
@media(max-width:782px){body.admin-bar #pakiza-header-tools-portal{top:46px!important;}}
body.pzh-header-links-mounted{padding-top:0!important;}
#pakiza-header-tools-portal .pakiza-header-tools{display:block!important;position:static!important;width:100%!important;min-height:38px!important;margin:0!important;padding:0!important;background:#fff!important;border:0!important;box-shadow:none!important;}
.pakiza-header-tools{display:block;position:relative;z-index:99998;width:100%;min-width:0;background:#fff;border-bottom:1px solid #e9e9e9;box-shadow:0 1px 4px rgba(0,0,0,.035);font-family:Arial,sans-serif;box-sizing:border-box;}
.pakiza-header-tools-inner{max-width:1240px;margin:0 auto;min-height:38px;display:flex;align-items:center;justify-content:flex-end;gap:0;white-space:nowrap;box-sizing:border-box;}
.pakiza-util-link{appearance:none!important;background:transparent!important;border:0!important;border-right:1px solid #e2e2e2!important;border-radius:0!important;text-decoration:none!important;color:#333!important;font:500 10.5px/1.2 Arial,sans-serif!important;padding:6px 6px!important;display:inline-flex!important;align-items:center!important;justify-content:center;gap:4px!important;cursor:pointer;white-space:nowrap!important;box-shadow:none!important;min-width:0;}
.pakiza-util-link:last-child{border-right:0!important;}
.pakiza-util-link:hover,.pakiza-util-link:focus{color:#e91e63!important;background:transparent!important;}
.pzh-icon{font-size:14px;line-height:1;display:inline-block;}
.pzh-shortlist-count{min-width:14px;height:14px;padding:0 3px;border-radius:10px;background:#e91e63;color:#fff;font-size:9px;display:inline-flex;align-items:center;justify-content:center;line-height:1;}
.pzh-cart-count{font-size:10px;color:#e91e63;font-weight:700;}
.pzh-cart-icon{width:17px;height:17px;display:inline-block;flex:0 0 17px;}
.pzh-location-value{font-size:10px;color:#777;}
/* The bar is placed beside the search box in the same header row when detected. */
.pzh-utility-header-row{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:8px!important;box-sizing:border-box!important;min-width:0!important;}
.pzh-utility-header-row>.pzh-header-logo-branch{flex:0 1 180px!important;min-width:105px!important;max-width:190px!important;}
.pzh-utility-header-row>.pzh-header-logo-branch img,.pzh-utility-header-row>.pzh-header-logo-branch .custom-logo{max-width:100%!important;height:auto!important;}
.pzh-utility-header-row>.pzh-header-search-branch{flex:0 1 270px!important;min-width:180px!important;max-width:330px!important;}
.pzh-utility-header-row>.pzh-header-search-branch form,.pzh-utility-header-row>.pzh-header-search-branch .search-form,.pzh-utility-header-row>.pzh-header-search-branch .wp-block-search{width:100%!important;max-width:100%!important;min-width:0!important;}
.pzh-utility-header-row>.pzh-header-search-branch input[type=search],.pzh-utility-header-row>.pzh-header-search-branch input[type=text]{max-width:100%!important;box-sizing:border-box!important;}
.pzh-utility-header-row>.pakiza-header-tools{flex:1 1 500px!important;min-width:0!important;width:auto!important;max-width:none!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important;}
.pzh-utility-header-row .pakiza-header-tools-inner{width:100%;max-width:none;min-width:0;justify-content:flex-end;overflow:visible;}
.pzh-header-duplicate-actions{display:none!important;}
.pakiza-header-tools.pzh-header-tools-fallback{position:relative!important;top:auto!important;left:auto!important;right:auto!important;width:100%!important;min-height:38px!important;background:#fff!important;}
.pakiza-header-tools.pzh-header-tools-fallback .pakiza-header-tools-inner{max-width:1240px;margin:0 auto;justify-content:flex-end;overflow-x:auto;}
.pzh-location-modal[hidden]{display:none!important;}
.pzh-location-modal{position:fixed;inset:0;z-index:2147483001;}
.pzh-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.45);}
.pzh-modal-card{position:relative;background:#fff;width:min(440px,calc(100% - 30px));margin:12vh auto 0;padding:26px;border-radius:12px;box-shadow:0 20px 70px rgba(0,0,0,.25);font-family:Arial,sans-serif;}
.pzh-modal-close{position:absolute;right:12px;top:8px;border:0;background:none;font-size:27px;cursor:pointer;}
.pzh-modal-card h3{margin:0 0 8px;font-size:21px;}
.pzh-modal-card p{margin:0 0 18px;color:#666;}
.pzh-location-form{display:flex;gap:8px;}
.pzh-location-input{flex:1;min-width:0;border:1px solid #ddd;border-radius:6px;padding:11px;}
.pzh-location-save,.pzh-primary-btn{border:0;border-radius:6px;background:#ed1b6f;color:#fff;padding:11px 18px;font-weight:700;cursor:pointer;}
.pzh-location-msg{margin-top:10px;font-size:13px;}
.pakiza-shortlist-page,.pakiza-track-page{max-width:1180px;margin:30px auto;padding:0 20px}.pzh-page-heading{display:flex;justify-content:space-between;align-items:end;border-bottom:1px solid #eee;padding-bottom:14px;margin-bottom:22px}.pzh-page-heading h1{margin:0;font-size:28px}.pzh-page-heading span{color:#777;font-size:13px}.pzh-shortlist-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.pzh-short-card{border:1px solid #eee;border-radius:8px;background:#fff;padding:10px;position:relative}.pzh-short-card img{display:block;width:100%;height:230px;object-fit:contain;background:#fff}.pzh-short-card h3{font-size:14px;line-height:1.35;margin:9px 0 5px}.pzh-short-price{font-weight:700;margin-bottom:10px}.pzh-short-card a{text-decoration:none;color:inherit}.pzh-remove-short{border:0;background:#fff;color:#777;cursor:pointer;font-size:12px;padding:0}.pzh-empty-heart{font-size:60px;color:#e91e63}.pzh-shortlist-empty{text-align:center;padding:70px 20px}.pzh-track-form{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;margin-bottom:20px}.pzh-track-form input{border:1px solid #ddd;border-radius:6px;padding:12px}.pzh-track-result{min-height:30px}.pzh-track-card{border:1px solid #eee;border-radius:10px;padding:22px;background:#fff}.pzh-track-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:20px}.pzh-track-summary div{background:#fafafa;padding:12px;border-radius:7px}.pzh-track-summary strong{display:block;font-size:11px;color:#777;text-transform:uppercase;margin-bottom:4px}.pzh-order-item{display:flex;align-items:center;gap:12px;border-top:1px solid #eee;padding:12px 0}.pzh-order-item img{width:58px;height:58px;object-fit:contain}.pzh-track-error{padding:12px;background:#fff0f3;color:#b00035;border-radius:6px}
.pzf-admin-top{display:flex;gap:22px;flex-wrap:wrap;background:#fff;border:1px solid #dcdcde;padding:14px 16px;margin:16px 0}.pzf-settings-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:start}.pzf-section{background:#fff;border:1px solid #dcdcde;margin:0 0 14px;padding:12px;border-radius:6px}.pzf-section-head{display:flex;align-items:center;gap:8px;margin-bottom:10px}.pzf-drag,.pzf-item-drag{cursor:grab;color:#777;font-size:18px}.pzf-section-title{flex:1;font-weight:700;padding:7px 9px}.pzf-item{display:grid;grid-template-columns:24px 1fr 1.4fr 34px;gap:8px;align-items:center;margin:8px 0}.pzf-item input{width:100%;padding:7px 8px}.pzf-remove-section{color:#a00}.pzf-side{background:#fff;border:1px solid #dcdcde;padding:14px 18px}.pzf-side .form-table th{width:100px}

@media(max-width:1100px){
 .pzh-utility-header-row{gap:5px!important;}
 .pzh-utility-header-row>.pzh-header-logo-branch{flex-basis:150px!important;min-width:90px!important;}
 .pzh-utility-header-row>.pzh-header-search-branch{flex-basis:220px!important;min-width:150px!important;}
 .pakiza-util-link{font-size:9.5px!important;padding:5px 4px!important;gap:3px!important;}
}
@media(max-width:900px){
 .pzh-utility-header-row{flex-wrap:wrap!important;justify-content:space-between!important;}
 .pzh-utility-header-row>.pzh-header-logo-branch{flex:0 1 170px!important;max-width:45%!important;}
 .pzh-utility-header-row>.pzh-header-search-branch{flex:1 1 220px!important;max-width:100%!important;}
 .pzh-utility-header-row>.pakiza-header-tools{order:5;flex:1 0 100%!important;width:100%!important;}
 .pzh-utility-header-row .pakiza-header-tools-inner{justify-content:flex-start;overflow-x:auto;scrollbar-width:none;}
 .pzh-utility-header-row .pakiza-header-tools-inner::-webkit-scrollbar{display:none;}
 .pakiza-util-link{font-size:10px!important;padding:7px 8px!important;}
 .pzh-shortlist-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
 .pzh-track-form{grid-template-columns:1fr;}
 .pzh-track-summary{grid-template-columns:repeat(2,1fr);}
 .pzf-settings-grid{grid-template-columns:1fr;}
}
@media(max-width:700px){
 .pzf-item{grid-template-columns:24px 1fr 34px;}
 .pzf-item input:nth-of-type(2){grid-column:2/4;}
 .pzf-section-head{flex-wrap:wrap;}
 .pzf-section-title{min-width:160px;}
 .pzh-utility-header-row>.pzh-header-logo-branch{flex-basis:135px!important;}
 .pzh-utility-header-row>.pzh-header-search-branch{flex-basis:180px!important;}
}
@media(max-width:520px){
 .pzh-shortlist-grid{grid-template-columns:1fr;}
 .pzh-page-heading{display:block;}
 .pzh-page-heading span{display:block;margin-top:5px;}
 .pzh-utility-header-row>.pzh-header-logo-branch{flex:0 0 100%!important;max-width:100%!important;text-align:center;}
 .pzh-utility-header-row>.pzh-header-search-branch{flex:1 1 100%!important;max-width:100%!important;}
}


/* Pakiza Shopper v1.3.5: remove the existing promo strip by text detection in JS, then compact the header. */
body.pzh-compact-header .pzh-utility-header-row{
 height:88px!important;min-height:88px!important;max-height:100px!important;
 padding:4px 8px!important;margin-top:0!important;margin-bottom:0!important;
 box-sizing:border-box!important;align-items:center!important;overflow:visible!important;
}
body.pzh-compact-header .pzh-utility-header-row>.pzh-header-logo-branch,
body.pzh-compact-header .pzh-utility-header-row>.pzh-header-search-branch,
body.pzh-compact-header .pzh-utility-header-row>.pakiza-header-tools{
 margin-top:0!important;margin-bottom:0!important;padding-top:0!important;padding-bottom:0!important;
}
body.pzh-compact-header .pzh-utility-header-row>.pzh-header-logo-branch img,
body.pzh-compact-header .pzh-utility-header-row>.pzh-header-logo-branch .custom-logo{
 max-height:62px!important;height:auto!important;object-fit:contain!important;
}
body.pzh-compact-header .pzh-utility-header-row .pzh-header-search-branch form,
body.pzh-compact-header .pzh-utility-header-row .pzh-header-search-branch .search-form,
body.pzh-compact-header .pzh-utility-header-row .pzh-header-search-branch .wp-block-search{
 margin:0!important;
}
body.pzh-compact-header .pzh-utility-header-row .pzh-header-search-branch input[type=search],
body.pzh-compact-header .pzh-utility-header-row .pzh-header-search-branch input[type=text]{
 height:42px!important;min-height:42px!important;padding-top:7px!important;padding-bottom:7px!important;
}
body.pzh-compact-header .pzh-utility-header-row .pakiza-header-tools-inner{
 min-height:34px!important;height:auto!important;
}
body.pzh-compact-header .pzh-utility-header-row .pakiza-util-link{
 padding:4px 5px!important;font-size:10px!important;line-height:1.15!important;
}
body.pzh-compact-header .pzh-compact-category-nav{
 height:44px!important;min-height:44px!important;max-height:50px!important;
 padding-top:0!important;padding-bottom:0!important;margin-top:0!important;margin-bottom:0!important;
 box-sizing:border-box!important;display:flex!important;align-items:center!important;overflow:visible!important;
}
body.pzh-compact-header .pzh-compact-category-nav a,
body.pzh-compact-header .pzh-compact-category-nav button{
 padding-top:8px!important;padding-bottom:8px!important;line-height:1.15!important;margin-top:0!important;margin-bottom:0!important;
}
@media(max-width:900px){
 body.pzh-compact-header .pzh-utility-header-row{
  height:auto!important;min-height:76px!important;max-height:none!important;padding:6px 8px!important;flex-wrap:wrap!important;
 }
 body.pzh-compact-header .pzh-utility-header-row>.pakiza-header-tools{min-height:32px!important;}
 body.pzh-compact-header .pzh-compact-category-nav{height:auto!important;min-height:42px!important;max-height:none!important;flex-wrap:wrap!important;}
}
