/* AVERON Home v3.14
   A single final layout layer for the storefront landing page. */

.home-page{
  --home-gutter:clamp(20px,8vw,116px);
  --home-max:1220px;
  --home-section-space:clamp(54px,6vw,86px);
  background:#fffaf5;
}
.home-page main{min-width:0;overflow:clip}
.home-page main>section{position:relative;min-width:0;scroll-margin-top:96px}
.home-page .reveal:not(.hidden){opacity:1;transform:none;transition:none}

/* Header */
.home-page .top-strip{min-height:31px;padding-block:7px}
.home-page #top.site-header{
  height:72px;
  padding-inline:var(--home-gutter);
  gap:clamp(10px,1.5vw,24px);
}
.home-page #top.site-header::before{
  background:rgba(255,250,245,.94);
  -webkit-backdrop-filter:blur(18px);
  backdrop-filter:blur(18px);
}
.home-page #top .brand-logo{width:128px;min-width:128px;height:38px}
.home-page #top .nav{gap:clamp(16px,2vw,30px);font-size:13px;white-space:nowrap}
.home-page #top .nav a{padding-block:26px}
.home-page #top .header-actions{gap:7px;min-width:max-content}
.home-page #top .icon-btn{display:grid;place-items:center;width:38px;height:38px;padding:7px}
.home-page #top .language-toggle{margin-inline-start:4px}

/* Hero */
.home-page .hero{
  min-height:610px;
  display:grid;
  grid-template-columns:minmax(430px,.92fr) minmax(0,1.08fr);
  align-items:stretch;
  overflow:hidden;
  background:linear-gradient(105deg,#fbf2ea 0%,#fff 58%);
}
.home-page .hero-copy{
  width:100%;
  max-width:690px;
  align-self:center;
  padding:clamp(54px,6vw,84px) clamp(34px,5vw,74px) clamp(48px,5vw,70px) var(--home-gutter);
}
.home-page .hero h1{max-width:650px;margin:0 0 22px;font-size:clamp(48px,5vw,74px);line-height:.92;letter-spacing:-.055em;text-wrap:balance}
.home-page .hero p:not(.eyebrow){max-width:540px;margin:0;color:#352f31;font-size:17px;line-height:1.7}
.home-page .hero-actions{display:flex;align-items:center;gap:11px;margin-top:28px}
.home-page .hero-actions .btn{min-height:52px;padding-inline:24px}
.home-page .hero-stats{display:grid;grid-template-columns:repeat(3,max-content);gap:clamp(24px,3vw,42px);margin-top:28px}
.home-page .hero-stats div{min-width:0}
.home-page .hero-stats strong{font-size:20px;line-height:1.2}
.home-page .hero-stats span{margin-top:2px;font-size:11px;line-height:1.4;white-space:nowrap}
.home-page .hero-image-wrap{min-height:610px}
.home-page .hero-image-wrap img{display:block;width:100%;height:100%;object-fit:cover;object-position:center top}

/* Optional campaigns */
.home-page .new-drop-spotlight,.home-page .offers-home,.home-page .drop-bar{width:min(var(--home-max),calc(100% - 2 * var(--home-gutter)));margin-inline:auto}
.home-page .new-drop-spotlight{margin-block:clamp(30px,4vw,52px) 0;grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr)}
.home-page .offers-home,.home-page .drop-bar{margin-block:36px}

/* Store promises */
.home-page .store-promises{
  width:min(var(--home-max),calc(100% - 2 * var(--home-gutter)));
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin:30px auto 0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,255,255,.94);
  box-shadow:0 14px 44px rgba(45,16,23,.04);
}
.home-page .store-promises>div{min-width:0;padding:18px 22px;border-inline-end:1px solid var(--line)}
.home-page .store-promises>div:last-child{border-inline-end:0}
.home-page .store-promises strong{font-size:13px;line-height:1.35}
.home-page .store-promises span{font-size:11px;line-height:1.55}

/* Fit collections */
.home-page .collection-categories{padding:var(--home-section-space) var(--home-gutter)}
.home-page .collection-heading{width:min(var(--home-max),100%);margin:0 auto;padding:0 0 22px}
.home-page .collection-heading h2{font-size:clamp(24px,2.4vw,32px)}
.home-page .collection-grid{width:min(var(--home-max),100%);margin:0 auto;gap:18px}
.home-page .collection-card{height:clamp(430px,42vw,560px);border-radius:20px;box-shadow:0 16px 48px rgba(25,12,12,.1)}
.home-page .collection-card-content{inset-inline:28px;bottom:28px}
.home-page .collection-card-title{font-size:clamp(21px,2vw,27px)}
.home-page .collection-swipe-hint{width:min(var(--home-max),100%);margin-inline:auto}

