body {
    font-family: Arial, sans-serif;
        background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}
.row {
    width: 100%;
}
.navbar-collapse {
    background-color: #ffffff; /* Устанавливаем белый фон для меню */
}

@media (max-width: 992px) {
    .navbar-collapse {
        position: absolute;
        top: 100px; /* Позиционирование под шапкой */
        width: 100%;
        z-index: 1000;
        background-color: #ffffff; /* Белый фон */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    /* Чтобы ссылки были хорошо видны */
    .navbar-nav .nav-link {
        color: #333333;
    }
    
    /* Настройка шапки для мобильной версии */
    .navbar-toggler {
        border: none;
        outline: none;
    }
}


.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px;
}

.navbar {
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100px;
}

.navbar-nav .nav-item .nav-link {
    color: #333333; /* Более темный цвет текста */
    padding: 10px 15px;
    font-weight: bold;
}

.navbar-nav .nav-item .nav-link.active {
    position: relative;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #D810A4, #FF444F) 1;
}

.navbar-nav .nav-item .nav-link:hover {
    color: #000000;
}

.language-switcher a {
    color: #333333; /* Более темный цвет текста */
    margin-left: 10px;
}

.language-switcher a:hover {
    color: #D810A4;
}

.card img {
    width: 100%;
    height: auto;
}

.btn-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.main-section {
    background-color: #F5D7E3; /* Фон на всю ширину экрана */
    padding: 50px 0;
    text-align: center;
}

.main-section h1 {
    color: #D810A4; /* Цвет H1 */
}

.main-section h2,
.main-section h4 {
    color: #333333; /* Цвет текста по умолчанию */
}

.container {
    max-width: 1140px;
    margin: 0 auto;
}

.card-title{
    padding: 10px 0px 10px 0px;
  font-size: 1.45rem;
  font-weight: 600;
}

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.btn-learn-more {
    background-color: #D810A4 !important;  /* Оранжевый цвет */
    color: #ffffff !important;  /* Белый текст */
    border: none;
    width: 100%;
    text-align: center;
}

.btn-learn-more:hover {
    background-color: #be078e !important;  /* Темно-оранжевый при наведении */
    color: #ffffff !important;
}

.btn-visit-site {
    background-color: #28a745 !important;  /* Зеленый цвет */
    color: #ffffff !important;  /* Белый текст */
    border: none;
    width: 100%;
    text-align: center;
}

.btn-visit-site:hover {
    background-color: #218838 !important;  /* Темно-зеленый при наведении */
    color: #ffffff !important;
}

.btn-magento-border {
  color: #D810A4 !important;
  border-color: #D810A4 !important;
  max-width: 100%;  /* Ограничивает ширину кнопки размером контейнера */
  display: inline-block;  /* Гарантирует, что кнопка занимает только необходимое пространство */
}

.btn-magento-border:hover {
    color: #fff !important;
    background-color: #D810A4!important;
}
.btn-magento-border:active {
  color: #fff !important;
  background-color: #D810A4 !important;
  border-color: #D810A4 !important;

}

.ranking-section {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
}

