
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #333;
}

header, footer {
  background-color: #f8f8f8;
  padding: 20px;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 2em;
  color: #b3568d;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 25px;
  padding: 6px 0;
  background-color: #f8f8f8;
  font-size: 14px;
  font-weight: bold;
  margin: 0;
}

.main-nav a {
  text-decoration: none;
  color: #000;
  padding: 6px 12px;
  border-radius: 20px;
  transition: background 0.3s;
}

.main-nav a:hover {
  background-color: #e0e0e0;
}

.hero {
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #fce4ec, #f8bbd0);
}

.hero h2 {
  font-size: 1.8em;
  margin: 0;
  color: #b3568d;
}

.hero p {
  font-size: 1em;
  margin-top: 5px;
  color: #555;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.product {
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 10px;
  background-color: #fff;
  transition: all 0.3s ease;
}

.product:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.product img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.product img:hover {
  transform: scale(1.05);
}

.product h3 {
  margin: 10px 0 5px;
}

.product p {
  margin: 5px 0;
  font-weight: bold;
}

.product a {
  text-decoration: none;
  color: inherit;
}

.product a:visited {
  color: inherit;
}

.product a img {
  border: none;
  background: none;
}

.product button {
  margin-top: 10px;
  padding: 6px 10px;
  border-radius: 5px;
  border: none;
  background-color: #c96d85;
  color: white;
  cursor: pointer;
}

.product button:hover,
.product a:hover {
  opacity: 0.9;
}

.category-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  background-color: #fff0f3;
  padding: 10px 0;
  margin-top: 0;
}

.category-bar a {
  text-decoration: none;
  color: #c96d85;
  font-weight: 500;
  background: #fff;
  border: 1px solid #ffc5d0;
  border-radius: 20px;
  padding: 6px 12px;
  transition: background 0.3s;
}

.category-bar a:hover {
  background: #ffe5ec;
}

.announcement-bar {
  background-color: #ffe5ec;
  color: #b3568d;
  font-weight: bold;
  font-size: 14px;
  padding: 6px 0;
  text-align: center;
  border-bottom: 1px solid #ffc5d0;
}

.stock-label {
  font-weight: bold;
  margin: 5px 0;
  font-size: 14px;
}

.stock-label.in-stock {
  color: green;
}

.stock-label.only-1-left {
  color: #d35400;
}

.stock-label.limited-stock {
  color: #e67e22;
}

.stock-label.sold-out {
  color: red;
}

.cart-floating {
  position: fixed;
  top: 50px;
  right: 20px;
  z-index: 1000;
  background-color: #c96d85;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.cart-floating a {
  color: white;
  text-decoration: none;
}

.product-detail-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  max-width: 1000px;
  margin: auto;
  padding: 20px;
}

.product-detail-container img {
  max-width: 100%;
  width: 320px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.product-info {
  flex: 1;
  min-width: 280px;
}

.product-info h2 {
  color: #b3568d;
  font-size: 1.8em;
  margin-bottom: 10px;
}

.product-info p {
  margin: 10px 0;
  font-size: 1em;
  color: #333;
}

.product-info .stock-label {
  font-weight: bold;
  color: #d35400;
}

.product-info button,
.product-info a {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 16px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
}

.product-info button {
  border: none;
  background-color: #c96d85;
  color: white;
  cursor: pointer;
  margin-right: 10px;
}

.product-info .whatsapp-btn {
  background-color: #25d366;
  color: white;
}

.product-info button:hover,
.product-info .whatsapp-btn:hover {
  opacity: 0.9;
}

.product-info .back-link {
  display: block;
  margin-top: 20px;
  color: #b3568d;
  font-size: 14px;
}

.whatsapp-button {
  display: inline-block;
  margin-top: 8px;
  background-color: #25d366; /* your custom color */
  color: white !important;
  padding: 6px 10px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
}

.whatsapp-button:hover {
  background-color:#25d366; /* optional darker shade on hover */
  opacity: 0.95;
}


footer p {
  font-size: 0.9em;
  color: #777;
}

footer a {
  color: #b3568d;
  text-decoration: none;
  margin: 0 6px;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
  }

  .product img {
    width: 100%;
    height: auto;
  }
}
