@charset "UTF-8";/*!
Theme Name: Cosmetro Child Theme
Theme URI: https://jetimpex.com/wordpress/
Author: Jetimpex
Author URI: https://jetimpex.com/
Description: Sample theme description.
Template: cosmetro
Version: 1.0.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: cosmetro_child
Tags: one-column, two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-menu, featured-images, post-formats, sticky-post, theme-options, threaded-comments, translation-ready
*/

/* Theme customization starts here
-------------------------------------------------------------- */

/* ������� ����������� ����� ���� ��� h1 */
.rs-layer h1.home-page {
    all: revert !important;   /* ���������� ��� �������� inline-�������� */
    font-size: inherit !important; /* ���� ����� ���� ������ ���� */
    line-height: inherit !important;
    color: inherit !important;
    font-weight: inherit !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    white-space: normal !important;
    width: auto !important;
    height: auto !important;
    text-align: inherit !important;
}

@media (max-width: 1024px) {
    /* ��� ���� slider-2-slide-7-layer-4 � ������ ������������ �������� */
    .rs-layer h1.home-page {
        font-size: 78px !important;
        line-height: 78px !important;
        letter-spacing: 7.8125px !important;
        width: auto !important;
    }
}

#cpage-mail-shcode .protected-email{
    font-family: "Roboto", Sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.37em;
    color: #232222;
}

#cpage-mail-shcode .protected-email a:hover {
    color: #232222;
}

body.elementor-page .site-content.container, #jet-theme-core-products-archive{
    margin-top: 80px;
    margin-bottom: 0;
}

.jet-logo__text {
    font-family: 'OpenGost', sans-serif !important;
    /*font-size: 40px !important;*/
    letter-spacing: 5px;
}

.jet-logo__link:hover {
    color: inherit;
}

.jet-logo__link img.jet-logo__img {
    max-width: 60px;
}

.pricing-table {
    padding: 0px !important;
}

#price-table-link {
    display: block;
    height: 100%;
}

#price-table-link a{
    display: block;
    height: 100%;
}


.rs-button {
    font-size:14px !important;
}

/* --- �������� ����� --- */
.breadcrumbs_yoast {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-family: "Roboto", Sans-serif;
    font-size: 12px;
    font-weight: 300; /* ����� ��� ��� ����, ����� ������� */
    text-transform: none;
    font-style: normal;
    letter-spacing: 0px;
    color: #232222;
    margin: 0;
    padding: 0;
}

.breadcrumbs_yoast a {
    color: #232222;
    text-decoration: none;
}

.breadcrumbs_yoast a:hover {
    text-decoration: underline;
}

.breadcrumbs_yoast .breadcrumb_last {
    color: #232222;
}

/* --- ������ ������� ������ (�������) --- */
.breadcrumbs_yoast span:first-child a {
    font-weight: 400;
}

.elementor-shortcode ul {
    margin: 0px;
}

/*--����� ��������� ������ �� �������� ������--*/
ul.custom-brand-thumbnails {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px 40px;
    padding: 0;
    margin: 0;
    list-style: none;
}

ul.custom-brand-thumbnails li {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    max-width: 200px;
    max-height: 200px;
    flex: 1 1 22%;
}

ul.custom-brand-thumbnails li img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
}


/* ��������� ������ ������ ������� */
.jet-woo-product-categories a {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    color: inherit;
}

.protected-email {
    color: #868585;
    text-decoration: none; /* ������� �������������, ���� ����� */
    transition: color 0.3s;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
}

.protected-email:hover {
    color: #ffffff;
}

.custom-reset-button {
    font-family: "Roboto", Sans-serif;
    font-size: 16px;
    color: #FFFBFB;
    background-color: #865AA5;
    border-style: none;
    border-radius: 8px 8px 8px 8px;
    padding: 12px 35px 12px 35px;
    -webkit-align-self: flex-start;
    align-self: flex-start;
}

.custom-reset-button:hover {
    background-color: #604077;
}

/*--������ �������� ������--*/
.jet-woo-products .jet-woo-products__inner-box {
    align-items: center;
    justify-content: flex-end;
    max-height: 455px;
    overflow: hidden
}

.jet-woo-product-thumbnail {
    margin-top: 0 !important;
    margin-bottom: auto;
    align-self: flex-start;
}

.jet-woo-product-title {
    min-height: 68.41px;
}

.jet-woo-products .jet-woo-product-thumbnail img {
    max-height: 220px;
    height: auto;
    object-fit: contain;
}

