/*
    Target: Advertising banner
    Description: Styles for TFC woo pages and overrides
    Version: 1.0.5
    License:         	TFC 2026
    License URI:     	TFC 2026
*/

.tfc-ad-banner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 28px);
  width: 80%;
  align-self: center;
  background: rgba(0, 0, 0, 0.75);
  border-radius: clamp(14px, 2vw, 22px);
  padding: clamp(12px, 2.2vw, 20px) clamp(14px, 3vw, 25px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  overflow: hidden;
  position: fixed;
  left: 50%;
  bottom: clamp(10px, 2vh, 18px);
  transform: translateX(-50%);
  width: min(1200px, calc(100vw - 24px));
  z-index: 9999999999999 !important;
}

.tfc-ad-banner > div:first-child{
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 0.8vw, 8px);
  /* for wrapping on small screens */
  min-width: 0; 
}

.tfc-ad-banner .banner-title{
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.1;
  margin: 0;
}

.tfc-ad-banner .banner-maintxt{
  color: rgba(255,255,255,0.92);
  font-weight: 500;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.25;
  margin: 0;
  max-width: 60ch;
}

.tfc-ad-banner .banner-action{
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

/* banner btn action */
.tfc-ad-banner .tfc-wl-banner-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #275a94;
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(14px, 1.4vw, 18px);
  padding: clamp(10px, 1.3vw, 14px) clamp(16px, 2.2vw, 28px);
  border-radius: 10px;
  min-width: clamp(150px, 22vw, 260px);
  white-space: nowrap;
  transition: transform 140ms ease, filter 140ms ease;
  z-index: 9999999999999 !important;
}

.tfc-ad-banner .tfc-wl-banner-btn:hover{
  transform: translateY(-1px);
  filter: brightness(0.97);
}

.tfc-ad-banner .tfc-wl-banner-btn i{
  font-size: 1.05em;
}

/* tablet */
@media (max-width: 900px){
  .tfc-ad-banner{
    gap: 14px;
  }
  .tfc-ad-banner .banner-maintxt{
    max-width: 48ch;
  }
}

/* mobile */
@media (max-width: 640px){
  .tfc-ad-banner{
    flex-direction: column;
    align-items: stretch;
  }
  .tfc-ad-banner .banner-action{
    width: 100%;
  }
  .tfc-ad-banner .tfc-wl-banner-btn{
    width: 100%;
    min-width: 0;
  }
  .tfc-left-side-content{
    display: none !important;
  }
  .tfc-ad-banner{
    padding: 0px !important;
    z-index: 9999999999999 !important;
  }
}