/* Общие стили */

body {
    font-family: 'Roboto', sans-serif;
    background-color: #181818;
    color: #f1f1f1;
    line-height: 1.6;
   
}

/* Контейнеры */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Хедер */
header {
    background-color: #121212;
    color: #fff;
    padding: 30px 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

header h1 {
    font-family: 'Ubuntu', sans-serif;
    font-size: 50px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Hero секция */


.hero-content {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 40px;
    border-radius: 10px;
    width: 80%;
}

.hero h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
}

.hero p {
    font-size: 20px;
    font-weight: 400;
}

/* Секция товаров */
.product-container {
    padding: 80px 0;
    background-color: #181818;
    border-top: 5px solid #f1f1f1;
}

.product-container h2 {
    font-size: 32px;
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
}

.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.product-card {
    background-color: #2a2a2a;
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image-container {
    width: 100%;
    height: 200px;
    background-color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.product-description {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 15px;
}

.product-price {
    font-size: 18px;
    font-weight: 600;
    color: #ddd;
    margin-bottom: 20px;
}
/* Стили для формы */
.payment-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #2c2f38;
    padding: 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    margin: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Стили для лейблов */
.payment-form label {
    font-size: 16px;
    color: #f1f1f1;
    margin-bottom: 8px;
    align-self: flex-start;
}

/* Стили для текстовых полей ввода */
.input-field {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    background-color: #444b55;
    border: 2px solid #333;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Эффект фокусировки на поле ввода */
.input-field:focus {
    border-color: #79288a;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.7);
    outline: none;
}

/* Стили для кнопки */
.buy-btn {
    padding: 12px 20px;
    background-color: #79288a;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    width: 100%;
}

/* Эффект при наведении на кнопку */
.buy-btn:hover {
    background-color: #79288a;
    transform: translateY(-3px);
}

/* Эффект при нажатии на кнопку */
.buy-btn:active {
    background-color: #79288a;
    transform: translateY(0);
}


.buy-btn:hover {
    background-color: #610769;
}

/* Footer */
footer {
    background-color: #121212;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

footer p {
    font-size: 14px;
}

/* Media queries */
@media (max-width: 768px) {
    .hero-content {
        width: 90%;
    }
}
/* Покупка */
.purchase-container {
    color: #fff;
    padding: 20px 0;
    text-align: center;
}
/* Стили для блока выбора оплаты */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
}

/* Стили для каждого лейбла */
.payment-options label {
    display: flex;

    cursor: pointer;
    position: relative;
    padding-left: 35px;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Стили для скрытых радиокнопок */
.payment-options input[type="radio"] {
    position: absolute;
    opacity: 0; /* Скрыть стандартную радиокнопку */
    cursor: pointer;
}

/* Кастомные радиокнопки */
.payment-options .custom-radio {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #f1f1f1;
    background-color: #333;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    margin-right: 10px;
}

/* Цвет радиокнопки, когда она активна */
.payment-options input[type="radio"]:checked + .custom-radio {
    background-color: #79288a;
    border-color: #79288a;
}

/* При наведении на лейблы меняем цвет текста */
.payment-options label:hover {
    color: #79288a;
}

/* Стили для текста, который отображается рядом с радиокнопкой */
.payment-options label span {
    display: inline-block;
    position: relative;
    margin-right: 10px;
}

/* Добавляем белый кружок в центре при выборе */
.payment-options input[type="radio"]:checked + .custom-radio::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

/* Стили для текста на hover */
.payment-options label:hover .custom-radio {
    border-color: #79288a;
}
.language-select {
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 1000;
    cursor: pointer;
}

.language-label {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
    display: inline-block;
}

.language-dropdown {
    display: none;
    position: absolute;
    top: 35px;
    right: 0;
    background-color: #313438;
    border-radius: 5px;
    padding: 10px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.5s;
}

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

.language-option {
    display: block;
    color: white;
    padding: 10px;
    text-decoration: none;
    font-size: 14px;
    text-align: center;
    transition: background-color 0.3s;
}

.language-option:hover {
    background-color: #79288a;
    transition: background-color 0.5s;
}
