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

body {
    font-family: Arial, sans-serif;
    background-color: white;
    color: #333;
}

p {
    margin: 10px 0px;
    font-size: 16px;
    font-family: Roboto,sans-serif;
    line-height: 1.5;
}
h2 {
    margin: 20px 0;
}
ul {
    padding-left: 35px;
}
header {
    
    padding: 20px;
    background-color: #f4f4f4;
}
.header{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header .logo {
    font-size: 24px;
    font-weight: bold;
}

nav ul {
    list-style-type: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

main {
    padding: 40px 0px;
    max-width: 1366px;
    margin: auto;
    min-height: 80vh;
}
a {
    text-decoration: none;
    color: #333;
}
a:hover {
    color: #757575;
}
table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
}
th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
tr:hover{
    background-color: #f4f4f4;

}
th {
    background-color: #fff;
    font-weight: bold;
}
.language-dropdown {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.language-dropdown .current-flag img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.language-options {
    display: none;
    position: absolute;
    right: 0;
    top: 20px;
    background-color: #333;
    border-radius: 4px;
    list-style: none;
    padding: 5px 0;
    margin: 5px 0 0 0;
    z-index: 1000;
    min-width: 120px;
}

.language-options li {
    padding: 8px 12px;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-options li:hover {
    background-color: #444;
}

.language-dropdown:hover .language-options {
    display: block;
}

nav.menu {
    margin-right: 10px;
}

.menu_lang{
    display: flex;
    align-items: center;
}
.infinity-symbol {
    font-size: 18px;
    color: #666;
}

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

.catalog h1 {
    text-align: center;
    margin-bottom: 40px;
}

.product-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
}
 
.product-card {
    width: 300px;
    height: 475px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 2px;
    text-align: center;
    background-color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.info_block {
    text-align: left;
    font-size: 16px;
}
.product-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    max-height: 125px;
}

.product-card h2 {
    font-size: 18px;
    margin-top: 15px;
}

.product-card p {
    font-size: 14px;
    color: #777;
    margin: 10px 0;
    text-align: left;
}

.price {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.add-to-cart {
    padding: 10px 20px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.add-to-cart:hover {
    background-color: #555;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #f4f4f4;
    margin-top: 40px;
}
/* Стили для контейнера продукта */
.product {
    text-align: center;
    width: 100%;

}

/* Стили для заголовка продукта */
.product__title {
    font-size: 2em;
    color: #555555; /* Средне-серый цвет для заголовков */
    margin-bottom: 10px;
}

/* Стили для описания продукта */
.product__description {
    font-size: 1em;
    color: #666666; /* Серый цвет для основного текста */
    margin-bottom: 15px;
}

/* Стили для цены продукта */
.product__price {
    font-size: 1.2em;
    color: #000000; /* Черный цвет для цены */
    margin-bottom: 20px;
}

/* Стили для изображения продукта */
.product__image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px; /* Скругленные углы для изображения */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Легкая тень для выделения */
}

/* Стили для сообщения об отсутствии изображения */
.product__no-image {
    font-size: 1em;
    color: #999999; /* Светло-серый цвет для сообщения об отсутствии изображения */
    margin-bottom: 20px;
}

/* Стили для кнопки */
.button {
    display: inline-block;
    font-size: 1em;
    color: #ffffff; /* Белый цвет текста */
    background-color: #333; /* Синий фон кнопки */
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin-bottom: 20px;
}

.button.green {
    background-color: #4caf50;
}

.button:hover {
    background-color: #999999; /* Светло-серый цвет для сообщения об отсутствии изображения */
}

/* Стили для ссылки */
.link {
    font-size: 1em;
    color: #1a73e8; /* Синий цвет для ссылок */
    text-decoration: none;
    border-bottom: 1px solid #1a73e8;
    padding-bottom: 2px;
    transition: color 0.3s, border-color 0.3s;
}

.link:hover {
    color: #0c48cc; /* Более темный синий при наведении */
    border-color: #0c48cc;
}

a {
    text-decoration: none;
}
.description_block {
    padding-left: 25px;
}
.product_block {
    display: flex;
    justify-content: center;
    width: 100%;
}

.product-card h2 {
    color: #333;
}

.logo a{
    color: #333;
}

.product-gallery {
    display: flex;
    gap: 10px;
}

.product-gallery a {
    display: block;
    width: 100px;
    height: 100px;
    overflow: hidden;
}

.product-gallery img {
    width: 100%;
    height: auto;
}

.footer_block {
    display: flex;
    justify-content: space-between;
}

span.grey--text {
    color: #9e9e9e;
}

.text_block a{
    color: #333;
}
p.useful_links a {
    text-decoration: underline;
    color: #333;
}
p.useful_links a:hover {
    text-decoration: none;
    color: #757575;
}
.partners-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.partners-card {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 2px;
    color: #333;
    background-color: #fff;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.partners-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
    padding-top: 30px;
}
.contact-block {
    display: flex;
    gap: 40px;
}
.contact-info {
    flex: 1;
}
.contact-description {
    flex: 1;
}
.contact-item {
    margin-bottom: 10px;
}
.contact-item img {
    width: 30px;
    height: 30px;
    vertical-align: middle;
    margin-right: 10px;
}

.contact-method {
    display: flex;
    align-items: center;
}
.contact-method img {
    padding-right: 10px;
}
span.usdt_labl {
    background-color: #a9a4a475;
    padding: 10px;
    border-radius: 20px;
}
p.background_blue {
    background-color: rgb(221, 238, 255);
}
.burger{
    display:none;
}

.burger img{
    width: 50px;
    height: 50px;
}
.mobile-menu {
    position: fixed;
    top: 0;
    right: -250px; /* Скрываем за пределами экрана */
    width: 250px;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease;
    z-index: 1000;
}
.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 20px;
    display: block;
}

.mobile-menu ul li {
    margin-bottom: 15px;
}

.mobile-menu ul li a {
    text-decoration: none;
    color: #000;
    font-size: 18px;
}

@media (max-width: 767px) {
    .burger{
        display:block;
        cursor: pointer;
    }

    .header .menu{
        display:none;
    }

    .mobile-menu.active {
        right: 0; /* Показываем мобильное меню */
    }
    header .logo {
        font-size: 20px;
        font-weight: bold;
    }

    .product_block {
        flex-direction: column-reverse;

    }
    .partners-card img{
        width: 100%;
    }
    .contact-block{
        flex-direction: column;
    }
    header {
        padding: 1px;
    }
    .container {
        padding: 0 10px;
    }
}