/* =========================
   GLOBAL RESET
========================= */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
}

h1, h2, h3, h4, p {
  margin: 0;
  padding: 0;
}

/* =========================
   HEADER
========================= */
.center {
  text-align: center;
  margin: 20px 0;
}

/* =========================
   PRODUCT GRID
========================= */
.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 25px;
  padding: 20px;
}

/* =========================
   CARD DESIGN
========================= */
.card {
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* LINK FIX */
.card a {
  text-decoration: none;
  color: black;
  display: block;
}

/* IMAGE */
.card img {
  width: 100%;
  border-radius: 10px;
}

/* TITLE */
.card h3 {
  font-size: 18px;
  margin: 10px 0;
}

/* PRICE */
.card p {
  font-size: 16px;
  font-weight: bold;
  color: #444;
}

/* BUTTON */
.cards-button {
  margin-top: 10px;
  padding: 10px 15px;
  background: black;
  color: orange;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.cards-button:hover {
  background: #111;
  color: red;
  transform: scale(1.05);
}

/* =========================
   PRODUCT PAGE
========================= */
.container {
  display: flex;
  gap: 40px;
  padding: 40px;
  flex-wrap: wrap;
}

/* IMAGE SIDE */
.left img {
  width: 700px;
  border-radius: 10px;
}

/* DETAILS SIDE */
.right {
  max-width: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

/* PRICE */
#productPrice {
  font-size: 24px;
  font-weight: bold;
  margin: 10px 0;
}

/* COLOR TEXT */
#productColor {
  background: #eee;
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 15px;
  font-weight: bold;
}

/* =========================
   SIZE BUTTONS
========================= */
#sizes {
  margin-bottom: 20px;
  width: 250px;
  display: flex;
  flex-wrap: wrap;


}

.size-btn {
  margin: 5px;
  padding: 10px 14px;
  border: 1px solid #ccc;
  background: rgb(180, 0, 0);
  cursor: pointer;
  border-radius: 6px;
  transition: 0.2s;
  width: 50px;
}

.size-btn:hover {
  background: #f0f0f0;
}

/* ACTIVE SIZE */
.active-selection {
  font-family: sans-serif;
  background: black !important;
  color: white !important;
  font-weight: 600;
  transform: scale(1.05);
  border-color: black !important;
}

/* =========================
   ORDER BUTTON
========================= */
button {
  padding: 12px;
  width: 100%;
  background: green;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}

button:hover {
  background: darkgreen;
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 768px) {

  .container {
    flex-direction: column;
    align-items: center;
  }

  .left img {
    width: 100%;
  }

  .right {
    width: 100%;
  }

}