
body { 
  font-family:'Poppins';
  background:#e6e6e6f8;
  font-weight: 400;
  color:#222;
  line-height: 1.5;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}
.site-header,
.top-controls,
.grid,
.site-footer {
  box-sizing: border-box;
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
/* ===== Top trust banner ===== */
.topbar {
  position: relative;
  width: 100%;
  left: 0;
  margin: 0;
  padding: 10px 0;
  background: #25A9A1;
  color: #fff;
  text-align: center;
  font-size: 11px;
  line-height: 1.4;
}

/* ===== Brand header ===== */
.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 0;
  margin-top: 0;
  max-width: 100%;
  overflow: hidden;
}
.brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 1100px;
  gap: 12px;
  margin-bottom: 8px;
}

/* Bigger Push It logo aligned left */
.logo-wrap {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.logo {
  width: clamp(120px, 25vw, 180px);
  height: auto;
  border-radius: 50%;
  border: 3px solid #e6e6e6;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  animation: logoPop 1s ease-out forwards;
}
.logo:hover{ transform: scale(1.08); transition: transform .3s ease; }
.logovid {
  width: 150px;
  height: auto;
  border-radius: 50%;
  border: 3px solid #e6e6e6;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  overflow: hidden;
  display: block;
}
.logovid video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.brand-text {
  text-align: center;
  margin-top: 4px;
}
.brand-text h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}.sub { 
  margin: 4px 0 0; 
  color:#666; 
}
/* --- Logo animation --- */
@keyframes logoPop{
  0%{ transform: scale(.5) rotate(-10deg); opacity:0; }
  70%{ transform: scale(1.15) rotate(5deg); opacity:1; }
  100%{ transform: scale(1) rotate(0); }
}

.top-controls {
  max-width: 1100px;    /* ← match .grid */
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;       /* same side padding as .grid */
}


/* Tabs styling */
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;  /* aligns with left edge of cards */
  gap: 10px;
  margin-bottom: 10px;
}

.tab {
  padding: 8px 16px;
  font-size: 15px;
  border-radius: 25px;
  background: #f1f1f1;
  color: #333;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  white-space: nowrap;
  text-align: center;
}

.tab:hover {
  background-color: #1e8d85;
  color: #fff;
  transform: translateY(-2px);
}

.tab.active {
  background: #25A9A1;
  color: #fff;
  font-weight: 600;
}
/* ===== Desktop Tabs Size Fix ===== */
@media (min-width: 1024px) {
  .tabs {
    display: flex;
    justify-content: center;   /* centers them horizontally */
    flex-wrap: wrap;
    gap: 14px;                 /* nice spacing between buttons */
    margin: 10px auto 14px;
    max-width: 1100px;         /* perfectly aligned with your cards */
    padding: 0 16px;
  }

  .tab {
    flex: 0 0 auto;           /* 👈 each tab grows but stays balanced */
    text-align: center;
    font-size: 15px;
    padding: 10px 16px;
    border-radius: 999px;
    background-color: #fff;
    color: #333;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 8%;

  }

  .tab:hover {
    background-color: #1E8D85;
    color: #fff;
    transform: translateY(-2px);
  }

  .tab.active {
    background: #25A9A1;
    color: #fff;
    font-weight: 600;
  }

  #tab-search {
    display: block;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 16px;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
    font-size: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.04);
  }
}

/* ===== Final Alignment Fix (Cards + Search + Tabs) ===== */
.top-controls,
.grid {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* Keep mobile spacing consistent too */
@media (max-width: 480px) {
  .top-controls,
  .grid {
  max-width: 1100px;    /* ← match .grid */
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  }
  .tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 0 12px;
  }

  .tab {
    width: 100%;
    padding: 10px 0;
    font-size: 14px;
    border-radius: 999px;
    text-align: center;
  }

  #tab-search {
    max-width: 1100px
    width: 100%;
    margin: 8px 0 14px;
  }
  .site-header,
  .top-controls,
  .grid,
  .site-footer {
    padding-left: 12px;
    padding-right: 12px;
  }
}


@media (max-width: 450px) {
  .top-controls,
  .grid {
    padding-left: 12px;
    padding-right: 12px;
  }
  .tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 0 12px;
  }

  .tab {
    width: 100%;
    padding: 10px 0;
    font-size: 14px;
    border-radius: 999px;
    text-align: center;
  }

  /* Search bar full width + aligned */
  #tab-search {
    width: 100%;
    margin: 8px 0 14px;
  }
}




.fb-like-wrap {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}
.fb-like-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 2px 2px;
  border-radius: 6px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  height: 30px;          /* ✅ forces uniform height */
  min-width: 30px;      /* ✅ keeps size consistent */
}

