body,
h1,
h2,
h3,
p,
a {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  background: #f1f2f4;
}

/* Navbar styles */
.navbar {
  display: flex;
  align-items: center;
  background: rgb(121, 65, 65);
  color: #fff;
  padding: 10px 30px;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  margin: 0;
}

.navbar .logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo img {
  height: 100px;
  width: auto;
  display: block;
}

.location {
  font-size: 30px;
  margin-left: 20px;
  font-family: Protest Strike, sans-serif;
  line-height: 1.1;
}

.location span {
  font-size: 25px;
  color: #ffd700;
  margin-top: -6px;
  display: block;
}

/* Search styles */
.search {
  position: relative;
  flex: 1;
  display: flex;
  margin-left: 80px;
  border-radius: 80px;
  overflow: hidden;
  min-height: 45px;
  align-items: center;
  background: #fff;
}

.search input {
  margin-left: 50px;
  width: 100%;
  padding: 8px;
  border: none;
  border-radius: 4px 0 0 4px;
}

.search-input-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
}

.search button {
  padding: 8px 16px;
  border: none;
  min-height: 45px;
  background: gold;
  color: #232f3e;
  cursor: pointer;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  margin-left: 20px;
  font-size: 14px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #febd69;
}

/* Card grid */
.card-container,
.special-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  justify-items: center;
  margin: 40px 0;
  padding: 0 12px;
  box-sizing: border-box;
}


/* Card styles */
.card,
.cardone {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 220px;
  min-width: 0;
  min-height: 320px;
  padding: 14px 10px 18px 10px;
  text-align: center;
  transition: transform 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

/* Uniform image size for all cards */
.card img,
.cardone img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
}

.card h3 {
  margin-bottom: 12px;
}

.card .price {
  margin-bottom: 14px;
  margin-top: 0;
}

.card .add-to-cart-btn {
  margin-top: 10px;
  padding: 10px 16px;
  border: none;
  border-radius: 4px;
  background: rgb(121, 65, 65);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.card .add-to-cart-btn:hover {
  background: #a05252;
}

/* Deals section */
.header {
  text-align: center;
  margin-bottom: 70px;
  margin-top: 32px;
  font-size: 2em;
  font-family: 'Protest Strike', sans-serif;
}

.deals-main {
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  padding: 0 12px;
}

.deals-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 32px 0;
}

@media (max-width: 700px) {
  .deals-grid {
    grid-template-columns: 1fr;
  }
}

.deal-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  min-height: 350px;
  width: 100%;
  max-width: 500px;
  min-width: 0;
  padding: 16px 10px 20px 10px;
  text-align: center;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.img-wrapper img {
  width: 400px;
  height: 400px;
  object-fit: contain;
  border-radius: 18px;
  margin: 0 auto 10px auto;
  display: block;
}

/* Hover effects */
.deal-card a:hover {
  text-decoration: underline;
}

.img-wrapper:hover,
.img-wrapper:focus-within {
  opacity: 1;
  pointer-events: auto;
}

.deals-grid .deal-card:hover {
  transform: scale(1.10);
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.deals-grid:hover .deal-card:not(:hover) {
  filter: blur(2px) brightness(0.95);
  opacity: 0.7;
  transition: filter 0.25s, opacity 0.25s;
}