.jet-woo-product-gallery__image img {
    max-height: 500px;
    height: auto;
    object-fit: contain;
}

.jet-woo-swiper-control-thumbs__item-image img {
    max-height: 150px;
    height: auto;
    object-fit: contain;
}

<style>
.marketplaces-section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  box-sizing: border-box;
}

.marketplaces-section * {
  box-sizing: border-box;
}

/* Сетка карточек */
.mp-cards-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* Базовая карточка */
.mp-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  width: 100%;
  max-width: 350px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
}

/* Эффект при наведении */
.mp-card:hover {
  transform: translateY(-5px);
  border-color: #865aa5;
  box-shadow: 0 12px 30px rgba(134, 90, 165, 0.2);
}

/* Блок логотипа (теперь ссылка) */
.mp-logo-box {
  display: flex;
  width: 100%;
  height: 110px;
  background: #ffffff;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.mp-logo-box:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.mp-logo {
  width: 85%;
  height: auto;
}

/* Стили для логотипа Яндекс Маркет */
.yamarket-logo-wrap {
  display: flex;
  align-items: center;
  font-size: 26px;
  font-weight: 700;
}

.ya-red {
  background: #ff0000;
  color: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  margin-right: 6px;
}

.ya-m-icon {
  background: #ffcc00;
  color: #000;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  margin-right: 8px;
}

.ya-text {
  color: #000;
  font-weight: 700;
}

/* Заголовок карточки */
.mp-card-title {
  font-size: 16px;
  font-weight: 800;
  color: #111;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  line-height: 1.3;
}

/* Описание */
.mp-card-desc {
  font-size: 13px;
  color: #444;
  line-height: 1.5;
  margin: 0;
}

/* Маленькие бэйджики в тексте */
.mp-mini-badge {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  vertical-align: middle;
  margin-left: 3px;
}

.badge-ozon {
  background: #005bff;
  border-radius: 10px;
}

.badge-wb {
  background: #881179;
}

.badge-ya {
  background: #ffcc00;
  color: #000;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  text-align: center;
  padding: 0;
  line-height: 16px;
}

/* Затемненный фон поп-апа */
.mp-modal-overlay {
  display: none; /* Скрыто по умолчанию */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
  padding: 20px;
  box-sizing: border-box;
}

.mp-modal-overlay.active {
  display: flex;
}

/* Контейнер модального окна */
.mp-modal-content {
  background: #ffffff;
  width: 100%;
  max-width: 850px;
  border-radius: 20px;
  padding: 35px 25px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  text-align: center;
  animation: mpFadeIn 0.3s ease-out;
  box-sizing: border-box;
}

@keyframes mpFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Кнопка закрытия */
.mp-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  font-weight: 300;
  color: #888;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.mp-modal-close:hover {
  color: #000;
}

/* Заголовки в поп-апе */
.mp-modal-title {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 8px 0;
  color: #222;
}

.mp-modal-subtitle {
  font-size: 14px;
  color: #666;
  margin: 0 0 25px 0;
}

/* Сетка карточек */
.mp-cards-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.mp-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 15px;
  flex: 1;
  min-width: 200px;
  max-width: 250px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border: 2px solid #eee;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.mp-card:hover {
  transform: translateY(-4px);
  border-color: #865aa5;
  box-shadow: 0 10px 20px rgba(134, 90, 165, 0.15);
}

/* Логотипы-ссылки */
.mp-logo-box {
  display: flex;
  width: 100%;
  height: 90px;
  background: #ffffff;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  border: 1px solid #f0f0f0;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease;
  box-sizing: border-box;
}

.mp-logo-box:hover {
  transform: scale(1.03);
}

.mp-logo {
  width: 80%;
  height: auto;
}

/* Яндекс Маркет логотип */
.yamarket-logo-wrap {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
}

.ya-red {
  background: #ff0000;
  color: #fff;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  margin-right: 4px;
}

.ya-m-icon {
  background: #ffcc00;
  color: #000;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  margin-right: 6px;
}

.ya-text {
  color: #000;
}

.mp-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

@media (min-width: 1200px) {
    .page-header {
        margin-bottom: 60px;
    }
}