/* Featured products */
.home-page .popular-lab{padding:var(--home-section-space) var(--home-gutter);background:#f7f0e8}
.home-page .popular-lab>.section-title,.home-page .popular-lab>.best-grid{width:min(var(--home-max),100%);margin-inline:auto;padding-inline:0}
.home-page .popular-lab>.section-title{padding-block:0 22px;align-items:end}
.home-page .popular-lab>.section-title h2{font-size:clamp(24px,2.4vw,32px)}
.home-page .popular-lab>.section-title>a{flex:0 0 auto;padding:8px 0;font-size:13px;font-weight:700}
.home-page .best-subcopy{max-width:570px;margin-top:7px;font-size:13px;line-height:1.6}
.home-page .popular-lab>.best-grid{padding-bottom:0;gap:18px}
.home-page .best-card{height:clamp(410px,36vw,500px);border-radius:18px}
.home-page .best-grid:has(.best-card:only-child){grid-template-columns:minmax(290px,400px)}

/* Brand story and newsletter */
.home-page .story{
  margin:0;
  padding:clamp(46px,5vw,72px) var(--home-gutter);
  grid-template-columns:minmax(100px,150px) minmax(0,1fr) minmax(310px,370px);
  gap:clamp(28px,4vw,56px);
  align-items:center;
  overflow:hidden;
  background:#fbf4ed;
}
.home-page .story .mark{width:100%;max-width:118px;justify-self:start}
.home-page .story h2{max-width:700px;margin:0 0 12px;font-size:clamp(24px,2.5vw,34px);line-height:1.22;text-wrap:balance}
.home-page .story p:last-child{margin:0;max-width:720px;font-size:14px;line-height:1.75}
.home-page .story .newsletter{width:100%;max-width:370px;margin:0;justify-self:end;padding:22px;border-radius:16px}

/* Customer care */
.home-page .support-cta{
  width:min(1180px,calc(100% - 2 * var(--home-gutter)));
  max-width:none;
  margin:30px auto 68px;
  padding:clamp(24px,3vw,38px);
  gap:24px;
}
.home-page .support-cta h2{font-size:clamp(30px,3.5vw,46px);line-height:1.06}
.home-page .support-cta p:not(.eyebrow){margin-bottom:0;font-size:14px}
.home-page .support-cta-actions{display:grid;grid-template-columns:auto auto;gap:9px}
.home-page .support-cta-actions .btn{min-width:142px;min-height:48px;padding:12px 18px;white-space:nowrap}

/* Footer */
.home-page .footer{padding:40px var(--home-gutter);gap:clamp(24px,4vw,56px)}
.home-page .footer>div{min-width:0}

/* Arabic layout */
html.is-arabic .home-page .hero{direction:rtl;background:linear-gradient(255deg,#fbf2ea 0%,#fff 58%)}
html.is-arabic .home-page .hero-copy{padding-inline:clamp(34px,5vw,74px) var(--home-gutter);text-align:right}
html.is-arabic .home-page .hero h1{max-width:630px;font-size:clamp(46px,4.7vw,68px);line-height:1.12;letter-spacing:-.025em}
html.is-arabic .home-page .hero p:not(.eyebrow){line-height:1.9}
html.is-arabic .home-page .collection-card-content,html.is-arabic .home-page .best-info{align-items:flex-start;text-align:right}
html.is-arabic .home-page .story,html.is-arabic .home-page .support-cta{direction:rtl;text-align:right}

/* Tablet */
@media(max-width:1100px){
  .home-page{--home-gutter:clamp(18px,5vw,54px)}
  .home-page #top .nav{gap:15px}
  .home-page .hero{grid-template-columns:minmax(380px,.9fr) minmax(0,1.1fr)}
  .home-page .hero-copy{padding-inline-start:var(--home-gutter);padding-inline-end:34px}
  .home-page .hero h1{font-size:clamp(46px,5.2vw,62px)}
  .home-page .hero-stats{gap:22px}
  .home-page .story{grid-template-columns:100px minmax(0,1fr);gap:28px}
  .home-page .story .newsletter{grid-column:1/-1;max-width:none;justify-self:stretch}
}

/* Phone */
@media(max-width:680px){
  .home-page{--home-gutter:18px;--home-section-space:50px}
  .home-page .top-strip{min-height:32px;padding:0}
  .home-page #top.site-header{height:68px;padding-inline:10px 8px;gap:3px}
  .home-page #top .brand-logo{width:88px;min-width:88px;height:27px}
  .home-page #top .header-actions{gap:0}
  .home-page #top .icon-btn{width:31px;min-width:31px;height:34px;padding:5px}
  .home-page #top .language-toggle{width:31px;min-width:31px;height:31px;margin-inline-start:2px;padding:0;font-size:10px}
  .home-page #top .nav{max-height:min(60vh,480px);padding:6px 18px 18px}
  .home-page #top .nav a{padding:13px 0}

  .home-page .hero{min-height:0;display:flex;flex-direction:column;direction:ltr;background:linear-gradient(180deg,#fbf3eb,#fff)}
  .home-page .hero-copy{max-width:none;padding:36px 18px 30px;text-align:left}
  .home-page .hero h1{max-width:350px;margin-bottom:20px;font-size:42px;line-height:.98;letter-spacing:-.045em}
  .home-page .hero p:not(.eyebrow){max-width:none;font-size:15px;line-height:1.72}
  .home-page .hero-actions{display:grid;grid-template-columns:1fr;gap:8px;margin-top:24px}
  .home-page .hero-actions .btn{width:100%;min-height:50px}
  .home-page .hero-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:23px}
  .home-page .hero-stats strong{font-size:18px}.home-page .hero-stats span{font-size:10px;white-space:normal}
  .home-page .hero-image-wrap{height:360px;min-height:360px}

  html.is-arabic .home-page .hero{direction:ltr;background:linear-gradient(180deg,#fbf3eb,#fff)}
  html.is-arabic .home-page .hero-copy{direction:rtl;padding:36px 18px 30px;text-align:right}
  html.is-arabic .home-page .hero h1{max-width:none;font-size:40px;line-height:1.18}
  html.is-arabic .home-page .hero p:not(.eyebrow){font-size:15px;line-height:1.85}

  .home-page .new-drop-spotlight,.home-page .offers-home,.home-page .drop-bar{width:calc(100% - 36px)}
  .home-page .new-drop-spotlight{grid-template-columns:1fr;margin-block:32px 0}.home-page .new-drop-media{min-height:390px}.home-page .new-drop-copy{padding:28px 22px}

  .home-page .store-promises{width:calc(100% - 36px);grid-template-columns:1fr;margin:22px auto 0;border-radius:16px}
  .home-page .store-promises>div{padding:17px 18px;border-inline-end:0;border-bottom:1px solid var(--line)}
  .home-page .store-promises>div:last-child{border-bottom:0}

  .home-page .collection-categories{padding:50px 18px 54px;overflow:hidden}
  .home-page .collection-heading{padding-bottom:20px}
  .home-page .collection-heading h2{font-size:25px}
  .home-page .collection-grid{
    width:auto;
    grid-auto-columns:min(78vw,330px);
    gap:14px;
    margin-inline:-18px;
    padding:2px calc((100vw - min(78vw,330px))/2) 12px;
    scroll-padding-inline:calc((100vw - min(78vw,330px))/2);
  }
  .home-page .collection-card{height:420px;border-radius:17px}
  .home-page .collection-card-content{inset-inline:20px;bottom:22px;gap:12px}
  .home-page .collection-card-title{font-size:20px}.home-page .collection-shop-btn{padding:9px 16px;font-size:10px}
  .home-page .collection-swipe-hint{justify-content:center!important;margin:8px 0 0;text-align:center}

  .home-page .popular-lab{padding:50px 0}
  .home-page .popular-lab>.section-title{display:grid;grid-template-columns:1fr;gap:10px;padding:0 18px 20px;align-items:start}
  .home-page .popular-lab>.section-title h2{font-size:25px}
  .home-page .popular-lab>.section-title>a{justify-self:start;padding:0}
  .home-page .best-subcopy{margin-top:7px;font-size:13px}
  .home-page .popular-lab>.best-grid{width:100%;padding:0 18px;gap:14px}
  .home-page .best-card,.home-page .best-grid:has(.best-card:only-child) .best-card{height:400px;flex-basis:min(78%,300px);border-radius:17px}

  .home-page .story{padding:50px 18px;grid-template-columns:1fr;gap:20px;text-align:left}
  .home-page .story .mark{width:88px;height:136px;justify-self:center;background-position:center}
  .home-page .story h2{font-size:25px;line-height:1.3}
  .home-page .story p:last-child{font-size:14px;line-height:1.75}
  .home-page .story .newsletter{grid-column:auto;max-width:none;padding:20px;justify-self:stretch}
  html.is-arabic .home-page .story{text-align:right}

  .home-page .support-cta{width:calc(100% - 28px);margin:20px 14px 54px;padding:21px;display:grid;gap:20px;border-radius:20px}
  .home-page .support-cta h2{font-size:30px;line-height:1.15}
  .home-page .support-cta p:not(.eyebrow){font-size:13px;line-height:1.75}
  .home-page .support-cta-actions{grid-template-columns:1fr 1fr;width:100%;gap:8px}
  .home-page .support-cta-actions .btn{width:100%;min-width:0;min-height:48px;padding:11px 8px;font-size:12px;white-space:nowrap}

  .home-page .footer{grid-template-columns:1fr 1fr;padding:34px 20px;gap:28px 22px}
  .home-page .footer>div:first-child{grid-column:1/-1}
}

@media(max-width:370px){
  .home-page #top .brand-logo{width:80px;min-width:80px;height:25px}
  .home-page #top .icon-btn{width:29px;min-width:29px;padding:4px}
  .home-page #top .language-toggle{width:29px;min-width:29px}
  .home-page .hero h1{font-size:39px}
  html.is-arabic .home-page .hero h1{font-size:37px}
  .home-page .support-cta-actions{grid-template-columns:1fr}
}

@media(prefers-reduced-motion:reduce){
  .home-page .hero:hover img,.home-page .collection-card:hover img,.home-page .best-card:hover img{transform:none}
}