.fb-like-btn:hover {
  background: #1E8D85;
  transform: translateY(-2px);
}

.fb-like-btn:active {
  background: #1E8D85;
  transform: translateY(0);
}
@media (max-width: 480px) {
  .fb-like-wrap {
    text-align: center;
    margin: 12px 0;
  }
  .fb-like-btn {
    font-size: 13px;
    padding: 7px 12px;
  }
}

.fb-icon {
  width: 25px;
  height: 25px;
}
.search-wrap {
  justify-content: center;
}
#tab-search {
  display: flex;
  width: 100%;              /* full width of wrapper */
  font-size: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 2px solid #eee;
  margin-bottom: 18px;
  font-family: "Poppins", sans-serif;
  background-color: #fff;
}

/* Quick-scroll buttons */
.float-btn {
  position: fixed;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #25A9A1;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  transition: transform .15s ease, opacity .2s ease, background .2s ease;
  opacity: .9;
}

#toTop    { bottom: 84px; }
#toBottom { bottom: 32px; }

.float-btn:hover  { background:#1E8D85; transform: translateY(-1px); }
.float-btn:active { background:#18756f; transform: translateY(0); }

/* Hide the floaters until user scrolls a bit */
.float-btn.hidden { opacity: 0; pointer-events: none; }

/* On very small screens (phones under 400px wide) */
@media (max-width: 400px) {
  .tab {
    padding: 6px 4px;
    font-size: 12px;
  }
}

/* ===== Grid & cards ===== */
.grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(220px,1fr));
  gap:16px; padding:16px;
  max-width:1100px; margin:0 auto;
}


@media (max-width: 768px){
  
  .grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 12px;
  }
}
@media (min-width: 769px){
  .card img{
    aspect-ratio: 16 / 11;        /* a bit wider look on desktop */
  }
}
.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #fff;
  text-align: center;
  border-radius: 8px;
}

.card:hover{ transform: translateY(-3px); }
.card img{
  width: 100%;
  height: 220px;            
  object-fit: contain;               
  border-radius: 6px;
  background-color: #fff;
  display: block;
  margin: 0 auto;
}
.card h3{
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  margin: 8px 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3;          
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: calc(1.3em * 3);
  text-overflow: ellipsis;
  word-break: break-word;
  min-height: calc(1.3em * 3);
}
.price { 
  margin-bottom: 8px;
  margin-top: 4px;
  font-weight: bold;
 }
.buy {
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
  justify-content: center;   /* centers vertically within padding */
  align-items: center;
  width: 100%;
  padding: 12px 16px;
  margin-top: auto;          /* pushes entire button block to bottom */
  text-align: center;
  background-color: #25A9A1;
  border-radius: 8px;
  color: #fff;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.1s ease;
}

.buy-main {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.1;
}

.buy-sub {
  font-size: 12px;
  opacity: 0.85;
  margin-top: 2px;
  line-height: 1;             /* keep it tight */
}


.buy:hover {
  background-color: #1E8D85; /* darker teal on hover */
  transform: translateY(-3px); /* subtle lift effect */
}

/* --- Ad Section Styling --- */
.ad-container {
  width: 100%;
  max-width: 728px;
  margin: 20px auto;
  text-align: center;
  background: #fafafa;
  border: 1px dashed #ddd;
  border-radius: 10px;
  padding: 10px 5px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.ad-container p {
  font-size: 12px;
  color: #666;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.bottom-ad {
  margin-top: 40px;
}

.popup-ad {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 16px;
}
.popup-ad.show { display: flex; }

.popup-content {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.popup-btn, .popup-close {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}
.popup-btn { background: #1f8f89; color: #fff; text-decoration: none; }
.popup-close { background: #e5e5e5; color: #111; margin-left: 8px; }

/* ---------- SITE FOOTER ---------- */
.site-footer {
  margin-top: 40px;
  padding: 20px 16px;
  background: #f7f7f7;
  text-align: center;
  font-family: "Poppins", sans-serif;
  border-top: 1px solid #e2e2e2;
}

/* Titles and labels */
.site-footer strong {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

/* Footer text */
.site-footer div {
  margin: 8px 0;
  font-size: 14px;
  color: #444;
}

/* ---------- FOOTER IMAGES FIX ---------- */
/* This prevents images from being huge */
.footer-logo {
  height: 22px;
  width: auto;
  margin: 0 6px;
  vertical-align: middle;
  object-fit: contain;
}

/* Push It LA branding */
.powered {
  margin-top: 12px;
  font-size: 13px;
  color: #666;
}

.powered img {
  height: 18px;
  width: auto;
  vertical-align: middle;
}
@media (max-width: 480px) {
  .site-footer div {
    font-size: 13px;
  }
  .footer-logo {
    height: 18px;
  }
}