.ranking-block {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.ranking-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.ranking-number {
    font-size: 24px;
    font-weight: bold;
    color: #D810A4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-info h4 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.site-info p {
    font-size: 16px;
    color: #666;
    margin-top: 5px;
}

.rating {
    font-size: 24px;
    font-weight: bold;
    color: #28a745;
    display: flex;
    align-items: center;
    justify-content: center;
}
.buttons {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Центрирование по вертикали */
    margin-top: 10px;
}

.buttons {
    display: flex;
    justify-content: space-between; /* Распределяет кнопки с промежутком */
    gap: 10px; /* Промежуток между кнопками */
    margin-top: 10px;
}

.btn-learn-more,
.btn-visit-site {
    background-color: #D810A4; /* Основной цвет #D810A4 для обеих кнопок */
    color: #ffffff;
    border: none;
    padding: 10px 20px; /* Обеспечивает одинаковую высоту и отступы */
    line-height: 1.5;
    font-size: 16px;
    display: inline-block;
    text-decoration: none;
    border-radius: 5px;
    width: 48%; /* Кнопки занимают одинаковое пространство */
    text-align: center;
}

.btn-learn-more:hover {
    background-color: #b80d8c;
}

.btn-visit-site {
    background-color: #28a745; /* Зеленый цвет для кнопки "Перейти на сайт" */
}

.btn-visit-site:hover {
    background-color: #218838; /* Темно-зеленый при наведении */
}


.btn-magento-border {
    border: 2px solid #D810A4;
    color: #D810A4;
    background-color: transparent;
    padding: 10px 20px;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 50px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-magento-border:hover {
    background-color: #D810A4;
    color: #ffffff;
}




.articles-list {
    margin-top: 50px;
}

.article-item {
    background-color: #ffffff;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-item:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.article-item h5 {
    font-size: 18px;
    font-weight: bold;
    color: #333333;
	margin-bottom: 15px;
}




/* Footer */

.footer {
    background-color: #333333;
    color: #ffffff;
    padding: 20px 0;
    margin-top: 50px;
}

.footer p {
    margin: 0;
    padding: 5px 0;
    font-size: 14px;
    color: #cccccc;
}

.footer a {
    color: #ffffff;
    text-decoration: none;
    padding: 0 10px;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #D810A4; /* Основной цвет при наведении */
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


/* Обзорная страница */
.review-header {
    margin-top: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
    position: relative;
}

.review-header .screenshot {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.overall-rating {
    font-size: 24px;
    font-weight: bold;
    margin-left: 10px;
    color: #D810A4;
}

.rating-details {
    margin-top: 20px;
}

.rating-details .rating-item {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 10px;
    text-align: center;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.rating-item .rating-value {
    font-size: 20px;
    font-weight: bold;
    color: #D810A4;
}

.rating-item .rating-label {
    margin-top: 5px;
    font-size: 14px;
    color: #666666;
}

.detailed-review {
    margin-top: 40px;
}

.detailed-review h3 {
    text-align: center;
    color: #333333;
    margin-top: 30px;
}

.detailed-review .rating-value {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    color: #D810A4;
    margin-bottom: 10px;
}

.detailed-review p {
    font-size: 16px;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.next-site-link {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 16px;
    color: #007bff;
    text-decoration: none;
}

.next-site-link:hover {
    color: #0056b3;
    text-decoration: none;
}

/* Кнопка "Перейти на сайт" */
.review-header .btn-primary {
    background-color: #D810A4;
    border-color: #D810A4;
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
}

.review-header .btn-primary:hover {
    background-color: #b80d8c;
    border-color: #b80d8c;
}

@media (max-width: 768px) {
    .review-header .col-md-10 {
        order: 1;
    }

    .review-header .col-md-3 {
        order: 2;
        margin-top: 20px;
    }

    .next-site-link {
        top: -10px;
        font-size: 20px;
    }

    .sidebar ul {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .sidebar ul li {
        flex: 1 1 48%;
        margin-bottom: 10px;
    }

    .sidebar ul li a {
        display: block;
        text-align: center;
        padding: 10px 0;
    }
}

/* Сайдбар с категориями */
.sidebar {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.sidebar h4 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #D810A4;
}

.sidebar ul {
    list-style-type: none;
    padding-left: 0;
}

.sidebar ul li {
    margin-bottom: 10px;
}

/* Меню категорий */
.sidebar ul li a {
    color: #333333; /* Цвет текста заменен на более нейтральный */
    text-decoration: none;
    display: block;
    padding: 10px 15px;
    background-color: #e9ecef;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sidebar ul li a:hover {
    text-decoration: underline;
    background-color: #D810A4; /* Цвет фона при наведении */
    color: #ffffff; /* Цвет текста при наведении */
}

/* Карточки товаров */
.product-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
}

.product-card .brand {
    font-size: 12px;
    color: #888;
    margin-bottom: 5px;
}

.product-card .product-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000;
    text-decoration: none;
}

.product-card .price-list div {
    font-size: 14px;
    margin-bottom: 5px;
    color: #333;
}

.product-card .view-all {
    font-size: 14px;
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.product-card .view-all:hover {
    text-decoration: underline;
}

/* Пагинация */
.pagination {
    justify-content: center;
}

.pagination .page-item .page-link {
    color: #D810A4;
    border: 1px solid #D810A4;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination .page-item .page-link:hover {
    background-color: #D810A4;
    color: #ffffff;
}

/* Хлебные крошки */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 20px;
    font-size: 14px;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

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

/* Галерея товаров */
.product-gallery {
    text-align: center;
    margin-bottom: 30px;
}

.product-gallery .main-image {
    max-width: 100%;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.product-gallery .thumbnail {
    max-width: 80px;
    max-height: 80px;
    width: auto;
    height: auto;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-gallery .thumbnail:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Информация о товаре */
.product-info {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.product-info .product-name {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333333;
}

.product-info .brand {
    font-size: 16px;
    color: #888888;
    margin-bottom: 10px;
}

.product-info .price {
    font-size: 24px;
    color: #f39c12;
    font-weight: bold;
    margin-bottom: 10px;
}

.product-info .recommend {
    background-color: #D810A4;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.product-info .recommend:hover {
    background-color: #b80d8c;
}

.product-info .ean,
.product-info .description {
    margin-bottom: 20px;
}

.product-info .description h4 {
    margin-bottom: 10px;
    color: #333333;
}

.product-info .description p {
    margin: 0;
    font-size: 16px;
    color: #555555;
    line-height: 1.6;
}

/* Таблица с ценами в магазинах */
.store-table {
    margin-top: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.store-table th,
.store-table td {
    text-align: center;
    vertical-align: middle;
    padding: 15px;
}

.store-table th {
    background-color: #f8f9fa;
    color: #333333;
    font-weight: bold;
}

.store-table img {
    max-width: 100px;
    height: auto;
    border-radius: 5px;
}

.store-table .btn {
    font-size: 14px;
    background-color: #D810A4;
    border-color: #D810A4;
    color: #ffffff;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.store-table .btn:hover {
    background-color: #b80d8c;
}

/* Магазины с менее выгодными предложениями */
.less-beneficial-stores {
    margin-top: 30px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.less-beneficial-stores h4 {
    margin-bottom: 15px;
    color: #333333;
}

.less-beneficial-stores ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.less-beneficial-stores ul li {
    margin-bottom: 10px;
}

.less-beneficial-stores ul li a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.less-beneficial-stores ul li a:hover {
    color: #D810A4;
    text-decoration: underline;
}




.top-three{
    text-align: center;
    margin-top:10px;
}
.top-three h4 {
font-weight:bold;
margin-bottom:15px;
}

.ranking-screenshot{
    float: left;
    max-width: 300px;
    padding: 15px;
}

.left_one{margin-left: 1px !important;}


.language-switcher .btn {
    font-weight: bold;
    color: #333333; /* Цвет текста */
}

.language-switcher .dropdown-menu {
    background-color: #ffffff; /* Цвет фона меню */
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.language-switcher .dropdown-item {
    color: #333333; /* Цвет текста для пунктов меню */
    padding: 10px 15px;
}

.language-switcher .dropdown-item:hover {
    background-color: #f5f5f5; /* Цвет фона при наведении на пункт меню */
    color: #D810A4; /* Цвет текста при наведении */
}

@media (max-width: 992px) {
    .language-switcher {
        margin-top: 10px; /* Немного отступа для мобильной версии */
    }
}
/* Для десктопной версии отображается кнопка */
.language-switcher-desktop {
    display: block;
}

.language-switcher-mobile {
    display: none;
}

@media (max-width: 992px) {
    /* Для мобильной версии отображаются ссылки */
    .language-switcher-desktop {
        display: none;
    }
    
    .language-switcher-mobile {
        display: flex;
        justify-content: center;
        gap: 10px; /* Промежуток между ссылками */
    }
    
    .language-link {
        color: #333333;
        font-weight: bold;
        text-decoration: none;
    }
    
    .language-link:hover {
        color: #D810A4;
    }
}

