﻿.social-networks {
    background-color: var(--brand-accent); /* Светлый фон из макета */
    padding: 64px 0;
}

.social-title {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 0;
    color: #000000;
}

.social-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.social-swiper {
    overflow: hidden;
    margin-right: -20px;
    padding: 0 20px 34px 0;
}

.social-swiper .swiper-slide {
    display: flex;
    height: auto;
}

.social-card {
    width: 100%;
    background-color: #FFFFFF;
    border: 1px solid rgba(30, 58, 43, 0.14);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 30px rgba(30, 58, 43, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.social-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(30, 58, 43, 0.12);
}

.social-card:focus-visible {
    outline: 3px solid #A8C8A0;
    outline-offset: 4px;
}

.social-card-img {
    position: relative;
    display: flex;
    min-height: 144px;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow: hidden;
    background: #F8F9F7;
    border-bottom: 1px solid rgba(30, 58, 43, 0.1);
}

.social-card-img img {
    display: block;
    width: 72px;
    height: 72px;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.social-card:hover .social-card-img img {
    transform: scale(1.05);
}

.social-card[href*="max.ru"] .social-card-img img {
    border-radius: 8px;
}

.social-card[href*="rutube.ru"] .social-card-img img,
.social-card[href*="wildberries.ru"] .social-card-img img,
.social-card[href*="ozon.ru"] .social-card-img img,
.social-card[href*="dzen.ru"] .social-card-img img {
    width: min(100%, 184px);
    height: 64px;
}

.social-card-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-card-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    line-height: 1.3;
    margin: 0;
}

.more-link {
    font-size: 13px;
    color: #000000;
    display: flex;
    align-items: center;
}

.more-link span {
    margin-left: 5px;
    font-size: 18px;
}

.marketplaces-block {
    margin-top: 28px;
}

.marketplace-wrap {
    margin-top: 20px;
}

.social-slider-pagination {
    position: static;
    margin-top: 16px;
    text-align: center;
}

.social-slider-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #A8C8A0;
    opacity: 1;
}

.social-slider-pagination .swiper-pagination-bullet-active {
    background: #1E3A2B;
}

@media (max-width: 576px) {
    .social-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .social-card-img {
        min-height: 112px;
        padding: 18px;
    }

    .social-card-img img {
        width: 58px;
        height: 58px;
    }

    .social-card[href*="rutube.ru"] .social-card-img img,
    .social-card[href*="wildberries.ru"] .social-card-img img,
    .social-card[href*="ozon.ru"] .social-card-img img,
    .social-card[href*="dzen.ru"] .social-card-img img {
        width: min(100%, 152px);
        height: 52px;
    }
}

