@import url('https://fonts.googleapis.com/css2?family=BBH+Sans+Bartle&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
body{
    width: 100%;
    margin: 0;
    padding: 0;
    
    font-family: "Bebas Neue", sans-serif;
}
h1,a{
    font-family: "BBH Sans Bartle", sans-serif;
}
p{
    font-family: "Bebas Neue", sans-serif;
}

.nav-link,
.basket{
  cursor: pointer;
}

/* Общий стиль карточек */
.custom-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
  cursor: pointer;
}

.custom-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Для изображения */
.card__image {
  position: relative;
  width: 100%;
  height: 100%;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Затемнение */
.card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.4s ease;
}

.custom-card:hover .card__overlay {
  opacity: 1;
}

/* Текст поверх */
.card__description {
  color: #fff;
  text-align: center;
  padding: 10px;
}

.card__description p,
.card__description h4 {
  margin-bottom: 10px;
}

.card__price {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.card__price p {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.card__price a {
  background: #fff;
  color: #000;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.card__price a:hover {
  background: #000;
  color: #fff;
}

/* Большая карточка справа */
.big-card {
  height: 100%;
}

.big-card .card__description h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}

.big-card .card__price p {
  font-size: 20px;
}
