/* FEDI 2026-08-21: spójny dół strony głównej — korzyści, newsletter, SEO, FAQ i stopka. */

/* Korzyści */
.shop_index #features{
  height: auto !important;
  margin: 72px 0 16px !important;
  padding: 0 !important;
  overflow: visible !important;
}

.shop_index #features .features-owl,
.shop_index #features .owl-stage-outer{
  width: 100%;
  overflow: visible !important;
}

.shop_index #features .owl-stage{
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: 100% !important;
  transform: none !important;
}

.shop_index #features .owl-item{
  width: auto !important;
  margin: 0 !important;
}

.shop_index #features .features-box{
  display: flex;
  min-height: 116px;
  height: auto !important;
  box-sizing: border-box;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  gap: 16px;
  padding: 22px;
  border: 1px solid #e8e4df;
  border-radius: var(--fedi-radius-card, 8px);
  background: #f8f6f3;
  text-align: left;
}

.shop_index #features .features-box-img{
  display: flex;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  background: #fff;
}

.shop_index #features .features-box-img img{
  display: block;
  max-width: 32px;
  max-height: 32px;
}

.shop_index #features .features-box p{
  margin: 0;
  color: #2c2c2c;
  font-size: 12px;
  line-height: 1.55;
  text-align: left;
}

.shop_index #features .features-box strong{
  color: #111;
  font-size: 13px;
  font-weight: 700;
}

.shop_index #features .owl-nav,
.shop_index #features .owl-dots{
  display: none !important;
}

/* Newsletter */
.shop_index #box_newsletter{
  display: grid;
  grid-template-columns: minmax(240px, .82fr) minmax(420px, 1.18fr);
  grid-template-rows: auto auto;
  column-gap: clamp(42px, 6vw, 92px);
  align-items: center;
  margin: 0 !important;
  padding: clamp(36px, 5vw, 64px) !important;
  border: 0 !important;
  border-radius: var(--fedi-radius-card, 8px);
  background: #eee7df;
}

.shop_index #box_newsletter .boxhead{
  grid-column: 1;
  grid-row: 1;
  align-self: end;
}

.shop_index #box_newsletter .boxhead span{
  color: #5b5148;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.4;
  text-align: left;
  text-transform: uppercase;
}

.shop_index #box_newsletter .subboxhead{
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  margin: 9px 0 0;
  color: #111;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.05;
  text-align: left;
}

.shop_index #box_newsletter .innerbox{
  grid-column: 2;
  grid-row: 1 / 3;
}

.shop_index #box_newsletter .innerbox .boxintro{
  max-width: 590px;
  margin: 0 0 18px;
  color: #4f4943;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
  text-align: left;
}

.shop_index #box_newsletter .innerbox form{
  max-width: 620px;
  margin: 0;
}

.shop_index #box_newsletter .innerbox fieldset:first-child{
  display: flex;
  height: 54px;
  box-sizing: border-box;
  align-items: center;
  margin: 0;
  padding: 4px;
  border: 1px solid #c9c0b8;
  border-radius: 999px;
  background: #fff;
}

.shop_index #box_newsletter .innerbox fieldset:first-child input{
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 44px;
  box-sizing: border-box;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: #111;
  font-size: 12px;
}

.shop_index #box_newsletter .innerbox fieldset:first-child button{
  position: static;
  display: inline-flex;
  flex: 0 0 auto;
  width: auto;
  min-width: 122px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid #111;
  border-radius: 999px !important;
  background: #111;
  color: #fff;
}

.shop_index #box_newsletter .innerbox fieldset:first-child button::before{
  display: none;
}

.shop_index #box_newsletter .innerbox fieldset:first-child button span{
  position: static;
  display: inline;
  width: auto;
  height: auto;
  border: 0;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  transform: none;
}

/* Treść SEO */
.shop_index #seo_box{
  position: relative;
  box-sizing: border-box;
  margin-top: 72px;
  padding: clamp(34px, 5vw, 70px);
  border: 1px solid #ebe7e2;
  border-radius: var(--fedi-radius-card, 8px);
  background: #faf8f5;
  text-align: center;
}

