/* ============================================================
   MAIN CSS — TowBar Outlet
   Global resets, typography, layout, utilities
   ============================================================ */

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f8f8f8;
  color: #222;
  line-height: 1.5;
}

/* Layout helpers */
.section-padding {
  padding: 60px 20px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}

/* Grid systems */
.blog-grid,
.product-grid,
.coupon-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .coupon-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Buttons */
.hero-btn,
.product-btn,
.blog-readmore {
  display: inline-block;
  padding: 12px 20px;
  background: #ff6a00;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.2s ease;
}

.hero-btn:hover,
.product-btn:hover,
.blog-readmore:hover {
  background: #e65d00;
}

/* Empty state */
.empty-text {
  text-align: center;
  color: #777;
  font-size: 1rem;
  padding: 20px 0;
}

/* Floating AI Button */
.floating-ai-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: #ff6a00;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-ai-btn img {
  width: 32px;
  height: 32px;
}

/* Modal */
.ai-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.ai-modal.hidden {
  display: none;
}

.ai-modal-content {
  background: #fff;
  width: 90%;
  max-width: 600px;
  padding: 25px;
  border-radius: 10px;
  position: relative;
}

.ai-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
}
