html { 
  font-family: "Signika", sans-serif;
}

body {
  overflow-x: hidden;
  margin: 0;
  font-family: "Signika", sans-serif;
}

p {
  font-family: "signika", sans-serif;
}

.site-header {
  background-color: #eeeeee;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  width: 100%;
  max-width: 98%;
  margin: 0 auto;
  flex-wrap: wrap; 
}

.brand-link {
  font-weight: 600;
  font-size: 24px;
  text-decoration: none;
  color: #961d2d;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-item {
  margin-left: 5px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 0; 
}

.nav-link {
  text-decoration: none;
  color: #961d2d;
  padding: 10px 14px;
  border-radius: 30px;
  border: 1px solid #961d2d;
  white-space: nowrap;
  margin-right: 5px;
}

.nav-link:hover {
  background-color: #ddd;
}

.nav-link--primary {
  background-color: #961d2d;
  color: white;
}

.nav-link--primary:hover {
  background-color: #7a1725;
}

.split {
  display: flex;
  align-items: center;
  gap: 5px;
}

.split input {
  padding: 8px 12px;
  border-radius: 20px;
  border: 1px solid #ccc;
  flex: 1;
  min-width: 0;
}

.search-btn img {
  width: 20px;
  height: 20px;
  display: block;
}

.search-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  text-align: center;
  background-color: #eeeeee;
  margin: 1%;
  width: 22%;
  padding: 3%   ;
  border-radius: 10px;
}

.container button {
  border: none;
  text-indent: 10%;
  background-color: #eeeeee;
}

.nav-cards {
  display: flex;
  justify-content: center;
}

.nav-cards :hover {
  cursor: pointer;
}

hr.solid {
background-color: #eeeeee;
}


@media (max-width: 1220px) {
  .nav-right {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .split {
    flex-basis: 100%;
    max-width: 100%;
  }
}

.price {
  color: grey;
  font-size: 16px;
}


h2 {
  color: #961d2d;
}

.scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 18px;
  padding: 15px 20px;
  scroll-snap-type: x mandatory;
}

.scroll-container::-webkit-scrollbar {
  height: 6px;
}

.scroll-container::-webkit-scrollbar-track {
  background: transparent;
}

.scroll-container::-webkit-scrollbar-thumb {
  background: #aaa;
  border-radius: 10px;
}

.scroll-container::-webkit-scrollbar-thumb:hover {
  background: #777;
}

.card {
  min-width: 230px;
  max-width: 230px;
  flex: 0 0 auto;

  background-color: #eeeeee;
  border-radius: 15px;
  padding: 12px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  text-align: center;

  transition: transform 0.2s ease, box-shadow 0.2s ease;

  scroll-snap-align: start;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
}

.card h3 {
  font-size: 15px;
  margin: 8px 0 5px;
  color: #333;
  min-height: 38px;
}

.price {
  color: #961d2d;
  font-size: 16px;
  font-weight: 700;
  margin: 5px 0 10px;
}

.card button {
  margin-top: auto;
  border: none;
  padding: 10px;
  background-color: #961d2d;
  color: white;
  cursor: pointer;
  width: 100%;
  font-size: 13px;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.card button:hover {
  background-color: #7a1725;
}

.card a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.basket-link {
  text-decoration: none;
  color: #961d2d;
  font-weight: 500;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.h3 { 
  text-decoration: none;
}

.admin-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 15px 20px;
  margin: 10px auto;
  flex-wrap: wrap;
}

.admin-controls a {
  text-decoration: none;
}

.admin-btn {
  background-color: #961d2d;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;

  transition: all 0.25s ease;

  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-btn:hover {
  background-color: #7a1725;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.admin-btn--secondary {
  background-color: #eeeeee;
  color: #961d2d;
  border: 1px solid #961d2d;
}

.admin-btn--secondary:hover {
  background-color: #ddd;
}

@media (max-width: 600px) {
  .admin-btn {
    width: 100%;
    justify-content: center;
  }
}