/* Pezhinal reusable product search — canonical shared component owner */
.pz-search-box{
    position:relative;
    z-index:12;
    width:100%;
    margin:0;
}
.pz-search-box__control{
    position:relative;
    z-index:2;
    display:flex;
    align-items:center;
    width:100%;
    min-height:48px;
    overflow:hidden;
    border:1px solid #e7dcc9;
    border-radius:14px;
    background:rgba(255,255,255,.97);
    box-shadow:0 9px 26px rgba(28,24,17,.045);
    transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease;
}
.pz-search-box__control:focus-within,
.pz-search-box.is-open .pz-search-box__control{
    border-color:#c79a43;
    background:#fff;
    box-shadow:0 0 0 3px rgba(190,145,53,.10),0 12px 30px rgba(28,24,17,.06);
}
.pz-search-box__input{
    width:100% !important;
    height:48px !important;
    min-height:48px !important;
    margin:0 !important;
    padding:0 15px 0 54px !important;
    border:0 !important;
    outline:0 !important;
    background:transparent !important;
    color:#20201f !important;
    font-family:inherit !important;
    font-size:13px !important;
    font-weight:650 !important;
    line-height:48px !important;
    box-shadow:none !important;
    -webkit-appearance:none;
    appearance:none;
}
.pz-search-box__input::placeholder{color:#969087 !important;opacity:1;font-weight:500}
.pz-search-box__input::-webkit-search-cancel-button{display:none}
body.pezhinal-stage3-design-system .pz-search-box__submit,
.pz-search-box__submit{
    position:absolute !important;
    left:6px !important;
    right:auto !important;
    top:50% !important;
    z-index:2;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    box-sizing:border-box !important;
    width:36px !important;
    height:36px !important;
    min-width:36px !important;
    min-height:36px !important;
    margin:0 !important;
    padding:0 !important;
    border:1px solid rgba(190,145,53,.28) !important;
    border-radius:10px !important;
    background:#fbf7ee !important;
    color:#a77722 !important;
    line-height:1 !important;
    cursor:pointer;
    transform:translateY(-50%) !important;
    box-shadow:none !important;
    transition:background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease !important;
}
body.pezhinal-stage3-design-system .pz-search-box__submit:hover,
body.pezhinal-stage3-design-system .pz-search-box__submit:focus-visible,
.pz-search-box__submit:hover,
.pz-search-box__submit:focus-visible{
    background:#be9135 !important;
    border-color:#be9135 !important;
    color:#fff !important;
    transform:translateY(-50%) !important;
    box-shadow:0 7px 16px rgba(190,145,53,.16) !important;
    outline:0 !important;
}
.pz-search-box__submit svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Live result layer: visually shows about four products, but the full matching
   result set continues to load automatically as the user scrolls. */
.pz-search-box__panel{
    position:absolute;
    top:calc(100% + 8px);
    right:0;
    left:0;
    z-index:40;
    box-sizing:border-box;
    overflow:hidden;
    border:1px solid rgba(190,145,53,.28);
    border-radius:16px;
    background:rgba(255,255,255,.985);
    box-shadow:0 24px 56px rgba(28,24,17,.16),0 3px 12px rgba(28,24,17,.06);
    opacity:0;
    transform:translateY(-6px) scale(.988);
    transform-origin:top center;
    pointer-events:none;
    transition:opacity .2s ease,transform .24s cubic-bezier(.2,.72,.2,1);
}
.pz-search-box__panel[hidden]{display:block !important;visibility:hidden}
.pz-search-box.is-open .pz-search-box__panel{visibility:visible;opacity:1;transform:translateY(0) scale(1);pointer-events:auto}
.pz-search-box__panel-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    min-height:42px;
    padding:9px 12px 8px;
    border-bottom:1px solid #efe8dc;
    background:linear-gradient(180deg,#fff,#fffdf9);
}
.pz-search-box__panel-title{font-size:11.5px;font-weight:800;color:#282622}
.pz-search-box__panel-meta{font-size:10px;font-weight:600;color:#9b7a3b;text-align:left}
.pz-search-box__panel-meta strong{font-weight:850;color:#a77722}
.pz-search-box__results{
    max-height:min(390px,52vh);
    overflow-y:auto;
    overflow-x:hidden;
    overscroll-behavior:contain;
    scrollbar-width:thin;
    scrollbar-color:#d2aa5b transparent;
    scroll-behavior:smooth;
}
.pz-search-box__results::-webkit-scrollbar{width:5px;height:0}
.pz-search-box__results::-webkit-scrollbar:horizontal{height:0}
.pz-search-box__results::-webkit-scrollbar-track{background:transparent}
.pz-search-box__results::-webkit-scrollbar-thumb{background:#d2aa5b;border-radius:999px}
.pz-search-result{
    position:relative;
    display:grid;
    grid-template-columns:68px minmax(0,1fr) 16px;
    align-items:center;
    gap:10px;
    box-sizing:border-box;
    width:100%;
    max-width:100%;
    min-width:0;
    min-height:82px;
    padding:8px 10px;
    color:#242321 !important;
    text-decoration:none !important;
    border-bottom:1px solid #f0ebe3;
    background:#fff;
    transition:background-color .16s ease,transform .16s ease;
}
.pz-search-result:last-child{border-bottom:0}
.pz-search-result:hover,.pz-search-result:focus-visible{background:#fcf8f0;outline:0;transform:none !important}
.pz-search-result__media{
    display:flex;
    align-items:center;
    justify-content:center;
    width:68px;
    height:68px;
    overflow:hidden;
    border:1px solid #ece7df;
    border-radius:12px;
    background:#f3f2f6;
}
.pz-search-result__media img{display:block;width:100%;height:100%;object-fit:contain;margin:0 !important}
.pz-search-result__content{display:flex;flex-direction:column;align-items:flex-start;min-width:0;max-width:100%;overflow:hidden;gap:3px;text-align:right}
.pz-search-result__name{
    display:-webkit-box;
    overflow:hidden;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    font-size:11.5px;
    line-height:1.65;
    font-weight:800;
    color:#272521;
    overflow-wrap:anywhere;
}
.pz-search-result__details{display:flex;align-items:center;flex-wrap:wrap;gap:4px;max-width:100%;font-size:9.6px;line-height:1.45;font-weight:650;color:#817b72}
.pz-search-result__size,.pz-search-result__code{font:inherit;color:inherit;overflow-wrap:anywhere}
.pz-search-result__dot{color:#c8b897;font-size:8px}
.pz-search-result__price{max-width:100%;font-size:10.5px;line-height:1.5;font-weight:800;color:#a77722;white-space:normal;overflow-wrap:anywhere}
.pz-search-result__price del{opacity:.55;font-size:.9em}
.pz-search-result__price ins{text-decoration:none}
.pz-search-result__arrow{justify-self:center;font-size:15px;color:#bb8c31;transform:none !important;transition:color .16s ease,opacity .16s ease}
.pz-search-result:hover .pz-search-result__arrow{color:#9c6d18;opacity:.8;transform:none !important}
.pz-search-result.is-out-of-stock{background:#fffdf9}
.pz-search-result.is-out-of-stock .pz-search-result__media{opacity:.78}
.pz-search-result.is-out-of-stock .pz-search-result__name{color:#5f5a52}
.pz-search-box__status{
    min-height:0;
    padding:0 12px;
    font-size:9.8px;
    line-height:1.65;
    font-weight:600;
    color:#8b8479;
    text-align:center;
    background:#fffdf9;
}
.pz-search-box__status:not(:empty){padding-top:7px;padding-bottom:7px;border-top:1px solid #f1ebe2}
.pz-search-box__loader{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    box-sizing:border-box;
    width:100%;
    min-height:42px;
    padding:10px 12px;
    border-top:1px solid #f1ebe2;
    background:#fffdf9;
    color:#8b7449;
    font-size:9.8px;
    line-height:1.5;
    font-weight:700;
    text-align:center;
}
.pz-search-box__loader[hidden]{display:none !important}
.pz-search-box__loader-spinner{
    width:12px;
    height:12px;
    flex:0 0 12px;
    border:1.5px solid rgba(190,145,53,.25);
    border-top-color:#be9135;
    border-radius:50%;
    animation:pz-search-spin .7s linear infinite;
}
@keyframes pz-search-spin{to{transform:rotate(360deg)}}

@media (max-width:767px){
    .pz-search-box{z-index:22}
    .pz-search-box__control{min-height:50px;border-radius:13px}
    .pz-search-box__input{height:50px !important;min-height:50px !important;line-height:50px !important;font-size:13.5px !important}
    .pz-search-box__submit{width:38px !important;height:38px !important;min-width:38px !important;min-height:38px !important}
    .pz-search-box__panel{top:calc(100% + 7px);border-radius:14px;box-shadow:0 18px 42px rgba(24,22,18,.18)}
    .pz-search-box__results{max-height:min(365px,50vh)}
    .pz-search-result{grid-template-columns:64px minmax(0,1fr) 14px;min-height:78px;padding:7px 9px;gap:9px}
    .pz-search-result__media{width:64px;height:64px;border-radius:11px}
    .pz-search-result__name{font-size:11.2px}
    .pz-search-result__details{font-size:9.3px}
    .pz-search-result__price{font-size:10.2px}
}

@media (prefers-reduced-motion:reduce){
    .pz-search-box__panel,.pz-search-result,.pz-search-result__arrow{transition:none !important}
    .pz-search-box__loader-spinner{animation:none}
}
\n\n/* V22: search result list owns its horizontal geometry. */\n.pz-search-box__panel,.pz-search-box__results{max-width:100%;}\n.pz-search-box__results>*{max-width:100%;}\nbody.pezhinal-stage3-design-system .pz-search-result:hover,\nbody.pezhinal-stage3-design-system .pz-search-result:focus-visible{transform:none !important;}\n
/* V24 — one exact result geometry + hidden scrollbar, shared everywhere. */
.pz-search-box__results {
    overflow-x: hidden !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}
.pz-search-box__results::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
}
.pz-search-result {
    height: 104px !important;
    min-height: 104px !important;
    max-height: 104px !important;
    grid-template-columns: 72px minmax(0,1fr) 18px !important;
    gap: 10px !important;
    padding: 8px 10px !important;
    overflow: hidden !important;
}
.pz-search-result__media {
    width: 72px !important;
    height: 72px !important;
}
.pz-search-result__content {
    height: 86px !important;
    justify-content: center !important;
    gap: 2px !important;
}
.pz-search-result__name {
    min-height: 38px !important;
    max-height: 38px !important;
    line-height: 1.65 !important;
    -webkit-line-clamp: 2 !important;
}
.pz-search-result__details {
    width: 100% !important;
    min-height: 15px !important;
    max-height: 15px !important;
    display: block !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
}
.pz-search-result__price {
    min-height: 17px !important;
    max-height: 17px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
}

@media (max-width: 1024px) {
    /* The same canonical live-search form is moved into the mobile header. */
    .elementor-location-header .pz-header-search .pz-search-box { display: none !important; }
    .elementor-location-header .pz-mobile-header-search .pz-search-box { display: block !important; }
}
