Reset and global
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.5;
  background-color: #f5f5f5;
  color: #333;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  background-color: #e6c97b;
  padding: 10px 20px;
}
.header .logo img {
  height: 50px;
}
.header .search-bar {
  flex-grow: 1;
  margin: 0 20px;
}
.header .search-bar input {
  width: 100%;
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #ccc;
}
.header .my-account a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
}

/* Navigation menu */
.nav {
  background-color: #fff;
  display: flex;
  justify-content: center;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}
.nav a {
  text-decoration: none;
  color: #000;
  margin: 0 15px;
  font-weight: bold;
  padding: 5px 10px;
}
.nav a.active,
.nav a:hover {
  color: #e6c97b;
  border-bottom: 2px solid #e6c97b;
}

/* Main content & offers grid */
.main-content {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
}
.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.deal-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}
.deal-card:hover {
  transform: translateY(-3px);
}
.deal-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.deal-info {
  padding: 15px;
}
.deal-info h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.deal-info p {
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.deal-price {
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-old {
  text-decoration: line-through;
  color: #999;
  font-size: 0.9rem;
}
.price-new {
  font-weight: bold;
  font-size: 1rem;
  color: #e63946;
}
.discount-badge {
  background: #e63946;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.8rem;
}

/* Forms */
.form-container {
  background: #fff;
  max-width: 500px;
  margin: 30px auto;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.form-container h2 {
  margin-bottom: 15px;
  text-align: center;
}
.form-container input,
.form-container select,
.form-container textarea,
.form-container button {
  width: 100%;
  margin-bottom: 12px;
  padding: 10px;
  font-size: 1rem;
}
.form-container button {
  background: #e6c97b;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: opacity 0.2s ease;
}
.form-container button:hover {
  opacity: 0.9;
}
.error {
  color: #e63946;
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.success {
  color: #2a9d8f;
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 15px;
}

/* Offer details page */
.image-promoter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.image-promoter .image img {
  width: 100%;
  border-radius: 8px;
}
.offer-details {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.offer-details .price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 15px 0;
}
.offer-details .quantity {
  margin-bottom: 15px;
}
.offer-details button {
  background: #e6c97b;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
}

/* Footer */
.footer {
  background: #fff;
  padding: 20px 0;
  margin-top: 40px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
}
.footer-links {
  display: flex;
  flex-direction: column;
}
.footer-links a {
  text-decoration: none;
  color: #333;
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: #777;
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .image-promoter {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
