/* V16.40 — live visual QA. Intentionally scoped to offers, product archives and showrooms. */

/* =========================================================
   OFFERS ARCHIVE — use product photography, not promo-art cards
   ========================================================= */
.als-v1638-offers{overflow-x:clip}
.als-v1638-offers-hero{min-height:clamp(500px,57vw,690px);background-position:center!important}
.als-v1638-offer-section{padding-block:76px}
.als-v1638-offer-section+.als-v1638-offer-section{border-top:1px solid rgba(0,78,41,.07)}
.als-v1638-section-heading{max-width:900px;margin-bottom:28px}
.als-v1638-section-heading h2{max-width:860px;line-height:1.25}
.als-v1638-offer-card{min-width:0;overflow:hidden;border-radius:22px;box-shadow:0 14px 42px rgba(0,78,41,.08)}
.als-v1638-offer-card__media{position:relative;min-width:0;background:#eef2ee;overflow:hidden}
.als-v1638-offer-card__media img{width:100%;height:100%;object-fit:cover!important;object-position:center;display:block;transition:transform .55s ease}
.als-v1638-offer-card:hover .als-v1638-offer-card__media img{transform:scale(1.035)}
.als-v1638-offer-card__body h3 a{color:inherit;text-decoration:none}
.als-v1638-offer-card__body h3 a:hover{color:#08683a}
.als-v1640-offer-product-ref{position:absolute;inset-inline:16px;bottom:14px;z-index:3;display:block;padding:8px 11px;border-radius:10px;background:rgba(0,55,32,.88);backdrop-filter:blur(7px);color:#fff;font-size:11px;font-weight:750;line-height:1.5;box-shadow:0 8px 24px rgba(0,0,0,.16)}

/* Two parquet offers: each card is a complete vertical card. The old half-card split
   squeezed both the product image and the campaign copy on desktop. */
.als-v1638-offer-grid.is-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}
.als-v1638-offer-grid.is-two .als-v1638-offer-card{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;height:100%;min-height:0!important}
.als-v1638-offer-grid.is-two .als-v1638-offer-card__media{width:100%;height:330px;min-height:330px!important}
.als-v1638-offer-grid.is-two .als-v1638-offer-card__body{display:flex;flex:1;flex-direction:column;padding:28px}
.als-v1638-offer-grid.is-two .als-v1638-offer-card__actions{margin-top:auto;padding-top:10px}

/* Featured/category offer cards keep a strong editorial split on wide screens. */
.als-v1638-offer-card:not(.is-project){grid-template-columns:minmax(380px,.95fr) minmax(0,1.05fr)}
.als-v1638-offer-card:not(.is-project) .als-v1638-offer-card__media{min-height:390px}
.als-v1638-offer-card.is-featured .als-v1638-offer-card__media{min-height:440px}

/* =========================================================
   SINGLE OFFER — product immediately below description
   ========================================================= */
.als-v1639-offer-single{overflow-x:clip}
.als-v1639-offer-overview__grid{grid-template-columns:minmax(0,1.55fr) minmax(300px,.55fr);gap:32px}
.als-v1640-inline-products{scroll-margin-top:110px;margin-top:34px;padding-top:28px;border-top:1px solid #e3e7e4}
.als-v1640-inline-products__head{margin-bottom:18px}
.als-v1640-inline-products__head h2{margin:5px 0 7px;color:#005b36;font-size:clamp(25px,2.4vw,34px);line-height:1.3}
.als-v1640-inline-products__head p{margin:0!important;color:#65706a!important;font-size:14px;line-height:1.8}
.als-v1639-offer-product-grid.is-inline{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.als-v1639-offer-product-grid.is-inline.is-single{grid-template-columns:1fr;max-width:760px;justify-content:stretch}
.als-v1639-offer-product-grid.is-inline .als-v1639-offer-product-card,
.als-v1639-offer-product-grid.is-inline.is-single .als-v1639-offer-product-card{display:grid;grid-template-columns:minmax(220px,.9fr) minmax(0,1.1fr);grid-template-rows:none;min-width:0;border-radius:16px}
.als-v1639-offer-product-grid.is-inline:not(.is-single) .als-v1639-offer-product-card{display:flex;flex-direction:column}
.als-v1639-offer-product-grid.is-inline .als-v1639-offer-product-card__media{min-height:230px;height:230px}
.als-v1639-offer-product-grid.is-inline.is-single .als-v1639-offer-product-card__media{height:100%;min-height:285px}
.als-v1639-offer-product-grid.is-inline .als-v1639-offer-product-card__media img{min-height:0;width:100%;height:100%;object-fit:cover}
.als-v1639-offer-product-grid.is-inline .als-v1639-offer-product-card__body{padding:20px}
.als-v1639-offer-product-grid.is-inline .als-v1639-offer-product-card h3{font-size:21px;line-height:1.35}
.als-v1639-offer-product-grid.is-inline .als-v1639-offer-product-card p{font-size:13px;line-height:1.75}
.als-v1639-offer-assurance-section{padding-top:18px}

/* =========================================================
   SHOWROOMS — branch names/details must be complete on first paint
   ========================================================= */
[data-showrooms-page]{overflow-x:clip}
[data-showrooms-page] .als-v167-showroom-browser{min-width:0}
[data-showrooms-page] .als-v167-showroom-panel{min-width:0}
[data-showrooms-page] .als-v167-showroom-list{grid-auto-rows:max-content!important;align-content:start!important;min-width:0}
[data-showrooms-page] .als-v167-showroom-card{
  display:block!important;height:auto!important;min-height:0!important;max-height:none!important;
  min-width:0!important;max-width:100%!important;overflow:visible!important;contain:none!important;
  content-visibility:visible!important;padding:20px!important
}
[data-showrooms-page] .als-v167-showroom-card[hidden]{display:none!important}
[data-showrooms-page] .als-v167-showroom-card__top,
[data-showrooms-page] .als-v167-showroom-card__top>div{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;min-width:0}
[data-showrooms-page] .als-v167-showroom-card h2{
  display:block!important;height:auto!important;min-height:0!important;max-height:none!important;
  overflow:visible!important;white-space:normal!important;text-overflow:clip!important;
  margin:0 0 8px!important;line-height:1.55!important;font-size:20px!important;overflow-wrap:anywhere
}
[data-showrooms-page] .als-v167-showroom-card p,
[data-showrooms-page] .als-v167-showroom-card__actions,
[data-showrooms-page] .als-v167-showroom-detail-link{
  height:auto!important;max-height:none!important;opacity:1!important;visibility:visible!important;overflow:visible!important
}
[data-showrooms-page] .als-v167-city-filters{scrollbar-width:thin}

/* =========================================================
   PRODUCT ARCHIVES — visual containment only; category/filter logic untouched
   ========================================================= */
.als-v169-products,.als-v169-category{overflow-x:clip!important}
.als-v169-products .als-v169-shell,.als-v169-category .als-v169-shell{width:min(1360px,calc(100% - 48px))!important;max-width:calc(100% - 32px);min-width:0;margin-inline:auto!important}
.als-v169-catalogue .als-v169-shell,.als-v169-category-catalogue .als-v169-shell{min-width:0}
.als-v169-filters{width:100%!important;max-width:100%!important;min-width:0!important;grid-template-columns:minmax(260px,1.4fr) minmax(180px,.75fr) minmax(180px,.75fr) minmax(170px,.65fr) auto auto!important;align-items:stretch}
.als-v169-filters>*{min-width:0;max-width:100%;box-sizing:border-box}
.als-v169-filters label,.als-v169-filters input,.als-v169-filters select,.als-v169-filters details,.als-v169-color-filter{min-width:0!important;max-width:100%!important}
.als-v169-grid{width:100%;min-width:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.als-v169-card{height:100%;min-width:0}
.als-v169-card__media{height:auto!important;aspect-ratio:1.28/1;min-height:0}
.als-v169-card__body{min-width:0}
.als-v169-card h3{min-height:58px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.als-v169-card__body>p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

@media (max-width:1180px){
  .als-v169-filters{grid-template-columns:minmax(0,1fr) repeat(3,minmax(150px,.48fr))!important}
  .als-v169-filters button,.als-v169-filters>a{grid-row:auto!important}
  .als-v169-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:900px){
  .als-v1638-offer-card:not(.is-project),.als-v1638-offer-grid.is-two .als-v1638-offer-card{display:flex!important;flex-direction:column!important;grid-template-columns:none!important}
  .als-v1638-offer-card:not(.is-project) .als-v1638-offer-card__media,.als-v1638-offer-grid.is-two .als-v1638-offer-card__media{height:320px;min-height:320px!important}
  .als-v1638-offer-grid.is-two{grid-template-columns:1fr}
  .als-v1639-offer-overview__grid{grid-template-columns:1fr}
  .als-v1639-offer-facts{position:static}
  .als-v1639-offer-product-grid.is-inline{grid-template-columns:1fr}
  .als-v169-filters,.als-v169-category-catalogue .als-v169-filters{grid-template-columns:1fr 1fr!important}
  .als-v169-filters label{grid-column:1/-1}
  .als-v169-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  [data-showrooms-page] .als-v167-showroom-panel{max-height:none!important;overflow:visible!important}
  [data-showrooms-page] .als-v167-showroom-list{max-height:none!important;overflow:visible!important}
}
@media (max-width:640px){
  .als-v1638-offers-hero{min-height:520px}
  .als-v1638-offer-section{padding-block:52px}
  .als-v1638-offer-card:not(.is-project) .als-v1638-offer-card__media,.als-v1638-offer-grid.is-two .als-v1638-offer-card__media{height:250px;min-height:250px!important}
  .als-v1640-offer-product-ref{inset-inline:10px;bottom:10px;font-size:10px}
  .als-v1639-offer-product-grid.is-inline.is-single .als-v1639-offer-product-card,
  .als-v1639-offer-product-grid.is-inline .als-v1639-offer-product-card{display:flex!important;flex-direction:column!important;grid-template-columns:none!important}
  .als-v1639-offer-product-grid.is-inline.is-single .als-v1639-offer-product-card__media,.als-v1639-offer-product-grid.is-inline .als-v1639-offer-product-card__media{height:240px;min-height:240px}

  [data-showrooms-page] .als-v167-showroom-browser{margin-inline:-16px;width:calc(100% + 32px)!important}
  [data-showrooms-page] .als-v167-showroom-panel{border-radius:0!important}
  [data-showrooms-page] .als-v167-city-filters{display:flex!important;flex-wrap:wrap!important;overflow:visible!important;padding:12px 14px!important}
  [data-showrooms-page] .als-v167-city-filters button{white-space:normal!important;line-height:1.35!important}
  [data-showrooms-page] .als-v167-showroom-summary{flex-wrap:wrap;gap:8px}
  [data-showrooms-page] .als-v167-showroom-list{padding:14px!important;gap:12px!important}
  [data-showrooms-page] .als-v167-showroom-card{padding:18px 16px!important;border-radius:16px!important}
  [data-showrooms-page] .als-v167-showroom-card h2{font-size:19px!important}
  [data-showrooms-page] .als-v167-showroom-card__actions{grid-template-columns:1fr!important}
  [data-showrooms-page] .als-v167-showroom-map{height:330px!important;border-radius:0!important}

  .als-v169-products .als-v169-shell,.als-v169-category .als-v169-shell{width:calc(100% - 28px)!important;max-width:none!important}
  .als-v169-filters,.als-v169-category-catalogue .als-v169-filters{grid-template-columns:1fr!important;padding:10px!important}
  .als-v169-filters label{grid-column:auto}
  .als-v169-grid{grid-template-columns:1fr;gap:16px}
  .als-v169-card h3{min-height:0}
  .als-v169-card__media{aspect-ratio:1.35/1}
}

/* Campaign creative may already contain Arabic artwork/text. Keep page copy readable
   by placing it on a controlled brand panel instead of directly over the artwork. */
.als-v1638-offers-hero__content{margin-block:54px;padding:34px 36px!important;border-radius:22px;background:linear-gradient(135deg,rgba(0,55,31,.94),rgba(0,55,31,.82));box-shadow:0 22px 65px rgba(0,0,0,.2);backdrop-filter:blur(4px)}
@media(max-width:640px){.als-v1638-offers-hero__content{margin-block:28px;padding:26px 20px!important;border-radius:16px}.als-v1638-offers-hero h1{font-size:36px!important}.als-v1638-offers-hero h2{font-size:22px!important}}
