/* ==========================
   Home Hero (final)
   ========================== */

/* секція на всю ширину, як у макеті */
.home-hero{
  position: relative;
  background: #e9e4dd; /* під твій беж */
  overflow: hidden;
  min-height: clamp(520px, 70vh, 760px);
  display: flex;
  align-items: center;
}

/* ліва картинка */
.home-hero__media{
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(520px, 42vw);
  pointer-events: none;
}

.home-hero__media img{
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.12));
}

/* центрування контенту */
.home-hero__inner{
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.home-hero__content{
  text-align: center;
  max-width: 760px;
  padding: 72px 0;
}

/* верхній дрібний рядок */
.home-hero__kicker{
  font-size: 12px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(17,17,17,.65);
  margin-bottom: 18px;
}

/* заголовок */
.home-hero__title{
  line-height: 1.05;
  font-weight: 500;
  margin: 0 0 18px 0;
}

/* “Яка ваша?” */
.home-hero__subtitle{
  font-size: 14px;
  color: rgba(17,17,17,.75);
  margin: 0 0 26px 0;
}

/* кнопки */
.home-hero__actions{
  display: inline-flex;
  gap: 16px;
}

/* Buttons (тільки один раз) */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), filter var(--transition-fast);
}

.btn--primary{
  background: var(--color-primary);
  color: #fff;
}
.btn--primary:hover{ filter: brightness(.92); }

.btn--outline{
  background: transparent;
  border-color: rgba(17,17,17,.25);
  color: var(--color-text);
}
.btn--outline:hover{ background: rgba(255,255,255,.35); }

/* адаптив */
@media (max-width: 900px){
  .home-hero__media{ width: min(420px, 52vw); opacity: .95; }
}

@media (max-width: 680px){
  .home-hero__content{ text-align: left; padding: 56px 0; }
  .home-hero__actions{ display: flex; gap: 12px; }
  .home-hero__media{ width: 70vw; opacity: .55; }
}


/* ==========================
   Home Divider
   ========================== */

.home-divider{
  background:#fff;
  border-top:1px solid var(--color-border);
  border-bottom:1px solid var(--color-border);
}

.home-divider__nav{
  display:flex;
  justify-content:center;
  gap:48px;
  padding:22px 0;
  flex-wrap:wrap;
}

.home-divider__link{
  font-size:12px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:rgba(17,17,17,.75);
  text-decoration:none;
}

.home-divider__link:hover{ color:rgba(17,17,17,1); }


/* ==========================
   Home Collections
   ========================== */

.home-collections{ padding: 72px 0; background:#fff; }
.home-collections__head{ text-align:center; max-width: 720px; margin: 0 auto 28px; }
.home-collections__title{ margin:0 0 10px; font-size: clamp(28px, 3vw, 40px); font-weight: 500; }
.home-collections__subtitle{ margin:0; color: rgba(17,17,17,.65); font-size: 14px; line-height: 1.6; }

.home-collections__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;              /* було 18px → ~80% */
  margin-top: 22px;       /* було 28px → ~80% */
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.home-collections__card{
  position: relative;
  display:block;
  border-radius: 18px;
  overflow:hidden;
  aspect-ratio: 4 / 3;
  text-decoration:none;
  background:#f3f3f3;
}

.home-collections__media{
  position:absolute;
  inset:0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.home-collections__overlay{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding: 14px 14px 12px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.65) 100%);
  color:#fff;
}

.home-collections__name{ display:block; font-size: 14px; font-weight: 600; line-height: 1.2; }
.home-collections__desc{ display:block; margin-top: 4px; font-size: 12px; opacity: .85; }

.home-collections__cta{ display:flex; justify-content:center; margin-top: 22px; }

@media (max-width: 980px){
  .home-collections__grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .home-collections{ padding: 54px 0; }
  .home-collections__grid{ grid-template-columns: 1fr; }
}


/* ==========================
   Home Categories Carousel
   ========================== */

.home-cats{ padding:72px 0; background:#fff; }
.home-cats__head{ text-align:center; margin:0 auto 22px; max-width:720px; }
.home-cats__title{ margin:0 0 10px; font-size: clamp(24px, 2.6vw, 34px); font-weight:500; }
.home-cats__subtitle{ margin:0; color: rgba(17,17,17,.65); font-size: 14px; }

.home-cats__wrap{ position:relative; }

.home-cats__track{
  display:flex;
  gap:14px;
  overflow:auto;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  padding: 10px 56px; /* збільшив, бо кнопки 44px */
  -webkit-overflow-scrolling: touch;
}
.home-cats__track::-webkit-scrollbar{ display:none; }

.home-cats__card{
  flex: 0 0 240px;
  scroll-snap-align:start;
  text-decoration:none;
  color: inherit;
}

.home-cats__img{
  display:block;
  width:100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  background:#f2f2f2;
  background-size:cover;
  background-position:center;
}

.home-cats__name{ display:block; margin:10px 0 2px; font-size:13px; font-weight:600; }
.home-cats__count{ display:block; font-size:11px; color: rgba(17,17,17,.55); }

.home-cats__cta{ display:flex; justify-content:center; margin-top: 16px; }

/* Arrows — SVG version */
.home-cats__arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 44px;
  height: 44px;
  border-radius: 999px;

  border: none;
  background: #8b6b4d;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  cursor: pointer;
  z-index: 5;

  outline: none;
  box-shadow: none;
  transition: background .15s ease;
}

