body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: 70px; /* ensure footer not covered by bottom nav */
}

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 12px 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
}

.header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #333;
  margin: 0;
}

.menu {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #333;
  transition: color 0.3s;
}

.menu:hover {
  color: #0077cc;
}

/* WELCOME */
.welcome {
  text-align: center;
  padding: 80px 20px;
  background: #f2f2f2;
}

.welcome h1 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  margin: 0 0 10px;
}

.welcome p {
  font-size: 1.2rem;
  color: #444;
  font-weight: 600;
}

/* GRID SECTIONS */
.favorites,
.discounts {
  padding: 24px 16px;
}

.items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  padding: 1rem;
}

/* CARD DESIGN */
.card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

/* TAG AND BUTTON */
.card .tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #000;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.card button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1rem;
  cursor: pointer;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 20px 10px;
  background: #f8f8f8;
  border-top: 1px solid #ccc;
  margin-top: auto;
}

.footer-socials {
  margin-bottom: 15px;
}

.footer-socials a {
  margin: 0 10px;
  font-size: 1.3rem;
  color: #333;
  transition: color 0.3s;
}

.footer-socials a:hover {
  color: #0077cc;
}

.footer-info p {
  margin: 3px 0;
  font-size: 0.9rem;
  color: #555;
}

/* BOTTOM NAV */
.bottom-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #fff;
  border-top: 1px solid #ccc;
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 12px 0;
  z-index: 20;
}

.bottom-nav a {
  text-decoration: none;
  color: #333;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bottom-nav a i {
  font-size: 1.4rem;
  margin-bottom: 5px;
}

.bottom-nav a:hover i {
  color: #0077cc;
}
