/* EsigaraHane Phase 12
   Apple-inspired orange responsive storefront
*/

:root{
    --esh-orange:#F4772E;
    --esh-orange-deep:#DF6220;
    --esh-orange-dark:#C94F10;
    --esh-orange-soft:#FFF1E8;
    --esh-orange-faint:#FFF8F3;
    --esh-ink:#1D1D1F;
    --esh-text:#3D4248;
    --esh-muted:#7A8189;
    --esh-border:#E4E7EB;
    --esh-bg:#F7F8FA;
    --esh-white:#FFFFFF;
    --esh-shadow:0 14px 36px rgba(29,29,31,.08);
}

body{
    background:#fff;
    color:var(--esh-ink);
}

a{color:inherit}

.esh-servicebar{
    background:var(--esh-orange);
    color:#fff;
    min-height:30px;
}

.esh-servicebar-inner{
    min-height:30px;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:22px;
    font-size:10px;
    font-weight:750;
    letter-spacing:.02em;
}

.esh-header{
    position:relative;
    z-index:110;
    background:#fff;
    border-bottom:1px solid var(--esh-border);
}

.esh-header-top{
    min-height:88px;
    display:grid;
    grid-template-columns:auto 1fr auto;
    gap:34px;
    align-items:center;
}

.esh-logo{
    display:flex;
    align-items:center;
    text-decoration:none;
    min-width:170px;
}

.esh-logo img{
    display:block;
    max-width:180px;
    max-height:64px;
    object-fit:contain;
}

.esh-logo span{
    color:var(--esh-ink);
    font-size:26px;
    font-weight:900;
    letter-spacing:-.04em;
}

.esh-main-nav{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:26px;
}

.esh-main-nav a{
    position:relative;
    padding:34px 0 30px;
    color:#2C3035;
    text-decoration:none;
    font-size:12px;
    font-weight:800;
}

.esh-main-nav a::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:24px;
    height:2px;
    border-radius:999px;
    background:var(--esh-orange);
    transform:scaleX(0);
    transition:transform .18s ease;
}

.esh-main-nav a:hover::after,
.esh-main-nav a.active::after{
    transform:scaleX(1);
}

.esh-header-actions{
    display:flex;
    align-items:center;
    gap:10px;
}

.esh-head-action{
    min-width:58px;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:4px;
    text-decoration:none;
    color:#42484F;
    font-size:9px;
    font-weight:800;
}

.esh-head-action svg{
    width:22px;
    height:22px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.5;
}

.esh-head-action:hover{
    color:var(--esh-orange);
}

.esh-mobile-menu-button{
    display:none;
    width:40px;
    height:40px;
    border:1px solid var(--esh-border);
    border-radius:10px;
    background:#fff;
    padding:9px;
}

.esh-mobile-menu-button span{
    display:block;
    height:2px;
    margin:4px 0;
    border-radius:99px;
    background:var(--esh-ink);
}

.esh-search-band{
    background:#fff;
    border-top:1px solid #F0F1F3;
}

.esh-search-band-inner{
    min-height:70px;
    display:grid;
    grid-template-columns:260px minmax(0,1fr) 150px;
    align-items:center;
    gap:14px;
}

.esh-category-trigger{
    height:48px;
    display:flex;
    align-items:center;
    gap:10px;
    border:0;
    border-radius:12px;
    background:var(--esh-orange);
    color:#fff;
    padding:0 16px;
    font-size:12px;
    font-weight:850;
    cursor:pointer;
}

.esh-category-trigger svg{
    width:21px;
    height:21px;
    fill:#fff;
}

.esh-category-chevron{
    margin-left:auto;
    font-size:15px;
}

.esh-search-wrap{
    position:relative;
    min-width:0;
}

.esh-search-form{
    height:48px;
    display:grid;
    grid-template-columns:minmax(0,1fr) 54px;
    border:1px solid #DDE1E6;
    border-radius:12px;
    overflow:hidden;
    background:#fff;
    transition:border-color .16s ease, box-shadow .16s ease;
}

.esh-search-form:focus-within{
    border-color:var(--esh-orange);
    box-shadow:0 0 0 3px rgba(244,119,46,.12);
}

.esh-search-form input{
    width:100%;
    min-width:0;
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
    padding:0 16px!important;
    font-size:13px;
    background:#fff!important;
}

.esh-search-form button{
    border:0;
    background:var(--esh-orange);
    cursor:pointer;
}