.shop_index #seo_box .seo_box_wrap::before{
  display: none;
}

.shop_index #seo_box .seo_box{
  position: relative;
  max-width: 1080px;
  height: 310px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  text-align: left;
}

.shop_index #seo_box .seo_box::after{
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 96px;
  background: linear-gradient(to bottom, rgba(250, 248, 245, 0), #faf8f5 88%);
  pointer-events: none;
  content: "";
}

.shop_index #seo_box .seo_box.active{
  height: auto;
}

.shop_index #seo_box .seo_box.active::after{
  display: none;
}

.shop_index #seo_box h1{
  max-width: 880px;
  margin: 0 0 26px;
  padding: 0;
  color: #111;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.1;
}

.shop_index #seo_box h2{
  margin: 34px 0 14px;
  color: #161616;
  font-size: clamp(18px, 1.7vw, 23px);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.35;
}

.shop_index #seo_box h1 + h2{
  margin-top: 0;
}

.shop_index #seo_box p{
  margin: 0 0 20px;
  color: #57524d;
  font-size: 13px;
  line-height: 1.8;
}

.shop_index #seo_box a{
  color: #111;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.shop_index #seo_box .show-more{
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin: 24px auto 0;
  padding: 0 22px;
  border: 1px solid #cfc8c1;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
}

.shop_index #seo_box .show-more:hover,
.shop_index #seo_box .show-more:focus{
  border-color: #111;
}

.shop_index .fedi-home-faq{
  max-width: 1080px;
  margin: 72px auto 84px;
}

/* Stopka na stronie głównej */
.shop_index footer.footer{
  display: grid;
  grid-template-columns: minmax(250px, .8fr) minmax(0, 1.55fr);
  column-gap: clamp(48px, 8vw, 120px);
  width: calc(100% - 48px) !important;
  max-width: 1500px !important;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 56px 0 0;
  border-top: 1px solid #dedede;
}

.shop_index footer.footer .footer-contact{
  width: auto;
  padding: 0;
}

.shop_index .fedi-footer-kicker,
.shop_index footer.footer .innerfooter li.head,
.shop_index .fedi-footer-link-head{
  display: block !important;
  margin: 0 0 18px;
  color: #111;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.shop_index footer.footer .footer-contact .footer_phone{
  margin: 0 0 8px;
  color: #111;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -.02em;
}

.shop_index footer.footer .footer-contact .footer_mail{
  margin: 0 0 12px;
  color: #111;
  font-size: 13px;
  font-weight: 600;
}

.shop_index footer.footer .footer-contact p{
  margin: 0;
  color: #696969;
  font-size: 12px;
}

.shop_index footer.footer .footer-contact .footer-socials-list{
  margin: 24px 0 0;
}

.shop_index footer.footer .footer-socials-list a{
  width: 38px;
  height: 38px;
  margin: 0 8px 0 0;
  border-color: #dedede;
}

.shop_index footer.footer .innerfooter{
  width: auto;
  margin: 0;
}

.shop_index footer.footer .innerfooter > ul.overall{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
}

.shop_index footer.footer .innerfooter > ul > li,
.shop_index footer.footer .innerfooter ul.overall li.overall{
  width: auto;
}

.shop_index footer.footer .innerfooter > ul li ul{
  padding: 0;
}

.shop_index footer.footer .innerfooter ul li ul li:nth-child(2){
  margin-top: 0;
}

.shop_index footer.footer .innerfooter ul li ul li a,
.shop_index footer.footer .innerfooter ul li.footer-blog a{
  display: inline-block;
  margin: 0 0 11px;
  padding: 0;
  color: #555;
  font-size: 12px;
  line-height: 1.55;
}

.shop_index footer.footer .innerfooter ul li a:hover,
.shop_index footer.footer .innerfooter ul li a:focus{
  color: #111;
}

