/* =========================================================
   BÜROMOTTO PREMIUM FOOTER & CART LINK v1.0.0
=========================================================*/

/* Eski footer'ı gizle */
footer.ct-footer,
.ct-footer,
.site-footer:not(.bmpfh-footer),
footer.site-footer,
footer.wp-block-template-part {
  display: none !important;
}

/* Header sağ üst Sepetim */
.bmpfh-cart-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  color: #101820 !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  margin-left: 14px !important;
  white-space: nowrap !important;
}

.bmpfh-cart-link:hover {
  color: #e92828 !important;
}

.bmpfh-cart-icon {
  width: 18px !important;
  height: 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.bmpfh-cart-count {
  min-width: 18px !important;
  height: 18px !important;
  padding: 0 5px !important;
  border-radius: 999px !important;
  background: #e92828 !important;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

/* Footer */
.bmpfh-footer {
  margin-top: 70px !important;
  background: #101820 !important;
  color: #fff !important;
  position: relative !important;
  overflow: hidden !important;
}

.bmpfh-footer::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background:
    radial-gradient(circle at 12% 20%, rgba(233,40,40,.22), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(255,255,255,.08), transparent 24%),
    linear-gradient(180deg, #111b25 0%, #0b1118 100%) !important;
  pointer-events: none !important;
}

.bmpfh-footer-inner {
  position: relative !important;
  z-index: 2 !important;
  width: min(1180px, calc(100% - 40px)) !important;
  margin: 0 auto !important;
  padding: 64px 0 42px !important;
  display: grid !important;
  grid-template-columns: 1.4fr .75fr .75fr 1fr !important;
  gap: 42px !important;
}

.bmpfh-logo {
  color: #e5e7eb !important;
  font-size: 34px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: -1.2px !important;
  margin-bottom: 18px !important;
}

.bmpfh-logo span {
  color: #e92828 !important;
}

.bmpfh-brand p {
  color: rgba(255,255,255,.72) !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
  margin: 0 0 22px !important;
  max-width: 430px !important;
}

.bmpfh-trust {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

.bmpfh-trust span {
  display: inline-flex !important;
  align-items: center !important;
  padding: 10px 13px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  color: rgba(255,255,255,.88) !important;
  font-size: 12px !important;
  font-weight: 850 !important;
}

.bmpfh-col h3 {
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 950 !important;
  margin: 0 0 18px !important;
  letter-spacing: .4px !important;
}

.bmpfh-col a {
  display: block !important;
  color: rgba(255,255,255,.70) !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  margin-bottom: 12px !important;
  transition: color .18s ease, transform .18s ease !important;
}

.bmpfh-col a:hover {
  color: #fff !important;
  transform: translateX(3px) !important;
}

.bmpfh-contact p {
  color: rgba(255,255,255,.70) !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  margin: 0 0 14px !important;
}

.bmpfh-whatsapp {
  width: fit-content !important;
  margin-top: 10px !important;
  padding: 13px 17px !important;
  border-radius: 16px !important;
  background: #e92828 !important;
  color: #fff !important;
  font-weight: 950 !important;
  box-shadow: 0 16px 34px rgba(233,40,40,.22) !important;
}

.bmpfh-whatsapp:hover {
  transform: none !important;
  background: #c91515 !important;
}

.bmpfh-bottom {
  position: relative !important;
  z-index: 2 !important;
  width: min(1180px, calc(100% - 40px)) !important;
  margin: 0 auto !important;
  padding: 22px 0 !important;
  border-top: 1px solid rgba(255,255,255,.10) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  color: rgba(255,255,255,.58) !important;
  font-size: 12px !important;
  font-weight: 750 !important;
}

@media (max-width: 980px) {
  .bmpfh-footer-inner {
    grid-template-columns: 1fr 1fr !important;
    gap: 34px !important;
  }
}

@media (max-width: 640px) {
  .bmpfh-footer {
    margin-top: 44px !important;
  }

  .bmpfh-footer-inner {
    width: calc(100% - 32px) !important;
    grid-template-columns: 1fr !important;
    padding: 46px 0 30px !important;
  }

  .bmpfh-bottom {
    width: calc(100% - 32px) !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .bmpfh-cart-link {
    margin-left: 8px !important;
    font-size: 12px !important;
  }
}


/* v1.0.1 - Header v3 stable Sepetim uyumu */
.bmpfh-cart-link {
  position: relative !important;
  z-index: 50 !important;
}

.bmpfh-cart-link.bmpfh-in-header {
  height: 40px !important;
  padding: 0 10px !important;
  border-radius: 14px !important;
  background: transparent !important;
}

.bmpfh-cart-link.bmpfh-in-header:hover {
  background: #fff5f5 !important;
}

.bmpfh-header-cart-holder {
  display: inline-flex !important;
  align-items: center !important;
  margin-left: 10px !important;
}

@media (max-width: 768px) {
  .bmpfh-cart-link.bmpfh-in-header {
    height: 38px !important;
    padding: 0 8px !important;
  }

  .bmpfh-cart-link .bmpfh-cart-text {
    display: inline !important;
  }
}


/* v1.0.3 - Güvenli header düzeltmesi */
.bmpfh-hidden-siparis-safe {
  display: none !important;
}

.bmpfh-cart-link.bmpfh-in-header {
  height: 40px !important;
  padding: 0 10px !important;
  margin-left: 10px !important;
  border-radius: 14px !important;
  background: transparent !important;
  align-self: center !important;
}

.bmpfh-cart-link.bmpfh-in-header:hover {
  background: #fff5f5 !important;
}

.bmpfh-account-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  color: #101820 !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  white-space: nowrap !important;
  height: 40px !important;
  padding: 0 10px !important;
  border-radius: 14px !important;
}

.bmpfh-account-link:hover {
  color: #e92828 !important;
  background: #fff5f5 !important;
}
