/* =======================
   BASIC PAGE STYLING
   ======================= */
body {
  font-family: Arial, sans-serif;
  text-align: center;
  background-color: #f5f5f5;
  margin: 0;
  padding: 0; /* keep original padding so text doesn't move */
}

h1 {
  margin-top: 20px;
}

/* =======================
   PRODUCT CONTAINER
   ======================= */
#products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

/* =======================
   INDIVIDUAL PRODUCT BOX
   ======================= */
.product {
  width: 200px;
  border: 1px solid #ddd;
  padding: 15px;
  margin: 15px;
  background: white;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

/* =======================
   PRODUCT IMAGE
   ======================= */
.product img {
  width: 100%;
  max-width: 180px;
  height: auto;
  border-radius: 5px;
  display: block;
  margin-bottom: 10px;
  background-color: white; /* This fixes the black background */
  box-sizing: border-box;
}

/* =======================
   PRODUCT NAME
   ======================= */
.product h2 {
  font-size: 18px;
  margin: 10px 0 5px 0;
  text-align: center;
}

/* =======================
   PRODUCT PRICE
   ======================= */
.product p {
  font-size: 16px;
  margin: 5px 0;
}

/* =======================
   BUY BUTTON
   ======================= */
.product a button {
  padding: 10px 15px;
  margin: 10px 0;
  font-size: 14px;
  cursor: pointer;
}

/* =======================
   ARROW BUTTONS
   ======================= */
.arrow-container {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.arrow-container button {
  margin: 0 5px;
  padding: 5px 10px;
  cursor: pointer;
}

/* =======================
   TAGLINE & DIVIDER
   ======================= */
.tagline {
  font-size: 14px;
  color: #666;
  margin-top: -10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.divider {
  width: 60px;
  border: none;
  border-top: 2px solid #000;
  margin: 20px auto;
}

/* =======================
   LOGO FIXED TOP LEFT (ONLY ADDITION)
   ======================= */
.logo {
  position: absolute;    /* move logo without affecting text */
  top: 10px;             /* distance from top */
  left: 10px;            /* distance from left */
  max-width: 80px;       /* adjust size as needed */
  height: auto;
  z-index: 1000;         /* keeps logo above everything */
}

/* Optional: smaller logo on mobile */
@media (max-width: 500px) {
  .logo {
    max-width: 60px;
  }
}