.shop_index footer.footer > .footer-socials{
  display: none;
}

.shop_index footer.footer .copyright{
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  width: 100%;
  box-sizing: border-box;
  align-items: center;
  margin: 44px 0 0;
  padding: 24px 0;
  border-top: 1px solid #e6e6e6;
}

.shop_index footer.footer .copyright .footer-socials-logo{
  margin: 0;
}

.shop_index footer.footer .copyright .footer-socials-logo img{
  width: 142px;
}

.shop_index footer.footer .copyright p{
  margin: 0;
  color: #777;
  font-size: 11px;
}

.shop_index footer.footer .copyright span{
  justify-self: end;
  color: #8a8a8a;
  font-size: 10px;
  line-height: 1.5;
}

@media (max-width: 1019px){
  .shop_index #features .owl-stage{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop_index #box_newsletter{
    grid-template-columns: minmax(210px, .7fr) minmax(360px, 1.3fr);
    column-gap: 36px;
  }
}

@media (max-width: 767px){
  .shop_index #features{
    margin-top: 48px !important;
  }

  .shop_index #features .owl-stage{
    gap: 8px;
  }

  .shop_index #features .features-box{
    min-height: 112px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
  }

  .shop_index #features .features-box-img{
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .shop_index #features .features-box-img img{
    max-width: 25px;
    max-height: 25px;
  }

  .shop_index #features .features-box p,
  .shop_index #features .features-box strong{
    font-size: 11px;
    line-height: 1.45;
  }

  .shop_index #box_newsletter{
    display: block;
    margin-top: 8px !important;
    padding: 32px 22px !important;
  }

  .shop_index #box_newsletter .subboxhead{
    margin-top: 7px;
  }

  .shop_index #box_newsletter .innerbox{
    margin-top: 22px;
  }

  .shop_index #box_newsletter .innerbox fieldset:first-child{
    height: auto;
    padding: 4px;
  }

  .shop_index #box_newsletter .innerbox fieldset:first-child button{
    min-width: 96px;
    padding: 0 15px;
  }

  .shop_index #seo_box{
    margin-top: 48px;
    padding: 30px 22px;
  }

  .shop_index #seo_box .seo_box{
    height: 360px;
  }

  .shop_index #seo_box h1{
    font-size: 26px;
  }

  .shop_index #seo_box h2{
    margin-top: 28px;
    font-size: 17px;
  }

  .shop_index #seo_box p{
    font-size: 12px;
    line-height: 1.75;
  }

  .shop_index .fedi-home-faq{
    margin: 48px auto 56px;
  }

  .shop_index footer.footer{
    display: block;
    width: calc(100% - 24px) !important;
    padding-top: 38px;
  }

  .shop_index footer.footer .footer-contact{
    align-items: flex-start;
    padding: 0 0 30px;
    border: 0;
    text-align: left;
  }

  .shop_index footer.footer .footer-contact .footer-socials-list{
    display: flex;
  }

  .shop_index footer.footer .innerfooter > ul.overall{
    display: block;
  }

  .shop_index footer.footer .innerfooter > ul > li{
    border-top: 1px solid #e6e6e6;
  }

  .shop_index footer.footer .innerfooter li.head,
  .shop_index .fedi-footer-link-head{
    margin: 0;
    padding: 17px 0;
  }

  .shop_index footer.footer .innerfooter ul li ul li a{
    margin-bottom: 12px;
  }

  .shop_index footer.footer .innerfooter ul li.footer-blog a{
    margin: 0 0 18px;
  }

  .shop_index footer.footer .copyright{
    display: block;
    margin-top: 24px;
    padding: 24px 0 52px;
    text-align: center;
  }

  .shop_index footer.footer .copyright .footer-socials-logo{
    display: none;
  }

  .shop_index footer.footer .copyright p{
    margin-bottom: 8px;
  }

  .shop_index footer.footer .copyright span{
    display: block;
    text-align: center;
  }
}