.esh-search-form button svg{
    width:22px;
    height:22px;
    fill:var(--esh-white);
}

.esh-search-hint{
    display:flex;
    flex-direction:column;
    gap:2px;
}

.esh-search-hint span{
    color:var(--esh-orange);
    font-size:11px;
    font-weight:850;
}

.esh-search-hint small{
    color:var(--esh-muted);
    font-size:9px;
}

.esh-search-suggestions{
    position:absolute;
    z-index:600;
    left:0;
    right:0;
    top:calc(100% + 7px);
    overflow:hidden;
    border:1px solid #DDE1E6;
    border-radius:14px;
    background:#fff;
    box-shadow:0 18px 42px rgba(0,0,0,.13);
}

.esh-suggest-item{
    display:grid;
    grid-template-columns:50px minmax(0,1fr) auto;
    gap:11px;
    align-items:center;
    min-height:66px;
    padding:8px 12px;
    text-decoration:none;
    border-bottom:1px solid #EFF1F3;
}

.esh-suggest-item:last-child{
    border-bottom:0;
}

.esh-suggest-item:hover{
    background:var(--esh-orange-faint);
}

.esh-suggest-image{
    width:50px;
    height:50px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    border-radius:9px;
    background:#F4F5F7;
}

.esh-suggest-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.esh-suggest-image span{
    color:#A1A7AE;
    font-size:9px;
}

.esh-suggest-copy{
    min-width:0;
}

.esh-suggest-copy strong{
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:12px;
}

.esh-suggest-copy span{
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    margin-top:3px;
    color:var(--esh-muted);
    font-size:9px;
}

.esh-suggest-price{
    color:var(--esh-orange-deep);
    white-space:nowrap;
    font-size:11px;
    font-weight:850;
}

.esh-search-empty{
    padding:16px;
    color:var(--esh-muted);
    font-size:11px;
    text-align:center;
}

.esh-home-shell{
    padding:18px 0 0;
    background:#fff;
}

.esh-home-grid{
    display:grid;
    grid-template-columns:260px minmax(0,1fr);
    gap:16px;
    align-items:start;
}

.esh-category-sidebar{
    overflow:hidden;
    border:1px solid var(--esh-border);
    border-radius:14px;
    background:#fff;
}

.esh-category-sidebar-head{
    min-height:50px;
    display:flex;
    align-items:center;
    gap:10px;
    padding:0 15px;
    background:var(--esh-orange);
    color:#fff;
}

.esh-category-sidebar-head svg{
    width:20px;
    height:20px;
    fill:#fff;
}

.esh-category-sidebar-head strong{
    flex:1;
    font-size:12px;
    text-transform:uppercase;
}

.esh-category-sidebar-body{
    max-height:520px;
    overflow:auto;
}

.store-cat-node{
    border-bottom:1px solid #EFF1F3;
}

.store-cat-node:last-child{
    border-bottom:0;
}

.store-cat-row{
    min-height:47px;
    display:grid;
    grid-template-columns:minmax(0,1fr) 38px;
    align-items:center;
}

.store-cat-link{
    min-width:0;
    display:flex;
    align-items:center;
    gap:10px;
    padding:0 10px 0 15px;
    text-decoration:none;
    color:#353B42;
    font-size:11px;
    font-weight:760;
}

.store-cat-link:hover{
    color:var(--esh-orange);
}

.store-cat-dot{
    width:7px;
    height:7px;
    flex:0 0 7px;
    border-radius:50%;
    background:var(--esh-orange);
    opacity:.85;
}

.store-cat-toggle{
    width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    justify-self:center;
    border:0;
    border-radius:8px;
    background:transparent;
    cursor:pointer;
}

.store-cat-toggle:hover{
    background:var(--esh-orange-soft);
}

.store-cat-toggle svg{
    width:18px;
    height:18px;
    fill:#8A929A;
    transition:transform .16s ease;
}

.store-cat-toggle[aria-expanded="true"] svg{
    transform:rotate(180deg);
}

.store-cat-children{
    display:none;
    padding-left:14px;
    background:#FCFCFD;
    border-top:1px solid #F3F4F6;
}

.store-cat-node.open>.store-cat-children{
    display:block;
}

.store-cat-children .store-cat-row{
    min-height:40px;
}

.store-cat-children .store-cat-link{
    font-size:10px;
    font-weight:680;
}

.esh-empty-menu{
    padding:18px;
    color:var(--esh-muted);
    font-size:10px;
    line-height:1.6;
}

