/* ENG HOME Premium Homepage v2 — scoped homepage redesign */
:root{--egv2-navy:#071229;--egv2-blue:#245cff;--egv2-ink:#0b1730;--egv2-soft:#f4f6fa;--egv2-line:#e7ebf2}
body.enghome-body:has(.eg-home-premium){background:#fff;color:var(--egv2-ink)}
.eg-home-premium{overflow:hidden;background:#fff;font-family:Manrope,Inter,Arial,sans-serif}
.eg-home-premium .eg-container{width:min(1380px,calc(100% - 64px));margin-inline:auto}
.eg-home-premium .eg-kicker{margin:0 0 10px;color:var(--egv2-blue);font-size:11px;font-weight:800;letter-spacing:.24em;text-transform:uppercase}

/* Minimal premium header, homepage only */
body:has(.eg-home-premium) .eg-premium-header{height:88px!important;background:#fff!important;border:0!important;box-shadow:none!important}
body:has(.eg-home-premium) .eg-header-inner{width:min(1380px,calc(100% - 64px))!important;height:88px!important;margin:auto!important}
body:has(.eg-home-premium) .eg-logo-img{width:190px!important;height:auto!important;object-fit:contain!important}
body:has(.eg-home-premium) .eg-action-btn{box-shadow:none!important}

/* Hero */
.eg-home-premium .eghero{padding:20px 32px 62px!important;background:#f6f8fc!important}
.eg-home-premium .eghero__frame{width:min(1380px,100%)!important;min-height:690px!important;margin:auto!important;border-radius:30px!important;overflow:hidden!important;background:var(--egv2-navy)!important;box-shadow:0 28px 70px rgba(7,18,41,.14)!important}
.eg-home-premium .eghero__bar{height:76px!important;padding:0 34px!important;background:transparent!important}
.eg-home-premium .eghero__scene{min-height:614px!important;border-radius:0!important}
.eg-home-premium .eghero__copy{left:5.2%!important;top:48%!important;width:38%!important;transform:translateY(-50%)!important}
.eg-home-premium .eghero__title{font-size:clamp(58px,5.25vw,94px)!important;line-height:.93!important;letter-spacing:-.065em!important}
.eg-home-premium .eghero__lede{max-width:420px!important}
.eg-home-premium .eghero__product{right:11%!important;width:42%!important;height:79%!important}
.eg-home-premium .eghero__product img{max-width:100%!important;max-height:100%!important;filter:drop-shadow(0 30px 38px rgba(0,0,0,.28))!important}

/* Weekly cards */
.eg-v2-offers{padding:70px 0 82px;background:#fff}
.eg-v2-section-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:28px}
.eg-v2-section-head h2{margin:0;font-size:clamp(34px,3vw,54px);font-weight:800;letter-spacing:-.055em}
.eg-v2-section-head h2 span{color:var(--egv2-blue)}
.eg-v2-section-head>a{padding:12px 22px;border-radius:999px;background:#edf2ff;color:var(--egv2-blue);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.eg-v2-offer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.eg-v2-offer{position:relative;display:flex;min-height:220px;padding:26px;border-radius:24px;overflow:hidden;color:var(--egv2-ink);isolation:isolate;transition:transform .3s ease,box-shadow .3s ease}
.eg-v2-offer:hover{transform:translateY(-6px);box-shadow:0 22px 40px rgba(11,23,48,.11)}
.eg-v2-offer--1{background:#eaf0ff}.eg-v2-offer--2{background:#f7eae6}.eg-v2-offer--3{background:#eaf2e6}.eg-v2-offer--4{background:#f0ebf8}
.eg-v2-offer-copy{position:relative;z-index:2;display:flex;align-self:flex-end;flex-direction:column;width:65%}
.eg-v2-offer-copy small{font-size:10px;font-weight:700;opacity:.62}.eg-v2-offer-copy strong{margin:5px 0 7px;font-size:17px;line-height:1.15}.eg-v2-offer-copy b{color:var(--egv2-blue);font-size:15px}
.eg-v2-offer img{position:absolute;right:2%;top:5%;width:48%;height:70%;object-fit:contain;filter:drop-shadow(0 15px 15px rgba(0,0,0,.14));transition:transform .35s ease}
.eg-v2-offer:hover img{transform:scale(1.06) rotate(2deg)}

/* Categories */
.eg-home-premium .eg-intro-section{padding:65px 0 24px!important;background:var(--egv2-soft)!important}
.eg-home-premium .eg-intro-grid h2{font-size:clamp(38px,4vw,64px)!important;letter-spacing:-.055em!important}
.eg-home-premium .eg-categories{padding:0 32px 56px!important;background:var(--egv2-soft)!important}
.eg-home-premium .eg-categories-slider{width:min(1380px,100%)!important;margin:auto!important;display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:20px!important;overflow:visible!important}
.eg-home-premium .eg-category-card{position:relative!important;min-width:0!important;height:380px!important;border-radius:28px!important;overflow:hidden!important;box-shadow:none!important;background-size:cover!important;background-position:center!important;isolation:isolate!important}
.eg-home-premium .eg-category-card::before{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,rgba(4,13,30,.88) 0%,rgba(4,13,30,.55) 48%,rgba(4,13,30,.12) 100%);transition:background .45s ease}
.eg-home-premium .eg-category-card:nth-child(1){background-image:url('/image/catalog/enghome/dekore-home.webp')!important;background-color:#14264e!important}
.eg-home-premium .eg-category-card:nth-child(2){background-image:url('/image/catalog/enghome/kuzhina.jpg')!important;background-color:#795139!important}
.eg-home-premium .eg-category-card:nth-child(3){background-image:url('/image/catalog/enghome/gjumi-home.webp')!important;background-color:#356b70!important}
.eg-home-premium .eg-category-card:hover::before{background:linear-gradient(90deg,rgba(4,13,30,.82),rgba(4,13,30,.28))}
.eg-v2-category-product{position:absolute;z-index:1;right:2%;bottom:1%;width:52%;height:72%;object-fit:contain;filter:drop-shadow(0 24px 24px rgba(0,0,0,.25));transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.eg-category-card:hover .eg-v2-category-product{transform:scale(1.06) translateY(-5px)}
.eg-home-premium .eg-category-content{position:relative!important;z-index:2!important;width:60%!important;padding:34px!important}
.eg-home-premium .eg-category-content h2{font-size:42px!important}.eg-home-premium .eg-category-content p{min-height:62px!important}
.eg-home-premium .eg-category-nav{display:none!important}

/* Trust */
.eg-home-premium .eg-trust-section{padding:0 0 70px!important;background:var(--egv2-soft)!important}
.eg-home-premium .eg-trust-grid{padding:22px 24px!important;border:1px solid var(--egv2-line)!important;border-radius:22px!important;background:#fff!important;box-shadow:none!important}
.eg-home-premium .eg-trust-icon{background:#edf2ff!important;color:var(--egv2-blue)!important}

/* Showroom */
.eg-home-premium .eg-showroom-click-v6{padding:72px 32px!important;background:var(--egv2-navy)!important}
.eg-home-premium .eg-showroom-click-v6 .eg-wrap{width:min(1380px,100%)!important;margin:auto!important}
.eg-home-premium .eg-showroom-click-v6 .eg-card{min-height:460px!important;border-radius:28px!important;background-color:#112754!important}
.eg-home-premium .eg-showroom-click-v6 .eg-copy{max-width:600px!important;padding:60px!important}
.eg-home-premium .eg-showroom-title-force-v274{font-size:clamp(40px,4vw,66px)!important}
.eg-home-premium .eg-points{color:#fff!important}

/* Products */
.eg-home-premium .eg-products-shell{padding:92px 0!important;background:var(--egv2-soft)!important}
.eg-home-premium .eg-products-loop-bg{display:none!important}
.eg-home-premium .eg-section-head-center{text-align:center!important;justify-content:center!important}
.eg-home-premium .eg-section-link-button{display:none!important}
.eg-home-premium .eg-latest-grid{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:22px!important}
.eg-home-premium .eg-product-card:nth-child(n+5){display:none!important}
.eg-home-premium .eg-product-card{border:1px solid #edf0f5!important;border-radius:24px!important;background:#fff!important;box-shadow:none!important;overflow:hidden!important;transition:transform .3s ease,box-shadow .3s ease!important}
.eg-home-premium .eg-product-card:hover{transform:translateY(-7px)!important;box-shadow:0 22px 45px rgba(11,23,48,.09)!important}
.eg-home-premium .eg-product-image{height:290px!important;background:#fff!important}.eg-home-premium .eg-product-image img{max-height:235px!important}
.eg-home-premium .eg-product-info{padding:20px!important}.eg-home-premium .eg-add-cart{border-radius:999px!important;background:var(--egv2-navy)!important}

/* Contact */
.eg-home-premium .eg-contact-preview{padding:58px 0!important;background:#fff!important}
.eg-home-premium .eg-contact-preview-card{min-height:auto!important;padding:42px!important;border-radius:26px!important;background:#e8efff!important}
.eg-home-premium .eg-contact-preview-copy{display:grid!important;grid-template-columns:1fr auto!important;align-items:center!important;gap:10px 30px!important;max-width:none!important}
.eg-home-premium .eg-contact-preview-copy .eg-kicker,.eg-home-premium .eg-contact-preview-copy p{grid-column:1!important}
.eg-home-premium .eg-contact-preview-copy h2{grid-column:1!important;margin:0!important}
.eg-home-premium .eg-contact-preview-btn{grid-column:2!important;grid-row:1/4!important;white-space:nowrap!important;background:var(--egv2-blue)!important;border-radius:999px!important}
.eg-home-premium .eg-contact-screen-preview{display:none!important}

/* Footer follows the dark ending in the visual reference */
body:has(.eg-home-premium) .eg-premium-footer.eg-footer-v266{padding-top:34px!important;background:var(--egv2-navy)!important}
body:has(.eg-home-premium) .eg-footer-v266 .egv266-card{background:transparent!important;color:#fff!important;border:0!important;box-shadow:none!important}
body:has(.eg-home-premium) .eg-footer-v266 .egv266-description,body:has(.eg-home-premium) .eg-footer-v266 a,body:has(.eg-home-premium) .eg-footer-v266 h3{color:#fff!important}

@media(max-width:900px){
  .eg-home-premium .eg-container,body:has(.eg-home-premium) .eg-header-inner{width:min(100% - 32px,1380px)!important}
  .eg-home-premium .eghero{padding:10px 0 42px!important}.eg-home-premium .eghero__frame{border-radius:0!important;min-height:720px!important}.eg-home-premium .eghero__scene{min-height:644px!important}
  .eg-home-premium .eghero__copy{left:24px!important;top:46%!important;width:62%!important}.eg-home-premium .eghero__title{font-size:clamp(48px,11vw,74px)!important}
  .eg-home-premium .eghero__product{right:-3%!important;width:48%!important}
  .eg-v2-offer-grid{grid-template-columns:repeat(2,1fr)}
  .eg-home-premium .eg-categories-slider{grid-template-columns:1fr!important}.eg-home-premium .eg-category-card{height:330px!important}
  .eg-home-premium .eg-latest-grid{grid-template-columns:repeat(2,1fr)!important}
  .eg-home-premium .eg-contact-preview-copy{display:block!important}.eg-home-premium .eg-contact-preview-btn{display:inline-flex!important;margin-top:18px!important}
}
@media(max-width:600px){
  body:has(.eg-home-premium) .eg-premium-header,body:has(.eg-home-premium) .eg-header-inner{height:70px!important}body:has(.eg-home-premium) .eg-logo-img{width:142px!important}
  .eg-home-premium .eghero__bar{height:58px!important;padding:0 16px!important}.eg-home-premium .eghero__nav{display:none!important}
  .eg-home-premium .eghero__frame{min-height:700px!important}.eg-home-premium .eghero__scene{min-height:642px!important}
  .eg-home-premium .eghero__copy{top:31%!important;width:calc(100% - 48px)!important;transform:none!important}.eg-home-premium .eghero__title{font-size:53px!important;line-height:.94!important}.eg-home-premium .eghero__lede{font-size:13px!important;width:80%!important}
  .eg-home-premium .eghero__product{right:5%!important;top:53%!important;width:68%!important;height:35%!important}
  .eg-home-premium .eghero__chips{display:none!important}.eg-home-premium .eghero__buy{left:20px!important;bottom:78px!important;width:calc(100% - 40px)!important}.eg-home-premium .eghero__rail{right:16px!important;bottom:20px!important;max-width:calc(100% - 32px)!important}
  .eg-v2-offers{padding:48px 0}.eg-v2-section-head{align-items:flex-start}.eg-v2-section-head>a{display:none}.eg-v2-section-head h2{font-size:36px}.eg-v2-offer-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px}.eg-v2-offer{min-width:82%;scroll-snap-align:start}
  .eg-home-premium .eg-intro-section{padding-top:48px!important}.eg-home-premium .eg-categories{padding-inline:16px!important}.eg-home-premium .eg-category-card{height:310px!important}.eg-home-premium .eg-category-content{padding:26px!important}.eg-home-premium .eg-category-content h2{font-size:34px!important}
  .eg-home-premium .eg-showroom-click-v6{padding:48px 16px!important}.eg-home-premium .eg-showroom-click-v6 .eg-card{min-height:520px!important}.eg-home-premium .eg-showroom-click-v6 .eg-copy{padding:32px 24px!important}
  .eg-home-premium .eg-products-shell{padding:64px 0!important}.eg-home-premium .eg-latest-grid{grid-template-columns:1fr!important;gap:16px!important}.eg-home-premium .eg-product-image{height:260px!important}
  .eg-home-premium .eg-contact-preview{padding:38px 0!important}.eg-home-premium .eg-contact-preview-card{padding:28px 22px!important}
}
@media(prefers-reduced-motion:reduce){.eg-v2-offer,.eg-v2-offer img,.eg-v2-category-product,.eg-home-premium .eg-product-card{transition:none!important}}

/* Scroll storytelling */
.eg-home-premium .eg-scroll-item{opacity:0;transform:translate3d(0,42px,0) scale(.985);transition:opacity .8s cubic-bezier(.2,.65,.25,1),transform .9s cubic-bezier(.2,.65,.25,1);transition-delay:var(--eg-delay,0ms);will-change:opacity,transform}
.eg-home-premium .eg-scroll-item.eg-in-view{opacity:1;transform:translate3d(0,0,0) scale(1)}
.eg-home-premium .eg-scroll-item.eg-from-left{transform:translate3d(-46px,0,0)}
.eg-home-premium .eg-scroll-item.eg-from-right{transform:translate3d(46px,0,0)}
.eg-home-premium .eg-scroll-item.eg-from-left.eg-in-view,.eg-home-premium .eg-scroll-item.eg-from-right.eg-in-view{transform:translate3d(0,0,0)}
@media(prefers-reduced-motion:reduce){.eg-home-premium .eg-scroll-item{opacity:1!important;transform:none!important;transition:none!important}}

/* v2.2 — mobile hero: stable typewriter space + substantially larger cutouts */
@media(max-width:600px){
  .eg-home-premium .eghero__copy{
    top:88px!important;
    left:22px!important;
    width:calc(100% - 44px)!important;
    transform:none!important;
  }
  .eg-home-premium .eghero__kicker{
    margin:0 0 18px!important;
    font-size:10px!important;
    line-height:1!important;
    letter-spacing:.22em!important;
  }
  .eg-home-premium .eghero__title{
    min-height:202px!important;
    margin:0!important;
    font-size:51px!important;
    line-height:.91!important;
    letter-spacing:-.065em!important;
  }
  .eg-home-premium .eghero__lede{
    width:92%!important;
    max-width:340px!important;
    margin-top:20px!important;
    font-size:13px!important;
    line-height:1.55!important;
  }
  .eg-home-premium .eghero__product{
    top:49%!important;
    right:-2%!important;
    width:104%!important;
    height:40%!important;
    overflow:visible!important;
  }
  .eg-home-premium .eghero__product img{
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:contain!important;
    transform:scale(1.72)!important;
    transform-origin:center center!important;
  }
  .eg-home-premium .eghero__buy{bottom:72px!important;z-index:12!important}
  .eg-home-premium .eghero__rail{bottom:17px!important;z-index:13!important}
}

/* v2.3 — true optical centering of the animated mobile headline */
@media(max-width:600px){
  .eg-home-premium .eghero__copy{display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important}
  .eg-home-premium .eghero__kicker,.eg-home-premium .eghero__title,.eg-home-premium .eghero__lede{width:100%!important;margin-left:auto!important;margin-right:auto!important;text-align:center!important}
  .eg-home-premium .eghero__title{display:block!important}
}

/* v2.4 — viewport-true centering, independent of inherited left/right rules */
@media(max-width:600px){
  .eg-home-premium .eghero__copy{
    left:50%!important;
    right:auto!important;
    width:calc(100vw - 36px)!important;
    max-width:380px!important;
    transform:translateX(-50%)!important;
  }
}

/* v2.5 — headline centered against the scene itself */
@media(max-width:600px){
  .eg-home-premium .eghero__scene .eghero__copy{
    box-sizing:border-box!important;
    inset:88px auto auto 50%!important;
    width:min(380px,calc(100% - 32px))!important;
    max-width:none!important;
    transform:translate3d(-50%,0,0)!important;
  }
}