/* позиціонування */
.home-cats__arrow--prev{ left: 0; }
.home-cats__arrow--next{ right: 0; }

/* SVG всередині */
.home-cats__arrow img{
  width: 70px;
  height: 70px;
  display: block;
  object-fit: contain;
}

/* hover */
.home-cats__arrow:hover{
  background: #9a7a5d;
}

/* focus / active — без скачків */
.home-cats__arrow:focus,
.home-cats__arrow:focus-visible,
.home-cats__arrow:active{
  background: #8b6b4d;
  outline: none;
  box-shadow: none;
}

/* ==========================
   Home About
   ========================== */

.home-about{
  padding: 72px 0;
  background: #fff;
}

.home-about__inner{
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 56px;
  align-items: center;
}

.home-about__media{
  border-radius: 18px;
  overflow: hidden;
  background: #f2f2f2;
}

.home-about__media img{
  display: block;
  width: 100%;
  height: auto;
}

.home-about__title{
  margin: 0 0 10px;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 500;
  text-align: center;
}

.home-about__text{
  margin: 0 auto 10px;
  max-width: 720px;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(17,17,17,.75);
  text-align: center;
}

.home-about__stats{
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.home-about__stat{
  text-align: center;
}

.home-about__num{
  font-size: 20px;
  font-weight: 600;
  color: #111;
  margin-bottom: 4px;
}

.home-about__label{
  font-size: 12px;
  color: rgba(17,17,17,.6);
}

/* Responsive */
@media (max-width: 980px){
  .home-about__inner{
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .home-about__media{
    max-width: 520px;
    margin: 0 auto;
  }
}
@media (max-width: 560px){
  .home-about{
    padding: 54px 0;
  }
}
/* ==========================
   Home Reviews Links
   ========================== */

.home-reviews{
  padding: 72px 0;
  background: #fff;
}

.home-reviews__head{
  text-align: center;
  max-width: 720px;
  margin: 0 auto 26px;
}

.home-reviews__title{
  margin: 0 0 10px;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 500;
}

.home-reviews__subtitle{
  margin: 0;
  font-size: 13px;
  color: rgba(17,17,17,.65);
}

.home-reviews__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}

.home-reviews__card{
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(17,17,17,.08);
  border-radius: 14px;
  padding: 18px 18px 16px;
  text-align: center;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.home-reviews__card:hover{
  transform: translateY(-2px);
  border-color: rgba(17,17,17,.14);
  box-shadow: 0 14px 30px rgba(0,0,0,.08);
}

.home-reviews__kicker{
  font-size: 12px;
  color: rgba(17,17,17,.55);
  margin-bottom: 10px;
}

.home-reviews__name{
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.home-reviews__link{
  font-size: 12px;
  color: rgba(17,17,17,.70);
  margin-bottom: 10px;
}

.home-reviews__stars{
  font-size: 14px;
  letter-spacing: 2px;
  color: #8b6b4d; /* під бренд */
}

/* Неактивна картка (Lasco.Horeca поки без сторінки) */
.home-reviews__card[aria-disabled="true"]{
  cursor: default;
  opacity: .75;
}
.home-reviews__card[aria-disabled="true"]:hover{
  transform: none;
  box-shadow: none;
}

/* Responsive */
@media (max-width: 900px){
  .home-reviews__grid{
    grid-template-columns: 1fr;
    max-width: 520px;
  }
}
/* ==========================
   Home Instagram
   ========================== */

.home-instagram{
  padding: 72px 0 0;
  background:#fff;
}

.home-instagram__head{
  display:block;
  text-align:center;
  text-decoration:none;
  color:inherit;
  margin-bottom: 28px;
}

.home-instagram__subtitle{
  font-size:13px;
  color:rgba(17,17,17,.65);
  margin-bottom: 18px;
}

.home-instagram__profile{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}

.home-instagram__avatar{
  width:72px;
  height:72px;
  border-radius:50%;
  background:#e9e4dd; /* можна замінити на реальний аватар */
}

.home-instagram__username{
  font-weight:600;
  font-size:14px;
}

.home-instagram__follow{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:#ff2f92;
  color:#fff;
  padding:8px 14px;
  border-radius:999px;
  font-size:12px;
  font-weight:500;
}

/* Smash Balloon grid override */
.home-instagram__grid .sbi_photo_wrap{
  aspect-ratio:1/1;
}

.home-instagram__grid .sbi_photo{
  border-radius:0;
  transition:transform .25s ease;
}

.home-instagram__grid .sbi_photo:hover{
  transform:scale(1.02);
}
/* ==========================
   Home Instagram
   ========================== */

.home-instagram{
  background:#fff;
  padding: 72px 0;
}

/* шапка */
.home-instagram__head{
  display: block;
  text-align: center;
  text-decoration: none;
  color: inherit;
  margin: 0 auto 22px;
  max-width: 720px;
}

.home-instagram__subtitle{
  margin: 0 0 14px;
  color: rgba(17,17,17,.65);
  font-size: 14px;
}

.home-instagram__profile{
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.home-instagram__avatar{
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #e9e4dd;
}

.home-instagram__username{
  font-weight: 600;
}

.home-instagram__follow{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  background: #8b6b4d;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

/* контейнер фіда — НЕ full width */
.home-instagram__grid{
  max-width: 930px;
  margin: 0 auto;
}

/* Smash Balloon: обмежити ширину і прибрати їхні “поля” */
.home-instagram__grid .sbi,
.home-instagram__grid .sb_instagram{
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.home-instagram__grid #sbi_images{
  gap: 0 !important;
}

/* на випадок, якщо плагін ставить інлайнові width */
.home-instagram__grid img{
  height: auto;
  display: block;
}
/* ==========================
   Hide Smash Balloon header
   ========================== */

/* прибираємо шапку інстаграму плагіна */
.home-instagram .sb_instagram_header,
.home-instagram .sbi_header,
.home-instagram .sbi_header_link{
  display: none !important;
}
.home-instagram__avatar{
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
/* ==========================
   Home Newsletter
   ========================== */

.home-newsletter{
  padding: 90px 0;
  background: #fff;
}

.home-newsletter__inner{
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

.home-newsletter__title{
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 500;
}

.home-newsletter__subtitle{
  margin: 0 0 26px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(17,17,17,.65);
}

.home-newsletter__form{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
}

.home-newsletter__input{
  flex: 1;
  min-width: 260px;
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(17,17,17,.12);
  background: #fff;
  outline: none;
}

.home-newsletter__input:focus{
  border-color: rgba(139,107,77,.55);
  box-shadow: 0 0 0 4px rgba(139,107,77,.12);
}

.home-newsletter__btn{
  height: 44px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: #8b6b4d;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: filter .15s ease;
}

.home-newsletter__btn:hover{
  filter: brightness(1.07); /* трохи світліший на hover */
}

.home-newsletter__btn:active{
  filter: brightness(.98);
}

@media (max-width: 640px){
  .home-newsletter{
    padding: 70px 0;
  }

  .home-newsletter__form{
    flex-direction: column;
    gap: 12px;
  }

  .home-newsletter__input,
  .home-newsletter__btn{
    width: 100%;
  }
}


/* =========================================================
   MOBILE HOME FIX — full first screen: header + hero + divider
   ========================================================= */

@media (max-width: 896px){

  :root{
    --mobile-header-height: 75px;
    --mobile-divider-height: 112px;
    --mobile-side-padding: 16px;
  }

  html,
  body{
    width: 100%;
    overflow-x: hidden;
  }

  body.home,
  body.front-page{
    background: #fff;
  }

  body.home .site,
  body.front-page .site,
  body.home .site-content,
  body.front-page .site-content,
  body.home .content-area,
  body.front-page .content-area,
  body.home .site-main,
  body.front-page .site-main,
  body.home article,
  body.front-page article,
  body.home .inside-article,
  body.front-page .inside-article{
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.home .lasco-container,
  body.front-page .lasco-container,
  body.home .grid-container,
  body.front-page .grid-container{
    width: 100% !important;
    max-width: none !important;
    padding-left: var(--mobile-side-padding) !important;
    padding-right: var(--mobile-side-padding) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* ==========================
     Hero
     ========================== */

  .home-hero{
    width: 100%;
    min-height: calc(100svh - var(--mobile-header-height) - var(--mobile-divider-height));
    height: calc(100svh - var(--mobile-header-height) - var(--mobile-divider-height));
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
  }

  .home-hero__inner{
    width: 100%;
    justify-content: flex-start;
    align-items: center;
  }

  .home-hero__content{
    width: 100%;
    max-width: none;
    padding: 0;
    text-align: left;
    transform: translateY(28px);
    position: relative;
    z-index: 2;
  }

  .home-hero__kicker{
    font-size: 9px;
    letter-spacing: .34em;
    margin-bottom: 14px;
  }

  .home-hero__title{
    max-width: 320px;
    font-size: 29px;
    line-height: 1.08;
    margin: 0 0 10px;
  }

  .home-hero__subtitle{
    max-width: 300px;
    font-size: 12px;
    line-height: 1.45;
    margin: 0 0 18px;
  }

  .home-hero__actions{
    display: flex;
    gap: 10px;
  }

  .home-hero__actions .btn{
    height: 38px;
    padding: 0 16px;
    font-size: 12px;
    border-radius: 8px;
  }

  .home-hero__media{
    width: 86vw;
    left: auto;
    right: -26vw;
    bottom: 0;
    opacity: .38;
  }

  /* ==========================
     Divider — 4 buttons inside first screen
     ========================== */

  .home-divider{
    height: var(--mobile-divider-height);
    background: #fff;
    border-top: 1px solid rgba(17,17,17,.08);
    border-bottom: 1px solid rgba(17,17,17,.08);
  }

  .home-divider .lasco-container,
  .home-divider .grid-container{
    height: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .home-divider__nav{
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 0;
  }

  .home-divider__link{
    height: 56px;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(17,17,17,.08);
    font-size: 9px;
    letter-spacing: .26em;
    line-height: 1.2;
    text-align: center;
  }

  .home-divider__link:nth-child(odd){
    border-right: 1px solid rgba(17,17,17,.08);
  }

  .home-divider__link:nth-child(3),
  .home-divider__link:nth-child(4){
    border-bottom: 0;
  }

/* ==========================
   Collections — mobile peek carousel
   ========================== */

.home-collections{
  padding: 42px 0 46px;
  overflow: hidden;
}

.home-collections__head{
  max-width: none;
  margin-bottom: 22px;
}

.home-collections__title{
  font-size: 24px;
  line-height: 1.15;
}

.home-collections__subtitle{
  font-size: 12px;
  line-height: 1.55;
}

.home-collections__grid{
  width: auto;
  max-width: none;

  display: flex;
  grid-template-columns: none;

  gap: 12px;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;

  margin-top: 22px;

  padding: 0 38px 4px 0;
  margin-right: -38px;

  scrollbar-width: none;
}

.home-collections__grid::-webkit-scrollbar{
  display: none;
}

.home-collections__card{
  flex: 0 0 86%;
  scroll-snap-align: start;

  border-radius: 16px;
  aspect-ratio: 4 / 3;
}

  /* ==========================
     About
     ========================== */

  .home-about{
    padding: 46px 0;
  }

  .home-about__inner{
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-about__media{
    max-width: none;
    border-radius: 16px;
  }

  .home-about__title{
    font-size: 24px;
  }

  .home-about__text{
    max-width: none;
    font-size: 12px;
    line-height: 1.7;
  }

  .home-about__stats{
    gap: 14px;
  }

/* ==========================
   Mobile Reviews — 3 columns
   ========================== */

  .home-reviews{
    padding: 36px 0 34px;
  }

  .home-reviews .section-title,
  .home-reviews__title{
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 6px;
    text-align: center;
  }

  .home-reviews .section-subtitle,
  .home-reviews__subtitle{
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 18px;
    text-align: center;
  }

  .home-reviews__grid{
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 0 14px !important;
  }

  .home-reviews__card{
    min-width: 0 !important;
    padding: 12px 6px !important;
    border-radius: 10px !important;
    text-align: center !important;
    box-shadow: 0 4px 14px rgba(0,0,0,.05) !important;
  }

  .home-reviews__card-title{
    font-size: 10px !important;
    line-height: 1.2 !important;
    margin-bottom: 4px !important;
  }

  .home-reviews__card-text{
    font-size: 9px !important;
    line-height: 1.25 !important;
    margin-bottom: 6px !important;
  }

  .home-reviews__stars{
    font-size: 10px !important;
    letter-spacing: 1px !important;
  }

  /* ==========================
     Instagram
     ========================== */

/* Instagram — mobile height fix */
.home-instagram{
  padding: 46px 0 32px;
}

.home-instagram__grid{
  max-width: none;
  margin-bottom: 0;
}

/* Smash Balloon fixed height override */
.home-instagram__grid #sb_instagram,
.home-instagram__grid .sb_instagram,
.home-instagram__grid .sbi,
.home-instagram__grid .sbi_fixed_height{
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  overflow: visible !important;
}

/* Сам контейнер фото */
.home-instagram__grid #sbi_images{
  height: auto !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* Кнопки Load More / Follow */
.home-instagram__grid .sbi_load{
  padding-top: 12px !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

  /* ==========================
     Newsletter
     ========================== */

  .home-newsletter{
    padding: 54px 0;
  }

  .home-newsletter__inner{
    max-width: none;
  }

  .home-newsletter__form{
    flex-direction: column;
    max-width: none;
  }

  .home-newsletter__input,
  .home-newsletter__btn{
    width: 100%;
  }
}