/* contact-icons-unified-v2 */
.contact-card__icon,
.contact-method__icon,
.contact-channel__icon,
.contact-icon,
.contacts-page .contact-card [class*="icon"],
.contact-page .contact-card [class*="icon"],
.contacts-section .contact-card [class*="icon"],
.contact-section .contact-card [class*="icon"],
.contact-card > [class*="icon"]:first-child {
  width: 58px !important;
  min-width: 58px !important;
  height: 58px !important;
  min-height: 58px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--color-primary, var(--green-dark, #183f2c)) !important;
  border: 1px solid var(--color-primary, var(--green-dark, #183f2c)) !important;
  color: var(--color-white, #fff) !important;
  box-shadow: 0 12px 26px rgba(24, 63, 44, 0.16) !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  overflow: hidden !important;
}

.contact-card__icon svg,
.contact-method__icon svg,
.contact-channel__icon svg,
.contact-icon svg,
.contacts-page .contact-card [class*="icon"] svg,
.contact-page .contact-card [class*="icon"] svg,
.contacts-section .contact-card [class*="icon"] svg,
.contact-section .contact-card [class*="icon"] svg,
.contact-card > [class*="icon"]:first-child svg {
  width: 26px !important;
  height: 26px !important;
  color: currentColor !important;
  stroke: currentColor !important;
}

.contact-card__icon svg *:not([fill="none"]),
.contact-method__icon svg *:not([fill="none"]),
.contact-channel__icon svg *:not([fill="none"]),
.contact-icon svg *:not([fill="none"]),
.contacts-page .contact-card [class*="icon"] svg *:not([fill="none"]),
.contact-page .contact-card [class*="icon"] svg *:not([fill="none"]),
.contacts-section .contact-card [class*="icon"] svg *:not([fill="none"]),
.contact-section .contact-card [class*="icon"] svg *:not([fill="none"]),
.contact-card > [class*="icon"]:first-child svg *:not([fill="none"]) {
  fill: currentColor !important;
}

.contact-card__icon img,
.contact-method__icon img,
.contact-channel__icon img,
.contact-icon img,
.contacts-page .contact-card [class*="icon"] img,
.contact-page .contact-card [class*="icon"] img,
.contacts-section .contact-card [class*="icon"] img,
.contact-section .contact-card [class*="icon"] img,
.contact-card > [class*="icon"]:first-child img {
  width: 26px !important;
  height: 26px !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) !important;
}

/* contact-icons-unified-v3 */
.contact-card__icon,
.contact-method__icon,
.contact-channel__icon,
.contact-icon,
.contacts-page .contact-card [class*="icon"],
.contact-page .contact-card [class*="icon"],
.contacts-section .contact-card [class*="icon"],
.contact-section .contact-card [class*="icon"],
.contact-card > [class*="icon"]:first-child {
  width: 58px !important;
  min-width: 58px !important;
  height: 58px !important;
  min-height: 58px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--color-primary, var(--green-dark, #183f2c)) !important;
  border: 1px solid var(--color-primary, var(--green-dark, #183f2c)) !important;
  color: var(--color-white, #fff) !important;
  box-shadow: 0 12px 26px rgba(24, 63, 44, 0.16) !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  overflow: hidden !important;
}

.contact-card__icon svg,
.contact-method__icon svg,
.contact-channel__icon svg,
.contact-icon svg,
.contacts-page .contact-card [class*="icon"] svg,
.contact-page .contact-card [class*="icon"] svg,
.contacts-section .contact-card [class*="icon"] svg,
.contact-section .contact-card [class*="icon"] svg {
  width: 26px !important;
  height: 26px !important;
  color: currentColor !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.2 !important;
}

.contact-card__icon img,
.contact-method__icon img,
.contact-channel__icon img,
.contact-icon img,
.contacts-page .contact-card [class*="icon"] img,
.contact-page .contact-card [class*="icon"] img,
.contacts-section .contact-card [class*="icon"] img,
.contact-section .contact-card [class*="icon"] img {
  width: 27px !important;
  height: 27px !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
}

.contact-card__icon::before,
.contact-method__icon::before,
.contact-channel__icon::before,
.contact-icon::before,
.contacts-page .contact-card [class*="icon"]::before,
.contact-page .contact-card [class*="icon"]::before,
.contacts-section .contact-card [class*="icon"]::before,
.contact-section .contact-card [class*="icon"]::before {
  color: currentColor !important;
}

/* contact-icons-unified-v4 */
.contact-card [class*="icon"],
.contact-card [class*="logo"],
.contacts-card [class*="icon"],
.contacts-card [class*="logo"],
.contact-method [class*="icon"],
.contact-method [class*="logo"],
.contacts-method [class*="icon"],
.contacts-method [class*="logo"],
.contacts-grid [class*="icon"],
.contacts-grid [class*="logo"],
.contacts-list [class*="icon"],
.contacts-list [class*="logo"],
.contact-links [class*="icon"],
.contact-links [class*="logo"] {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    min-height: 58px !important;
    border-radius: 999px !important;
    display: inline-grid !important;
    place-items: center !important;
    background: #1b4330 !important;
    color: #ffffff !important;
    border: 0 !important;
    box-shadow: 0 14px 28px rgba(27, 67, 48, 0.16) !important;
    overflow: hidden !important;
}

.contact-card [class*="icon"]::before,
.contact-card [class*="icon"]::after,
.contact-card [class*="logo"]::before,
.contact-card [class*="logo"]::after,
.contacts-card [class*="icon"]::before,
.contacts-card [class*="icon"]::after,
.contacts-card [class*="logo"]::before,
.contacts-card [class*="logo"]::after,
.contact-method [class*="icon"]::before,
.contact-method [class*="icon"]::after,
.contact-method [class*="logo"]::before,
.contact-method [class*="logo"]::after,
.contacts-method [class*="icon"]::before,
.contacts-method [class*="icon"]::after,
.contacts-method [class*="logo"]::before,
.contacts-method [class*="logo"]::after {
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.contact-card [class*="icon"] svg,
.contact-card [class*="logo"] svg,
.contacts-card [class*="icon"] svg,
.contacts-card [class*="logo"] svg,
.contact-method [class*="icon"] svg,
.contact-method [class*="logo"] svg,
.contacts-method [class*="icon"] svg,
.contacts-method [class*="logo"] svg,
.contacts-grid [class*="icon"] svg,
.contacts-grid [class*="logo"] svg,
.contacts-list [class*="icon"] svg,
.contacts-list [class*="logo"] svg,
.contact-links [class*="icon"] svg,
.contact-links [class*="logo"] svg {
    width: 28px !important;
    height: 28px !important;
    color: #ffffff !important;
    stroke: currentColor !important;
}

.contact-card [class*="icon"] svg [stroke],
.contact-card [class*="logo"] svg [stroke],
.contacts-card [class*="icon"] svg [stroke],
.contacts-card [class*="logo"] svg [stroke],
.contact-method [class*="icon"] svg [stroke],
.contact-method [class*="logo"] svg [stroke],
.contacts-method [class*="icon"] svg [stroke],
.contacts-method [class*="logo"] svg [stroke],
.contacts-grid [class*="icon"] svg [stroke],
.contacts-grid [class*="logo"] svg [stroke],
.contacts-list [class*="icon"] svg [stroke],
.contacts-list [class*="logo"] svg [stroke],
.contact-links [class*="icon"] svg [stroke],
.contact-links [class*="logo"] svg [stroke] {
    stroke: currentColor !important;
}

.contact-card [class*="icon"] svg [fill]:not([fill="none"]),
.contact-card [class*="logo"] svg [fill]:not([fill="none"]),
.contacts-card [class*="icon"] svg [fill]:not([fill="none"]),
.contacts-card [class*="logo"] svg [fill]:not([fill="none"]),
.contact-method [class*="icon"] svg [fill]:not([fill="none"]),
.contact-method [class*="logo"] svg [fill]:not([fill="none"]),
.contacts-method [class*="icon"] svg [fill]:not([fill="none"]),
.contacts-method [class*="logo"] svg [fill]:not([fill="none"]),
.contacts-grid [class*="icon"] svg [fill]:not([fill="none"]),
.contacts-grid [class*="logo"] svg [fill]:not([fill="none"]),
.contacts-list [class*="icon"] svg [fill]:not([fill="none"]),
.contacts-list [class*="logo"] svg [fill]:not([fill="none"]),
.contact-links [class*="icon"] svg [fill]:not([fill="none"]),
.contact-links [class*="logo"] svg [fill]:not([fill="none"]) {
    fill: currentColor !important;
}

.contact-card [class*="icon"] img,
.contact-card [class*="logo"] img,
.contacts-card [class*="icon"] img,
.contacts-card [class*="logo"] img,
.contact-method [class*="icon"] img,
.contact-method [class*="logo"] img,
.contacts-method [class*="icon"] img,
.contacts-method [class*="logo"] img,
.contacts-grid [class*="icon"] img,
.contacts-grid [class*="logo"] img,
.contacts-list [class*="icon"] img,
.contacts-list [class*="logo"] img,
.contact-links [class*="icon"] img,
.contact-links [class*="logo"] img {
    width: 28px !important;
    height: 28px !important;
    object-fit: contain !important;
    filter: brightness(0) invert(1) !important;
    mix-blend-mode: normal !important;
}
/* end-contact-icons-unified-v4 */