.esh-slider-wrap{
    position:relative;
    width:100%;
    min-width:0;
    overflow:hidden;
    border-radius:15px;
    background:#F3F4F6;
    box-shadow:var(--esh-shadow);
}

.esh-slide{
    position:relative;
    display:none;
    width:100%;
    aspect-ratio:16/7.6;
    overflow:hidden;
    background:#ECEFF2;
}

.esh-slide.active{
    display:block;
}

.esh-slide>img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center center;
}

.esh-slide-overlay{
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    width:min(48%,540px);
    padding:clamp(22px,4vw,60px);
    background:linear-gradient(90deg,rgba(14,14,15,.68),rgba(14,14,15,0));
    color:#fff;
}

.esh-slide-overlay h1,
.esh-slide-overlay h2{
    margin:0;
    font-size:clamp(26px,3.4vw,50px);
    line-height:1.03;
    letter-spacing:-.035em;
}

.esh-slide-overlay p{
    max-width:520px;
    margin:12px 0 0;
    color:rgba(255,255,255,.88);
    font-size:clamp(11px,1.1vw,15px);
    line-height:1.55;
}

.esh-orange-button{
    display:inline-flex;
    margin-top:18px;
    min-height:42px;
    align-items:center;
    padding:0 18px;
    border-radius:9px;
    background:var(--esh-orange);
    color:#fff!important;
    text-decoration:none;
    font-size:11px;
    font-weight:850;
}

.esh-slide-placeholder{
    background:
        radial-gradient(circle at 85% 25%,rgba(255,255,255,.25),transparent 28%),
        linear-gradient(135deg,var(--esh-orange),#FF9B59);
}

.esh-slide-fallback{
    height:100%;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    padding:clamp(24px,5vw,70px);
    color:#fff;
}

.esh-slide-fallback span{
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.18em;
}

.esh-slide-fallback h1{
    margin:7px 0 0;
    font-size:clamp(30px,4vw,58px);
    letter-spacing:-.05em;
}

.esh-slide-fallback p{
    max-width:590px;
    margin:10px 0 0;
    font-size:clamp(11px,1.2vw,15px);
    line-height:1.6;
}

.esh-slider-arrow{
    position:absolute;
    z-index:10;
    top:50%;
    width:40px;
    height:40px;
    transform:translateY(-50%);
    border:0;
    border-radius:50%;
    background:rgba(255,255,255,.92);
    color:#222;
    box-shadow:0 4px 14px rgba(0,0,0,.12);
    cursor:pointer;
    font-size:26px;
    line-height:1;
}

.esh-slider-arrow.prev{left:12px}
.esh-slider-arrow.next{right:12px}

.esh-slider-dots{
    position:absolute;
    z-index:12;
    left:50%;
    bottom:12px;
    display:flex;
    gap:6px;
    transform:translateX(-50%);
}

.esh-slider-dots button{
    width:7px;
    height:7px;
    padding:0;
    border:0;
    border-radius:999px;
    background:rgba(255,255,255,.62);
    cursor:pointer;
    transition:width .16s ease,background .16s ease;
}

.esh-slider-dots button.active{
    width:24px;
    background:var(--esh-orange);
}

.esh-benefits{
    padding:18px 0;
}

.esh-benefit-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    border:1px solid var(--esh-border);
    border-radius:14px;
    overflow:hidden;
    background:#fff;
}

.esh-benefit-grid>div{
    min-height:72px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:14px 18px;
    border-right:1px solid var(--esh-border);
}

.esh-benefit-grid>div:last-child{
    border-right:0;
}

.esh-benefit-grid strong{
    font-size:11px;
}

.esh-benefit-grid span{
    margin-top:4px;
    color:var(--esh-muted);
    font-size:9px;
}

.esh-products-section{
    background:var(--esh-bg);
}

.esh-section-header{
    align-items:flex-end;
}

.esh-section-header h2{
    letter-spacing:-.03em;
}

.esh-text-link{
    color:var(--esh-orange-deep);
    text-decoration:none;
    font-size:11px;
    font-weight:850;
}

.esh-no-products{
    grid-column:1/-1;
    padding:30px;
    border:1px dashed #D5D9DE;
    border-radius:14px;
    background:#fff;
    color:var(--esh-muted);
    text-align:center;
    font-size:11px;
}

/* Existing theme component recoloring */
.button-primary,
.add-cart-button,
.filter-submit,
.dark-button,
.primary-button{
    background:var(--esh-orange)!important;
    border-color:var(--esh-orange)!important;
    color:#fff!important;
}

