* {
  margin: 0;
  padding: 0;
}

.body {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.cart-box {
  padding: 64px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center; /* Центрируем карточки */
}

.item {
  width: 400px; /* Уменьшаем ширину для лучшего отображения в строке */
  box-shadow: 17px 19px 24px 0px #00000021;
  display: flex;
  flex-direction: column; /* Меняем направление flex на колонку */
}

.item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.item-content {
  padding: 22px 31px;
  background: #FFFFFF;
  flex-grow: 1;
}

.item-heading {
  margin-top: 15px;
  width: 100%;
  font-style: normal;
  font-weight: 400;
  font-size: 20px; /* Немного уменьшаем шрифт */
  line-height: 24px;
  color: #222222;
  margin-bottom: 20px;
}

.item-text {
  font-style: normal;
  font-weight: 400;
  font-size: 18px; /* Немного уменьшаем шрифт */
  line-height: 22px;
  color: #575757;
  margin-bottom: 6px;
}

.item-input {
  width: 44px;
  height: 24.95px;
  border: 1px solid #EAEAEA;
  text-align: center;
  padding-left: 8px;
  padding-right: 8px;
  box-sizing: border-box;
  margin-left: 24px;
}

.item-color {
  color: #CA1C1D;
}

/* стили для выпадающего меню */
/* Сброс стандартных отступов */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* Контейнер для центрирования контента */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Стили для header */
.header {
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Стили для навигации */
.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    background-color: #ffeed2;
    color: #895737;
}

/* Активная ссылка */
.nav-link.active {
    background-color: #5e3023;
    color: white;
}

/* Подчеркивание при наведении */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #5e3023;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* Дополнительные стили для улучшения внешнего вида */
.header {
    background: linear-gradient(135deg, #9b8361 0%, #e6e5d5 100%);
}
.nav-link {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}
.dropdown {
    position: relative;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
}
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu a {
    display: block;
    padding: 0.8rem 1rem;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}
.dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #916d45;
}