/* Bi'Tişört v6.8.52 — shared StoreShell footer restore for all inner pages.
   Desktop keeps the compact light footer. Mobile matches the approved dark/navy footer. */

/* 1) Hard visibility reset — inner-page footer must never be clipped/hidden by page CSS. */
footer.hp-footer,
#btDesktopFooterV6321,
.bt-footer-final-v6731,
footer.bt-footer-final-v6731,
body footer.hp-footer,
body #btDesktopFooterV6321{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  position:relative!important;
  inset:auto!important;
  transform:none!important;
  clip:auto!important;
  clip-path:none!important;
  content-visibility:visible!important;
  contain:none!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  overflow:visible!important;
  z-index:2!important;
  box-sizing:border-box!important;
}

/* 2) Modern compact StoreShell structure. */
.bt-footer-final-v6731,
footer#btDesktopFooterV6321.bt-footer-final-v6731{
  padding:0!important;
  border:0!important;
  border-top:1px solid #eee6df!important;
  border-radius:0!important;
  background:#fff!important;
  color:#172033!important;
  box-shadow:none!important;
}
.bt-footer-final-v6731__inner{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto auto!important;
  align-items:center!important;
  gap:clamp(20px,2.4vw,42px)!important;
  width:min(1500px,calc(100% - 64px))!important;
  min-height:78px!important;
  height:auto!important;
  margin:0 auto!important;
  padding:12px 0!important;
  box-sizing:border-box!important;
}
.bt-footer-final-v6731__brand{
  display:inline-flex!important;
  align-items:center!important;
  gap:9px!important;
  min-width:0!important;
  max-width:190px!important;
  color:#141414!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
.bt-footer-final-v6731__brand img,
.bt-footer-final-v6731__brand .bt-store-logo,
.bt-footer-final-v6731__brand svg{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:180px!important;
  max-height:44px!important;
  object-fit:contain!important;
  object-position:left center!important;
}
.bt-footer-final-v6731__nav{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:wrap!important;
  gap:10px clamp(16px,1.7vw,28px)!important;
  min-width:0!important;
}
.bt-footer-final-v6731__nav a{
  display:inline-flex!important;
  color:#252a33!important;
  text-decoration:none!important;
  font-size:12px!important;
  line-height:1.25!important;
  font-weight:650!important;
  white-space:nowrap!important;
}
.bt-footer-final-v6731__nav a:hover{color:#ff6718!important}
.bt-footer-final-v6731__social{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  flex:0 0 auto!important;
}
.bt-footer-final-v6731__social a,
.bt-footer-final-v6731__social span{
  display:grid!important;
  width:32px!important;
  height:32px!important;
  place-items:center!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #e6ded7!important;
  border-radius:50%!important;
  background:#fff!important;
  color:#171717!important;
  text-decoration:none!important;
}
.bt-footer-final-v6731__social svg{width:16px!important;height:16px!important;display:block!important}
.bt-footer-final-v6731__copyright{
  display:block!important;
  color:#7c8490!important;
  font-size:11px!important;
  font-weight:600!important;
  line-height:1.25!important;
  white-space:nowrap!important;
  text-align:right!important;
}

/* 3) Legacy StoreShell footer structure used by older inner pages. */
.hp-footer:not(.bt-footer-final-v6731){
  padding:18px 0!important;
  border:0!important;
  border-top:1px solid #eee6df!important;
  border-radius:0!important;
  background:#fff!important;
  color:#172033!important;
  box-shadow:none!important;
}
.hp-footer:not(.bt-footer-final-v6731)>.hp-footer-grid,
#btDesktopFooterV6321:not(.bt-footer-final-v6731)>.hp-footer-grid{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  flex-wrap:wrap!important;
  gap:20px 28px!important;
  width:min(1500px,calc(100% - 64px))!important;
  height:auto!important;
  max-height:none!important;
  margin:0 auto!important;
  padding:0!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
.hp-footer:not(.bt-footer-final-v6731)>.hp-footer-grid>div{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  min-width:0!important;
  margin:0!important;
}
.hp-footer:not(.bt-footer-final-v6731) .hp-footer-brand p,
.hp-footer:not(.bt-footer-final-v6731) .hp-newsletter,
.hp-footer:not(.bt-footer-final-v6731) .hp-security{
  display:none!important;
}
.hp-footer:not(.bt-footer-final-v6731) a{
  color:#262a31!important;
  text-decoration:none!important;
}
.hp-footer:not(.bt-footer-final-v6731)>.hp-footer-bottom,
#btDesktopFooterV6321:not(.bt-footer-final-v6731)>.hp-footer-bottom{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  align-items:center!important;
  justify-content:space-between!important;
  flex-wrap:wrap!important;
  gap:10px 18px!important;
  width:min(1500px,calc(100% - 64px))!important;
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  margin:14px auto 0!important;
  padding:12px 0 0!important;
  border-top:1px solid #f0e9e2!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}

/* Social icon standard for both footer structures. */
.hp-footer a[href*="instagram.com"],
.hp-footer a[href*="facebook.com"],
.hp-footer a[href*="fb.com"],
.hp-footer a[href*="wa.me"],
.hp-footer a[href*="whatsapp.com"]{
  width:32px!important;height:32px!important;display:inline-grid!important;place-items:center!important;
  font-size:0!important;line-height:0!important;border:1px solid #e6ded7!important;border-radius:50%!important;
  background:#fff!important;color:#171717!important;text-decoration:none!important;vertical-align:middle!important;
}
.hp-footer a[href*="instagram.com"]::before,
.hp-footer a[href*="facebook.com"]::before,
.hp-footer a[href*="fb.com"]::before,
.hp-footer a[href*="wa.me"]::before,
.hp-footer a[href*="whatsapp.com"]::before{
  content:""!important;display:block!important;width:16px!important;height:16px!important;background-repeat:no-repeat!important;background-position:center!important;background-size:contain!important;
}
.hp-footer a[href*="instagram.com"]::before{background-image:url('/assets/images/footer-social-v6734/instagram.svg')!important}
.hp-footer a[href*="facebook.com"]::before,.hp-footer a[href*="fb.com"]::before{background-image:url('/assets/images/footer-social-v6734/facebook.svg')!important}
.hp-footer a[href*="wa.me"]::before,.hp-footer a[href*="whatsapp.com"]::before{background-image:url('/assets/images/footer-social-v6734/whatsapp.svg')!important}

/* 4) Mobile: approved full-width dark footer language, with no rounded outside corners. */
@media(max-width:820px){
  footer.hp-footer,
  #btDesktopFooterV6321,
  .bt-footer-final-v6731,
  footer#btDesktopFooterV6321.bt-footer-final-v6731,
  .hp-footer:not(.bt-footer-final-v6731){
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    overflow:visible!important;
    background:linear-gradient(180deg,#0d1730 0%,#091120 100%)!important;
    color:#fff!important;
  }
  .bt-footer-final-v6731__inner{
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:"brand social" "nav nav" "copyright copyright"!important;
    gap:16px!important;
    width:100%!important;
    max-width:100%!important;
    min-height:0!important;
    margin:0!important;
    padding:22px 20px calc(18px + env(safe-area-inset-bottom))!important;
  }
  .bt-footer-final-v6731__brand{grid-area:brand!important;max-width:150px!important}
  .bt-footer-final-v6731__brand img,
  .bt-footer-final-v6731__brand .bt-store-logo,
  .bt-footer-final-v6731__brand svg{max-width:145px!important;max-height:34px!important}
  .bt-footer-final-v6731__social{grid-area:social!important;justify-self:end!important;gap:9px!important}
  .bt-footer-final-v6731__social a,
  .bt-footer-final-v6731__social span{
    width:44px!important;height:44px!important;border-radius:14px!important;
    border:1px solid rgba(255,255,255,.08)!important;
    background:rgba(255,255,255,.05)!important;color:#fff!important;
  }
  .bt-footer-final-v6731__nav{
    grid-area:nav!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    justify-content:stretch!important;
    gap:11px 18px!important;
  }
  .bt-footer-final-v6731__nav a{color:#fff!important;font-size:14px!important;line-height:1.35!important}
  .bt-footer-final-v6731__copyright{grid-area:copyright!important;text-align:left!important;color:rgba(255,255,255,.68)!important;font-size:12px!important;white-space:normal!important}

  /* Legacy mobile footer */
  .hp-footer:not(.bt-footer-final-v6731)>.hp-footer-grid,
  #btDesktopFooterV6321:not(.bt-footer-final-v6731)>.hp-footer-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:18px 22px!important;
    width:100%!important;
    margin:0!important;
    padding:22px 20px 12px!important;
  }
  .hp-footer:not(.bt-footer-final-v6731)>.hp-footer-grid>div{color:#fff!important}
  .hp-footer:not(.bt-footer-final-v6731) a{color:#fff!important}
  .hp-footer:not(.bt-footer-final-v6731)>.hp-footer-bottom,
  #btDesktopFooterV6321:not(.bt-footer-final-v6731)>.hp-footer-bottom{
    width:100%!important;
    margin:0!important;
    padding:12px 20px calc(18px + env(safe-area-inset-bottom))!important;
    border-top:1px solid rgba(255,255,255,.07)!important;
    color:rgba(255,255,255,.68)!important;
  }
  .hp-footer a[href*="instagram.com"],
  .hp-footer a[href*="facebook.com"],
  .hp-footer a[href*="fb.com"],
  .hp-footer a[href*="wa.me"],
  .hp-footer a[href*="whatsapp.com"]{
    width:44px!important;height:44px!important;border-radius:14px!important;
    border-color:rgba(255,255,255,.08)!important;background:rgba(255,255,255,.05)!important;
  }
}

@media(max-width:430px){
  .bt-footer-final-v6731__inner{padding:20px 16px calc(16px + env(safe-area-inset-bottom))!important;gap:14px 12px!important}
  .bt-footer-final-v6731__brand img,
  .bt-footer-final-v6731__brand .bt-store-logo,
  .bt-footer-final-v6731__brand svg{max-width:136px!important;max-height:32px!important}
  .bt-footer-final-v6731__social a,
  .bt-footer-final-v6731__social span{width:42px!important;height:42px!important}
  .hp-footer:not(.bt-footer-final-v6731)>.hp-footer-grid,
  #btDesktopFooterV6321:not(.bt-footer-final-v6731)>.hp-footer-grid{padding-left:16px!important;padding-right:16px!important}
  .hp-footer:not(.bt-footer-final-v6731)>.hp-footer-bottom,
  #btDesktopFooterV6321:not(.bt-footer-final-v6731)>.hp-footer-bottom{padding-left:16px!important;padding-right:16px!important}
}