.button-primary:hover,
.add-cart-button:hover,
.filter-submit:hover,
.dark-button:hover,
.primary-button:hover{
    background:var(--esh-orange-deep)!important;
    border-color:var(--esh-orange-deep)!important;
}

.section-eyebrow,
.product-price,
.catalog-reset-link,
.category-toolbar a{
    color:var(--esh-orange-deep)!important;
}

.floating-whatsapp{
    z-index:9998;
}

/* Mobile drawer */
.esh-mobile-category-drawer{
    position:fixed;
    z-index:1200;
    inset:0;
    display:none;
}

.esh-mobile-category-drawer.open{
    display:block;
}

.esh-drawer-backdrop{
    position:absolute;
    inset:0;
    border:0;
    background:rgba(17,19,22,.45);
}

.esh-drawer-panel{
    position:absolute;
    left:0;
    top:0;
    bottom:0;
    width:min(86vw,360px);
    overflow:auto;
    background:#fff;
    box-shadow:16px 0 40px rgba(0,0,0,.16);
}

.esh-drawer-head{
    position:sticky;
    top:0;
    z-index:3;
    min-height:58px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 16px;
    background:var(--esh-orange);
    color:#fff;
}

.esh-drawer-head strong{
    font-size:13px;
}

.esh-drawer-head button{
    width:36px;
    height:36px;
    border:0;
    border-radius:9px;
    background:rgba(255,255,255,.14);
    color:#fff;
    font-size:24px;
}

.esh-drawer-categories .store-cat-row{
    min-height:48px;
}

@media(max-width:1100px){
    .esh-header-top{
        gap:18px;
    }

    .esh-main-nav{
        gap:16px;
    }

    .esh-main-nav a{
        font-size:10px;
    }

    .esh-search-band-inner,
    .esh-home-grid{
        grid-template-columns:220px minmax(0,1fr);
    }

    .esh-search-hint{
        display:none;
    }

    .esh-slide{
        aspect-ratio:16/8.4;
    }
}

@media(max-width:820px){
    .esh-servicebar{
        display:none;
    }

    .esh-header-top{
        min-height:66px;
        grid-template-columns:42px minmax(0,1fr) auto;
        gap:9px;
    }

    .esh-mobile-menu-button{
        display:block;
    }

    .esh-logo{
        min-width:0;
        justify-content:center;
    }

    .esh-logo img{
        max-width:138px;
        max-height:48px;
    }

    .esh-logo span{
        font-size:20px;
    }

    .esh-main-nav{
        display:none;
    }

    .esh-head-action{
        min-width:38px;
    }

    .esh-head-action span{
        display:none;
    }

    .esh-search-band-inner{
        min-height:64px;
        grid-template-columns:1fr;
    }

    .esh-category-trigger,
    .esh-search-hint{
        display:none;
    }

    .esh-search-form{
        height:46px;
    }

    .esh-home-shell{
        padding-top:12px;
    }

    .esh-home-grid{
        grid-template-columns:1fr;
    }

    .esh-category-sidebar{
        display:none;
    }

    .esh-slide{
        aspect-ratio:16/9.4;
        border-radius:13px;
    }

    .esh-slide-overlay{
        width:70%;
        padding:22px;
    }

    .esh-slider-arrow{
        width:34px;
        height:34px;
    }

    .esh-benefit-grid{
        grid-template-columns:1fr 1fr;
    }

    .esh-benefit-grid>div{
        border-bottom:1px solid var(--esh-border);
    }

    .esh-benefit-grid>div:nth-child(2){
        border-right:0;
    }

    .esh-benefit-grid>div:nth-last-child(-n+2){
        border-bottom:0;
    }
}

