/* V16.62 — homepage offer correction + navbar/search final polish. */
:root{
  --v62-green:#005b33;
  --v62-deep:#003e25;
  --v62-gold:#c99a35;
  --v62-ivory:#fbf9f4;
  --v62-line:rgba(0,78,41,.13);
  --v62-shadow:0 18px 50px rgba(5,43,28,.09);
}

/* ========================================================================
   NAVBAR — keep every existing item, restore a real usable search field.
   ======================================================================== */
@media (min-width:1025px){
  .als-v16-header{
    background:rgba(255,255,255,.97)!important;
    border-bottom:1px solid rgba(0,78,41,.105)!important;
    box-shadow:0 10px 30px rgba(0,45,27,.055)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
  }
  .als-v16-header__inner{
    width:min(calc(100% - 32px),1740px)!important;
    max-width:1740px!important;
    margin-inline:auto!important;
    min-height:92px!important;
    padding-inline:0!important;
    grid-template-columns:clamp(150px,10.8vw,184px) minmax(500px,1fr) clamp(150px,12vw,205px) auto!important;
    gap:clamp(10px,.9vw,18px)!important;
    align-items:center!important;
  }
  .als-v16-brand{width:auto!important;max-width:none!important;min-width:0!important;display:flex!important;align-items:center!important;}
  .als-v16-brand::after{display:none!important;}
  .als-v16-brand img{
    width:clamp(150px,10.8vw,184px)!important;
    max-width:184px!important;
    height:66px!important;
    object-fit:contain!important;
    filter:drop-shadow(0 7px 12px rgba(0,61,35,.08));
  }
  .als-v16-main-nav{min-width:0!important;overflow:visible!important;}
  .als-v16-main-nav__list,
  .als-v16-main-nav .nav-menu{
    width:100%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    flex-wrap:nowrap!important;
    gap:clamp(10px,.86vw,18px)!important;
    margin:0!important;
    padding:0!important;
  }
  body.als-ltr .als-v16-main-nav__list,
  body.als-ltr .als-v16-main-nav .nav-menu{justify-content:flex-start!important;}
  .als-v16-main-nav__list>li>a,
  .als-v16-main-nav .nav-menu>li>a{
    position:relative!important;
    min-height:48px!important;
    display:inline-flex!important;
    align-items:center!important;
    padding:12px 1px!important;
    color:#24352b!important;
    font-size:clamp(12px,.83vw,14px)!important;
    font-weight:700!important;
    line-height:1.25!important;
    white-space:nowrap!important;
    letter-spacing:0!important;
  }
  .als-v16-main-nav__list>li>a::after,
  .als-v16-main-nav .nav-menu>li>a::after{
    content:""!important;
    position:absolute!important;
    inset-inline-start:50%!important;
    bottom:2px!important;
    width:0!important;
    height:2px!important;
    border-radius:999px!important;
    background:var(--v62-green)!important;
    transform:translateX(50%)!important;
    transition:width .22s ease!important;
  }
  body.als-ltr .als-v16-main-nav__list>li>a::after,
  body.als-ltr .als-v16-main-nav .nav-menu>li>a::after{transform:translateX(-50%)!important;}
  .als-v16-main-nav__list>li>a:hover,
  .als-v16-main-nav__list>li.current-menu-item>a,
  .als-v16-main-nav__list>li.current_page_item>a{color:var(--v62-green)!important;}
  .als-v16-main-nav__list>li>a:hover::after,
  .als-v16-main-nav__list>li.current-menu-item>a::after,
  .als-v16-main-nav__list>li.current_page_item>a::after{width:30px!important;}

  /* Search stays a real form at every desktop width. */
  .als-v16-header-search,
  body.als-rtl .als-v16-header-search,
  body.als-ltr .als-v16-header-search{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:100%!important;
    min-width:0!important;
    max-width:205px!important;
    height:52px!important;
    padding:0 15px!important;
    margin:0!important;
    gap:9px!important;
    overflow:visible!important;
    border:1px solid rgba(0,78,41,.16)!important;
    border-radius:15px!important;
    background:#fff!important;
    box-shadow:0 8px 22px rgba(2,50,30,.045)!important;
    transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease!important;
  }
  .als-v16-header-search:focus-within,
  body.als-rtl .als-v16-header-search:focus-within,
  body.als-ltr .als-v16-header-search:focus-within{
    max-width:205px!important;
    border-color:rgba(0,91,51,.46)!important;
    box-shadow:0 10px 26px rgba(2,50,30,.08),0 0 0 3px rgba(0,91,51,.055)!important;
    transform:translateY(-1px);
  }
  .als-v16-header-search svg{width:20px!important;height:20px!important;flex:0 0 20px!important;color:var(--v62-green)!important;}
  .als-v16-header-search input,
  body.als-rtl .als-v16-header-search input,
  body.als-ltr .als-v16-header-search input{
    position:static!important;
    display:block!important;
    width:100%!important;
    height:44px!important;
    min-width:0!important;
    opacity:1!important;
    pointer-events:auto!important;
    padding:0!important;
    border:0!important;
    outline:0!important;
    background:transparent!important;
    color:#24352b!important;
    font-size:13px!important;
    line-height:1!important;
  }
  .als-v16-header-search input::placeholder{color:#7a877f!important;opacity:1!important;}

  .als-v16-header__actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:nowrap!important;gap:6px!important;min-width:max-content!important;}
  .als-v16-action-item{
    width:auto!important;min-width:54px!important;height:54px!important;padding:5px 7px!important;
    border:1px solid transparent!important;border-radius:14px!important;background:transparent!important;color:#30463a!important;
  }
  .als-v16-action-item:hover{background:#f4f8f5!important;border-color:rgba(0,78,41,.1)!important;color:var(--v62-green)!important;transform:translateY(-2px)!important;}
  .als-v16-action-item__label{display:block!important;font-size:10.5px!important;font-weight:650!important;white-space:nowrap!important;}
  .als-v16-header__visit{min-height:52px!important;padding:11px 17px!important;border-radius:13px!important;background:var(--v62-deep)!important;color:#fff!important;font-size:12.5px!important;font-weight:800!important;box-shadow:0 10px 24px rgba(0,61,37,.15)!important;}
}

/* Laptop: keep search visible, reduce secondary labels before shrinking the search. */
@media (min-width:1180px) and (max-width:1450px){
  .als-v16-header__inner{grid-template-columns:142px minmax(500px,1fr) 150px auto!important;gap:8px!important;width:min(calc(100% - 20px),1710px)!important;}
  .als-v16-brand img{width:142px!important;height:57px!important;}
  .als-v16-main-nav__list,.als-v16-main-nav .nav-menu{gap:8px!important;}
  .als-v16-main-nav__list>li>a,.als-v16-main-nav .nav-menu>li>a{font-size:11.7px!important;}
  .als-v16-header-search,.als-v16-header-search:focus-within,body.als-rtl .als-v16-header-search,body.als-ltr .als-v16-header-search{max-width:150px!important;height:49px!important;padding-inline:12px!important;}
  .als-v16-action-item{width:44px!important;min-width:44px!important;height:48px!important;padding:3px!important;}
  .als-v16-action-item__label{display:none!important;}
  .als-v16-header__visit{min-height:48px!important;padding-inline:11px!important;font-size:11px!important;}
}
@media (min-width:1025px) and (max-width:1179px){
  .als-v16-header__inner{grid-template-columns:118px minmax(430px,1fr) 118px auto!important;gap:6px!important;width:min(calc(100% - 14px),1680px)!important;min-height:78px!important;}
  .als-v16-brand img{width:118px!important;height:49px!important;}
  .als-v16-main-nav__list,.als-v16-main-nav .nav-menu{gap:5px!important;}
  .als-v16-main-nav__list>li>a,.als-v16-main-nav .nav-menu>li>a{font-size:10.4px!important;padding-inline:0!important;}
  .als-v16-header-search,.als-v16-header-search:focus-within,body.als-rtl .als-v16-header-search,body.als-ltr .als-v16-header-search{display:flex!important;max-width:118px!important;height:46px!important;padding-inline:9px!important;}
  .als-v16-header-search input{font-size:11px!important;}
  .als-v16-action-item{width:39px!important;min-width:39px!important;height:44px!important;padding:2px!important;}
  .als-v16-action-item__label{display:none!important;}
  .als-v16-header__actions{gap:2px!important;}
  .als-v16-header__visit{min-height:44px!important;padding-inline:8px!important;font-size:9.8px!important;}
}

/* ========================================================================
   HOMEPAGE OFFERS — category -> featured banner -> included products.
   ======================================================================== */
.als-v1662-home-offers{background:linear-gradient(180deg,#fff 0%,#fbf9f4 100%);overflow:hidden;}
.als-v1662-offers-heading{text-align:center;max-width:900px;margin:0 auto 22px;}
.als-v1662-offers-heading .als-v1653-eyebrow{display:block;margin-bottom:8px;color:#ad7a16!important;}
.als-v1662-offers-heading h2{margin:0 0 10px;color:var(--v62-deep);font-size:clamp(34px,3.7vw,56px);line-height:1.12;}
.als-v1662-offers-heading p{margin:0 auto;color:#5e6b63;font-size:16px;line-height:1.8;max-width:780px;}
.als-v1662-offer-tabs{display:flex;justify-content:center;align-items:center;gap:9px;overflow-x:auto;padding:4px 2px 20px;scrollbar-width:none;}
.als-v1662-offer-tabs::-webkit-scrollbar{display:none;}
.als-v1662-offer-tab{flex:0 0 auto;min-height:43px;padding:8px 17px;border:1px solid rgba(0,78,41,.15);border-radius:12px;background:#fff;color:#30483a;display:inline-flex;align-items:center;gap:6px;font:inherit;font-size:13px;font-weight:750;cursor:pointer;transition:.2s ease;}
.als-v1662-offer-tab:hover{border-color:rgba(0,91,51,.34);color:var(--v62-green);transform:translateY(-1px);}
.als-v1662-offer-tab.is-active{background:var(--v62-deep);border-color:var(--v62-deep);color:#fff;box-shadow:0 9px 20px rgba(0,61,37,.13);}
.als-v1662-offer-tab.is-diriyah:not(.is-active){background:#fff8e9;border-color:rgba(201,154,53,.42);color:#765300;}
.als-v1662-offer-tab .material-symbols-outlined{font-size:17px;}
.als-v1662-offer-panels{position:relative;}
.als-v1662-offer-group[hidden],.als-v1662-offer-view[hidden]{display:none!important;}
.als-v1662-offer-group.is-active{animation:v62OfferIn .34s ease both;}
@keyframes v62OfferIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.als-v1662-offer-switcher{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin:0 0 14px;}
.als-v1662-offer-switcher button{min-height:34px;padding:6px 12px;border:1px solid rgba(0,78,41,.12);border-radius:999px;background:#f4f7f5;color:#4d5f54;font:inherit;font-size:11.5px;font-weight:750;cursor:pointer;transition:.18s ease;}
.als-v1662-offer-switcher button:hover,.als-v1662-offer-switcher button.is-active{background:#e5efe9;color:var(--v62-green);border-color:rgba(0,91,51,.24);}
.als-v1662-featured-offer{position:relative;min-height:clamp(390px,35vw,535px);border-radius:28px;overflow:hidden;background:var(--v62-deep);box-shadow:0 22px 58px rgba(0,53,31,.13);isolation:isolate;}
.als-v1662-featured-offer__media{position:absolute;inset:0;z-index:0;display:block;}
.als-v1662-featured-offer__media img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;transition:transform .8s cubic-bezier(.2,.72,.2,1);}
.als-v1662-featured-offer:hover .als-v1662-featured-offer__media img{transform:scale(1.025);}
.als-v1662-featured-offer__shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,41,24,.10) 0%,rgba(0,42,24,.32) 47%,rgba(0,47,27,.94) 100%);}
body.als-ltr .als-v1662-featured-offer__shade{background:linear-gradient(270deg,rgba(0,41,24,.10) 0%,rgba(0,42,24,.32) 47%,rgba(0,47,27,.94) 100%);}
.als-v1662-featured-offer__copy{position:absolute;z-index:2;inset-block:0;inset-inline-end:clamp(26px,4vw,64px);width:min(620px,48%);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:start;color:#fff;}
.als-v1662-featured-offer__badge{display:inline-flex;align-items:center;min-height:31px;padding:5px 11px;margin-bottom:12px;border-radius:999px;background:rgba(201,154,53,.95);color:#fff;font-size:12px;font-weight:850;box-shadow:0 5px 18px rgba(0,0,0,.08);}
.als-v1662-featured-offer__copy h3{margin:0 0 12px;color:#fff;font-size:clamp(34px,4vw,58px);line-height:1.1;text-shadow:0 4px 20px rgba(0,20,11,.22);}
.als-v1662-featured-offer__copy p{margin:0 0 20px;max-width:570px;color:rgba(255,255,255,.92);font-size:16px;line-height:1.85;}
.als-v1662-featured-offer__cta{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:11px 20px;border-radius:12px;background:#fff;color:var(--v62-green);text-decoration:none;font-weight:850;box-shadow:0 10px 26px rgba(0,0,0,.11);transition:.2s ease;}
.als-v1662-featured-offer__cta:hover{transform:translateY(-2px);background:#f3c958;color:#263b2d;}
.als-v1662-featured-offer__cta .material-symbols-outlined{font-size:19px;}
.als-v1662-featured-offer__copy>small{margin-top:14px;max-width:560px;color:rgba(255,255,255,.72);font-size:11px;line-height:1.7;}
.als-v1662-products-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:26px 0 15px;}
.als-v1662-products-head>div>span{display:block;color:#aa7511;font-size:11px;font-weight:850;margin-bottom:4px;}
.als-v1662-products-head h3{margin:0;color:var(--v62-deep);font-size:clamp(23px,2vw,31px);}
.als-v1662-products-head>a{display:inline-flex;align-items:center;gap:5px;color:var(--v62-green);text-decoration:none;font-size:12.5px;font-weight:800;}
.als-v1662-products-head .material-symbols-outlined{font-size:18px;}
.als-v1662-offer-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;}
.als-v1662-offer-product{overflow:hidden;border:1px solid rgba(0,78,41,.105);border-radius:20px;background:#fff;box-shadow:0 10px 28px rgba(5,43,28,.055);transition:transform .25s ease,box-shadow .25s ease;}
.als-v1662-offer-product:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(5,43,28,.09);}
.als-v1662-offer-product__media{position:relative;display:block;aspect-ratio:1.35/1;overflow:hidden;background:#eef2ef;}
.als-v1662-offer-product__media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease;}
.als-v1662-offer-product:hover .als-v1662-offer-product__media img{transform:scale(1.035);}
.als-v1662-offer-product__media>span{position:absolute;inset-block-start:10px;inset-inline-end:10px;display:inline-flex;padding:5px 9px;border-radius:999px;background:rgba(255,255,255,.92);color:var(--v62-green);font-size:10.5px;font-weight:800;backdrop-filter:blur(6px);}
.als-v1662-offer-product__body{padding:15px 15px 16px;}
.als-v1662-offer-product__body h4{margin:0 0 7px;color:var(--v62-deep);font-size:16px;line-height:1.45;min-height:46px;}
.als-v1662-offer-product__body h4 a{color:inherit;text-decoration:none;}
.als-v1662-offer-product__body>small{display:block;margin-bottom:13px;color:#7d8981;font-size:10.5px;}
.als-v1662-offer-product__link{display:flex;align-items:center;justify-content:space-between;gap:7px;padding-top:11px;border-top:1px solid rgba(0,78,41,.08);color:var(--v62-green);text-decoration:none;font-size:12px;font-weight:800;}
.als-v1662-offer-product__link .material-symbols-outlined{font-size:17px;}
.als-v1662-offer-products-empty{padding:22px;border:1px dashed rgba(0,78,41,.2);border-radius:18px;background:#f8faf8;color:#58675e;text-align:center;}
.als-v1662-offers-footer{display:flex;justify-content:center;margin-top:24px;}
.als-v1662-all-offers-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:11px 24px;border-radius:12px;background:var(--v62-deep);color:#fff;text-decoration:none;font-weight:850;box-shadow:0 10px 24px rgba(0,61,37,.15);transition:.2s ease;}
.als-v1662-all-offers-btn:hover{background:#00623a;color:#fff;transform:translateY(-2px);}
.als-v1662-all-offers-btn .material-symbols-outlined{font-size:19px;}

@media(max-width:1100px){
  .als-v1662-offer-products{grid-template-columns:repeat(2,minmax(0,1fr));}
  .als-v1662-featured-offer__copy{width:min(600px,58%);}
}
@media(max-width:767px){
  .als-v1662-offers-heading h2{font-size:34px;}
  .als-v1662-offer-tabs{justify-content:flex-start;margin-inline:-2px;padding-bottom:15px;}
  .als-v1662-offer-tab{min-height:40px;padding:7px 13px;font-size:12px;}
  .als-v1662-offer-switcher{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding-bottom:5px;scrollbar-width:none;}
  .als-v1662-offer-switcher::-webkit-scrollbar{display:none;}
  .als-v1662-offer-switcher button{flex:0 0 auto;}
  .als-v1662-featured-offer{min-height:470px;border-radius:21px;}
  .als-v1662-featured-offer__shade{background:linear-gradient(180deg,rgba(0,42,24,.08) 12%,rgba(0,43,25,.35) 44%,rgba(0,46,27,.95) 100%)!important;}
  .als-v1662-featured-offer__copy{inset-inline:20px;width:auto;inset-block:auto 24px;justify-content:flex-end;}
  .als-v1662-featured-offer__copy h3{font-size:34px;}
  .als-v1662-featured-offer__copy p{font-size:14px;line-height:1.7;}
  .als-v1662-featured-offer__copy>small{display:none;}
  .als-v1662-products-head{align-items:flex-start;flex-direction:column;gap:8px;}
  .als-v1662-offer-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  .als-v1662-offer-product{border-radius:15px;}
  .als-v1662-offer-product__body{padding:12px;}
  .als-v1662-offer-product__body h4{font-size:14px;min-height:42px;}
}
@media(max-width:480px){
  .als-v1662-offer-products{grid-template-columns:1fr;}
  .als-v1662-offer-product__media{aspect-ratio:1.6/1;}
}
