/* ============================================================
   Footer
   ============================================================ */
.cm-footer {
    background: linear-gradient(180deg, #fef0f7 0%, #fff8fb 100%);
    border-top: 1px solid #f0d5e3;
    margin-top: 0;
    font-family: 'Inter', 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #2d1830;
}
.cm-footer__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 50px 20px 30px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 36px;
}
.cm-footer__col h4 {
    font-size: 14px;
    font-weight: 800;
    margin: 0 0 14px;
    color: #2d1830;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.cm-footer__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.cm-footer__col li {
    font-size: 13px;
    color: #5e4860;
}
.cm-footer__col a {
    color: #5e4860;
    text-decoration: none;
    transition: color .15s;
}
.cm-footer__col a:hover { color: #b03062; }
.cm-footer__guarantees li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #5e4860;
    font-size: 13px;
}
.cm-footer__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #b03062;
    color: #fff;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    flex-shrink: 0;
}
.cm-footer__logo {
    height: 38px;
    width: auto;
    margin-bottom: 14px;
    display: block;
}
.cm-footer__tagline {
    font-size: 13px;
    color: #786578;
    line-height: 1.55;
    margin: 0;
    max-width: 320px;
}
.cm-footer__bottom {
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 20px;
    border-top: 1px solid #f0d5e3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #998998;
    flex-wrap: wrap;
    gap: 10px;
}
.cm-footer__np strong { color: #b03062; }
@media (max-width: 760px) {
    .cm-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        padding: 40px 18px 24px;
    }
    .cm-footer__col--brand { grid-column: 1 / -1; }
}
@media (max-width: 460px) {
    .cm-footer__inner { grid-template-columns: 1fr; gap: 26px; }
    .cm-footer__bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   "З цим купують" — секція рекомендацій
   ============================================================ */
.cm-recos {
    max-width: 1180px;
    margin: 50px auto 0;
    padding: 0 16px;
    font-family: 'Inter', 'Nunito', -apple-system, sans-serif;
}
.cm-recos__title {
    font-size: 22px;
    font-weight: 800;
    color: #2d1830;
    text-align: center;
    margin: 0 0 6px;
    letter-spacing: -.01em;
}
.cm-recos__subtitle {
    text-align: center;
    color: #786578;
    font-size: 14px;
    margin: 0 0 24px;
}
.cm-recos__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.cm-reco-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: #2d1830;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
    border: 1px solid #f8eaf2;
}
.cm-reco-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(176,48,98,.15);
}
.cm-reco-card__img-wrap {
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #f8eaf2;
    position: relative;
}
.cm-reco-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.cm-reco-card:hover .cm-reco-card__img { transform: scale(1.04); }
.cm-reco-card__body {
    padding: 12px 14px 14px;
}
.cm-reco-card__name {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 4px;
}
.cm-reco-card__category {
    font-size: 11px;
    color: #998998;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin: 0 0 8px;
}
.cm-reco-card__prices {
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.cm-reco-card__price {
    font-size: 16px;
    font-weight: 800;
    color: #b03062;
}
.cm-reco-card__old {
    font-size: 12px;
    color: #998998;
    text-decoration: line-through;
}
@media (max-width: 760px) {
    .cm-recos__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .cm-recos__title { font-size: 18px; }
}

/* ============================================================
   Color filter — каталог
   ============================================================ */
.cm-color-filter {
    max-width: 1180px;
    margin: 12px auto 0;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.cm-color-filter__label {
    font-size: 12px;
    color: #786578;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-right: 4px;
}
.cm-color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .15s;
    position: relative;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.cm-color-swatch:hover { transform: scale(1.1); }
.cm-color-swatch--active {
    border-color: #2d1830;
    transform: scale(1.1);
}
.cm-color-swatch--all {
    background: linear-gradient(135deg, #e74694, #ffc5de, #b03062);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 1px 2px rgba(0,0,0,.3);
}
.cm-color-swatch[data-color="red"]    { background: #e83742; }
.cm-color-swatch[data-color="navy"]   { background: #33407f; }
.cm-color-swatch[data-color="marsala"]{ background: #65253c; }
.cm-color-swatch[data-color="black"]  { background: #1a1a1a; }
.cm-color-swatch[data-color="powder"] { background: #f4b8c5; }
.cm-color-swatch[data-color="grey"]   { background: #5a5a5a; }
.cm-color-swatch[data-color="white"]  { background: #f5f0ea; border-color: #d8d2c8; }
@media (max-width: 460px) {
    .cm-color-swatch { width: 28px; height: 28px; }
}
