* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-dark: #0a0a0a;
  --bg-card: #222222;
  --accent-red: #bd234a;
  --accent-hover: #d82b57;
  --text-white: #ffffff;
  --text-gray: #a0a0a0;
  --text-dark: #1a1a1a;
  --font-title: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;
}

html {
  height: 100%;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-body);
  line-height: 1.5;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  margin: 0 auto;
  padding: 0 20px;
}

/* --- СТРАНИЦА НАБОРОВ --- */
/* Почти на всю ширину экрана, отступы по краям как у шапки */
.sets-page {
    max-width: 1560px;
    margin: 0 auto;
    padding: 20px 35px 60px;
}

.sets-header {
    margin-bottom: 40px;
}

.sets-title {
    font-size: 56px;
    font-family: serif;
    font-weight: normal;
    line-height: 1.15;
    margin-bottom: 16px;
}

.sets-subtitle {
    font-size: 16px;
    color: var(--text-gray);
    max-width: 620px;
    line-height: 1.5;
}

/* Сетка 3 колонки */
.sets-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 набора в ряд на десктопе */
    gap: 28px;
}

/* Карточка набора */
.set-card {
    background-color: var(--bg-card, #222222);
    border-radius: 20px; /* Более округлые углы как на референсе */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.set-card:hover {
    transform: translateY(-4px);
}

/* Контейнер картинки */
.set-image-container {
    position: relative;
    aspect-ratio: 1385 / 1136; /* пропорции фото наборов — коробка видна целиком */
    background-color: #2c2c2e;
    overflow: hidden;
}

.set-image-container .product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* Описание набора */
.set-info {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background-color: #2C2C2C; /* как в каталоге */
}

.set-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-white);
}

.set-desc {
    font-size: 14.5px;
    color: #e0e0e0;
    margin-bottom: 12px;
    line-height: 1.4;
}

.set-count {
    font-size: 14.5px;
    color: #e0e0e0;
    margin-bottom: 15px;
}

.set-price {
    font-size: 28px;
    color: #B71F43;
    font-weight: 800;
    margin-top: auto;
}

/* Нижняя кнопка */
.set-bottom {
    margin-top: auto;
}

.set-bottom .add-to-cart-btn {
    width: 100%;
    padding: 14px 0;
    background-color: var(--accent-red);
    color: var(--text-white);
    border: none;
    border-radius: 0 0 20px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background-color 0.2s ease;
}

.set-bottom .add-to-cart-btn:hover {
    background-color: var(--accent-hover);
}

/* Примечание под сеткой — как на главной */
.anotation {
    margin: 48px 0 0;
    font-size: 15px;
    color: var(--text-gray); /* как подзаголовок "Мы собрали готовые наборы…" */
    text-align: center;
}

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 1200px) {
    .sets-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .sets-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 600px) {
    .sets-page {
        padding: 14px 16px 40px;
    }

    .sets-grid {
        grid-template-columns: 1fr;
    }

    .sets-title {
        font-size: 40px;
    }

    .anotation {
        margin-top: 32px;
        font-size: 12px;
    }
}