@media (max-width: 767px) {
    .breadcrumbs_yoast {
        justify-content: center;
        flex-wrap: wrap;
    }
    #tab-additional_information {
        border: none !important;
    }
    /* �������� overlay � ��������� �� ���������� JS */
    #jet-filter.modal-overlay,
    #jet-filter {
        display: none;
        overflow: hidden;
    }

    /* ����� ���������� JS (����� ����������� ����� showFiltersUI) */
    html.js-filters-ready #jet-filter.modal-overlay,
    html.js-filters-ready #jet-filter {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* ��� ������������� ��� JS ���������� ������� */
    html.no-js #jet-filter.modal-overlay,
    html.no-js #jet-filter {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #cpage-mail-shcode .elementor-shortcode {
    text-align: center;
    }
}

@media screen and (max-width: 767px) {
    ul.custom-brand-thumbnails li {
        flex: 1 1 48%;
    }
}

@media screen and (max-width: 480px) {
    ul.custom-brand-thumbnails li {
        flex: 1 1 100%;
    }
}

/* ==============================================
   ��������� ��� �������� (max-width: 768px)
   ============================================== */
@media (max-width: 767px) {
    .custom-reset-button {
        display: none;
    }

    /* ���������-������ ��������� � ������� */
    .jet-filter-header {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 0.5rem;

        width: 100%; /* ����������� �� ������ ���������� */
        box-sizing: border-box;

        /* �������, ����� �������� �� �������� */
        padding-left: 1rem;
        padding-right: 1rem;
        max-width: 1160px; /* ��������� � ��������� */
        margin-left: auto;  /* ������������ �� ������� ���� */
        margin-right: 0;
    }

    /* ������ ����� ::before */
    .jet-filter-header::before {
        content: "";
        display: inline-block;
        width: 24px;
        height: 24px;
        background-image: url('filter-ico.svg'); /* ���� � ����� ������ */
        background-size: contain;
        background-repeat: no-repeat;
    }

    /* ����������� ��� ���������� ���� */
    #jet-filter.modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }

    /* ��������� ���� � ��������� */
    #jet-filter.modal-overlay .jet-filter {
        position: relative; /* ���������� �������� ������ ����� ��������� � ���� �������� */
        max-width: 90%;
        max-height: 80%;
        overflow-y: auto;
        background: #fff;
        padding: 0.5rem 2.5rem 1rem 1rem; /* �������� ������ ������ ��� �������� � ������ */
        margin: 0 auto; /* ���������� �� ����������� */
        box-sizing: border-box;
    }

    /* ������ �������� (�������) */
    #jet-filter.modal-overlay .jet-filter .close-filter {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        width: 24px;
        height: 24px;
        cursor: pointer;
        font-size: 24px;
        line-height: 24px;
        text-align: center;
        font-weight: bold;
        color: #875aa6;
        z-index: 10; /* ������ ����������� */
    }

    /* ������ "��������" ����� � ��������� */
    #jet-filter.modal-overlay .jet-filter .reset-text-btn {
        position: absolute;
        top: 0.5rem;       /* ������������ �� �������� ���� ���� */
        right: 3.5rem;     /* ������ �� �������� */
        cursor: pointer;
        font-size: 16px;
        font-weight: bold;
        color: #875aa6;
        z-index: 10;
        display: flex;         /* �������� flex */
        align-items: flex-end;
        line-height:24px;
    }

    /* ����� ������� � ������� ����� */
    .jet-filter-label {
        display: flex;
        align-items: center;
        cursor: pointer;
        gap: 0.5rem; /* ���������� ����� ������� � ������� */
    }

    .jet-filter-label .toggle-icon {
        display: inline-block;
        font-size: 16px;
        transition: transform 0.3s;
        user-select: none;
    }

    .jet-filter-label.expanded .toggle-icon {
        transform: rotate(180deg);
    }

  .mp-cards-grid {
    flex-direction: column;
    align-items: center;
  }
  
  .mp-card {
    max-width: 100%;
  }

}

/* �� �������� �������� ������ */
@media (min-width: 768px) {
    .jet-filter-label .toggle-icon {
        display: none !important;
    }
    .elementor-widget-jet-search {
    width: auto !important;
    max-width: 300px; /* ���� ������ */
    margin-left: auto;
}
}


/* ����� */
/* ������-������ */
.elementor-widget-jet-search .jet-search__submit {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    padding: 0;
}

/* ���� ������ */
.elementor-widget-jet-search .jet-search__submit svg path {
    fill: #000;
}

@media (max-width: 600px) {
  .mp-cards-grid {
    flex-direction: column;
    align-items: center;
  }
  .mp-card {
    width: 100%;
    max-width: 100%;
  }
}
