.footer{
  background:#e9ecee;
  padding:60px 0 50px;
}

.footer-inner{
  max-width:1100px;
  margin:0 auto;
  padding:0 20px;

  display:flex;
  flex-direction:column;
  align-items:center;
  gap:30px;
}

/* ================= LINKS ================= */

.footer-links{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:28px;
}

.footer-links a{
  font-size:15px;
  font-weight:500;
  color:#1f2937;
  text-decoration:none;
  white-space:nowrap;
}

.footer-links a.active{
  color:#2563eb;
}

.footer-links a:hover{
  color:#2563eb;
}
/* ================= SOCIAL ================= */

.footer-social{
  display:flex;
  gap:32px;
  justify-content:center;
}

.social-item{
  width:60px;      /* 🔥 большая кликабельная зона */
  height:60px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.social-item img{
  width:42px;      /* 🔥 крупные иконки */
  height:42px;
  object-fit:contain;
}

/* ================= COPY ================= */

.footer-copy{
  font-size:14px;
  color:#4b5563;
  text-align:center;
  max-width:800px;
}

/* ================= MOBILE ================= */

@media (max-width:768px){

  .footer{
    padding:50px 20px 100px;
  }

  .footer-links{
    gap:18px;
  }

  .social-item{
    width:64px;
    height:64px;
  }

  .social-item img{
    width:44px;
    height:44px;
  }

}

.cookie-inner{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  align-items:center;
  justify-content:space-between;
}

.cookie-actions{
  display:flex;
  gap:12px;
}

.cookie-btn{
  border:none;
  padding:10px 18px;
  border-radius:10px;
  cursor:pointer;
  font-weight:600;
  font-size:14px;
}

.cookie-btn.primary{
  background:#2563eb;
  color:#fff;
}

.cookie-banner.hidden{
  display: none !important;
}

@media(max-width:768px){
  .cookie-inner{
    flex-direction:column;
    align-items:flex-start;
  }

  .cookie-actions{
    width:100%;
  }

  .cookie-btn{
    flex:1;
  }
}
.cookie-banner{
  position:fixed;
  bottom:70px;
  left:50%;
  transform:translateX(-50%) translateY(0);
  width:95%;
  max-width:1050px;

  background:#f1f5f9;
  border:1px solid #e2e8f0;
  border-radius:18px;

  box-shadow:0 15px 40px rgba(0,0,0,.08);

  padding:20px 24px;
  z-index:9999;

  opacity:1;
  transition:opacity .3s ease, transform .3s ease;
}
.cookie-text{
  font-size:14px;
  line-height:1.6;
  color:#374151;
  max-width:720px;
}

.cookie-text a{
  color:#2563eb;
  font-weight:400;
  text-decoration:none;
}

.cookie-text a:hover{
  text-decoration:underline;
}

.cookie-btn.primary{
  background:#2563eb;
  color:#fff;
}

.cookie-btn:not(.primary){
  background:#f3f4f6;
  border:1px solid #e5e7eb;
  color:#374151;
}

/* ===== Footer consistency patch ===== */
.footer{
  width:100%;
  box-sizing:border-box;
}

@media (max-width:768px){
  .footer{
    padding-bottom:calc(190px + env(safe-area-inset-bottom, 0px));
  }
}

html[data-tp-theme="dark"] .footer{
  background:#111827 !important;
  color:#f8fafc !important;
  border-top:1px solid rgba(148,163,184,.28) !important;
}

html[data-tp-theme="dark"] .footer-links a{
  color:#f8fafc !important;
}

html[data-tp-theme="dark"] .footer-copy{
  color:#aeb8ca !important;
}


/* ===== FINAL offer page footer spacing ===== */
@media (max-width:768px){
  body:has(.offer-page-card) .footer{
    padding-top:24px !important;
    margin-top:0 !important;
  }
}