@media(max-width:560px){
    .container{
        width:min(100% - 24px,1200px)!important;
    }

    .esh-header-actions{
        gap:4px;
    }

    .esh-head-action svg{
        width:20px;
        height:20px;
    }

    .esh-search-band-inner{
        width:min(100% - 24px,1200px)!important;
    }

    .esh-search-form{
        grid-template-columns:minmax(0,1fr) 48px;
    }

    .esh-search-suggestions{
        position:fixed;
        left:12px;
        right:12px;
        top:126px;
        max-height:58vh;
        overflow:auto;
    }

    .esh-suggest-item{
        grid-template-columns:44px minmax(0,1fr);
    }

    .esh-suggest-price{
        grid-column:2;
        justify-self:start;
    }

    .esh-slide{
        aspect-ratio:4/3;
    }

    .esh-slide-overlay{
        width:100%;
        justify-content:flex-end;
        padding:18px;
        background:linear-gradient(0deg,rgba(14,14,15,.72),rgba(14,14,15,0) 72%);
    }

    .esh-slide-overlay h1,
.esh-slide-overlay h2{
        font-size:25px;
    }

    .esh-slide-overlay p{
        font-size:10px;
        margin-top:7px;
    }

    .esh-orange-button{
        min-height:36px;
        margin-top:10px;
        padding:0 13px;
        font-size:10px;
    }

    .esh-slider-arrow{
        display:none;
    }

    .esh-benefit-grid{
        grid-template-columns:1fr;
    }

    .esh-benefit-grid>div{
        border-right:0!important;
        border-bottom:1px solid var(--esh-border)!important;
    }

    .esh-benefit-grid>div:last-child{
        border-bottom:0!important;
    }
}


@media(min-width:821px){
    .esh-category-sidebar.collapsed .esh-category-sidebar-body{
        display:none;
    }
}
html.esh-drawer-open,
html.esh-drawer-open body{
    overflow:hidden;
}


/* =========================================================
   Phase 12.3 - Unified SadeBuhar-style hero/category structure
   ========================================================= */

/* Search aligns to hero right column; left space matches menu column */
.esh-search-only-band{
    grid-template-columns:260px minmax(0,1fr) 150px!important;
}

.esh-search-spacer{
    width:260px;
}

.esh-unified-hero{
    display:grid;
    grid-template-columns:260px minmax(0,1fr);
    gap:16px;
    align-items:start;
}

.esh-unified-left,
.esh-unified-right{
    min-width:0;
}

.esh-category-trigger-home{
    width:100%;
    border-radius:14px 14px 0 0!important;
}

.esh-unified-left .esh-category-sidebar{
    margin-top:-1px;
    border-top-left-radius:0!important;
    border-top-right-radius:0!important;
    width:100%;
}

/* IMPORTANT:
   Menu collapse only hides the category list.
   Left column stays reserved, so banner never moves left / resizes. */
.esh-unified-left.menu-collapsed .esh-category-sidebar{
    visibility:hidden;
}

.esh-unified-left.menu-collapsed .esh-category-trigger-home .esh-category-chevron{
    transform:rotate(-90deg);
}

.esh-unified-right .esh-slider-wrap{
    width:100%;
}

.store-cat-link{
    gap:12px!important;
}

.store-cat-icon{
    width:24px;
    height:24px;
    flex:0 0 24px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.store-cat-icon img{
    display:block;
    max-width:22px;
    max-height:22px;
    width:auto;
    height:auto;
    object-fit:contain;
}

.store-cat-icon-fallback{
    width:8px;
    height:8px;
    border-radius:50%;
    background:var(--esh-orange);
    opacity:.88;
}

.store-cat-label{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.category-icon-admin-preview{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:10px;
    padding:10px;
    border:1px solid #e1e5e9;
    border-radius:10px;
    background:#fafbfc;
}

.category-icon-admin-preview img{
    width:48px;
    height:48px;
    object-fit:contain;
    border-radius:8px;
    background:#fff;
}

.category-icon-admin-preview label{
    display:flex!important;
    align-items:center;
    gap:7px;
    margin:0!important;
    font-size:10px!important;
}

@media(max-width:1100px){
    .esh-search-only-band,
    .esh-unified-hero{
        grid-template-columns:220px minmax(0,1fr)!important;
    }

    .esh-search-spacer{
        width:220px;
    }
}

@media(max-width:820px){
    .esh-search-only-band{
        grid-template-columns:1fr!important;
    }

    .esh-search-spacer{
        display:none;
    }

    .esh-unified-hero{
        grid-template-columns:1fr!important;
    }

    .esh-unified-left{
        display:none;
    }
}

/* HEADER-CART-BADGE */
.esh-cart-action{
    position:relative;
}

.esh-cart-badge{
    position:absolute;
    top:-7px;
    right:0;
    min-width:20px;
    height:20px;
    padding:0 5px;
    border-radius:999px;
    background:#F4772E;
    color:#fff;
    font-size:11px;
    font-weight:800;
    line-height:20px;
    text-align:center;
    box-shadow:0 2px 7px rgba(0,0,0,.18);
    z-index:5;
}