* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: #fff6e5;
  color: #333;
  scroll-behavior: smooth;
}

h3,
h2 {
  text-transform: uppercase;
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: #ebad2a;
  font-weight: bold;
  padding: 5px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 2em;
  color: #fff;
  text-decoration: none;
}

.nav {
  position: relative;
}

.nav ul {
  position: fixed;
  top: 85px;
  right: 0;
  background-color: #ebad2a;
  flex-direction: column;
  width: 220px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  border-radius: 0 0 0 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 1001;

  display: flex;
  flex-direction: column;
}

.menu-btn:checked ~ ul {
  max-height: 500px;
}

.menu-btn {
  display: none;
}

.menu-icon {
  cursor: pointer;
  display: block;
  width: 28px;
  height: 22px;
  position: relative;
  flex-shrink: 0;
}

.menu-icon .navicon,
.menu-icon .navicon::before,
.menu-icon .navicon::after {
  background: #fff;
  position: absolute;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-icon .navicon {
  top: 50%;
  transform: translateY(-50%);
}

.menu-icon .navicon::before {
  content: "";
  top: -8px;
}

.menu-icon .navicon::after {
  content: "";
  top: 8px;
}

.nav ul li {
  text-align: center;
  border-bottom: 1px solid #dea62d;
}

.nav ul li:last-child {
  border-bottom: none;
}
.logo__img {
  width: 70px;
  height: 70px;
}
.nav li a {
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 15px 0;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border-radius: 0;
}

.nav li a:hover,
.nav li a.active {
  background-color: #dea62d;
}

.main {
  padding-top: 120px;
}

.product__block__title {
  text-align: center;
  font-weight: 700;
  margin-bottom: 30px;
  font-size: 2em;
}

.product__grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.product__card {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgb(0 0 0 / 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
  cursor: pointer;
}
.product__card:hover{
  scale: 1.01;
}
.product__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
  aspect-ratio: 16 / 9;
}

.product__figcaption {
  padding: 15px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product__figcaption h3 {
  font-weight: 700;
  font-size: 1.1em;
  margin-bottom: 10px;
  color: #444;
}

.product__figcaption p {
  flex-grow: 1;
  font-size: 0.9em;
  line-height: 1.4;
  color: #666;
  margin-bottom: 15px;
}

.product__price {
  font-weight: 700;
  font-size: 1.3em;
  color: #ebad2a;
  text-align: right;
}
.product__img__big {
  height: 450px;
}
.footer {
  background-color: #222;
  color: #fff;
  padding: 40px 0 20px;
  margin-top: 60px;
}

.footer__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer__info {
  margin-bottom: 20px;
}

.footer__title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #ffcc00;
}

.footer__info p {
  margin: 6px 0;
  font-size: 1rem;
}

.footer__info a {
  color: #ffcc00;
  text-decoration: none;
}

.footer__info a:hover {
  text-decoration: underline;
}

.footer__copy {
  font-size: 0.9rem;
  color: #aaa;
}
