/* Общие стили */
.gamestores-shop-container {
    background-color: #2c3034;
    color: #f8f9fa;
    font-family: Arial, sans-serif;
    padding: 20px;
    border-radius: 8px;
    margin: 0 auto;
    max-width: 600px;
}

/* Заголовок */
.product-info-wrapper {
    text-align: center;
    margin-bottom: 20px;
}

.product-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.product-info h2 {
    font-size: 28px;
    color: #42a5f5;
    margin: 0;
}

.vip-badge {
    background-color: #42a5f5;
    color: white;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

.product-info-wrapper p, .product-command {
    margin: 0;
    font-size: 14px;
    color: #ccc;
}

/* Элементы преимуществ */
.product-details {
    margin-top: 20px;
}

.description-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #343a40;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.description-info h4 {
    margin: 0;
    font-size: 16px;
    color: #dee2e6;
}

.description-info p {
    margin: 0;
    font-size: 12px;
    color: #888;
}

/* Общие стили для кнопок и значений */
.description-value, .details-button {
    font-size: 14px;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 6px;
    white-space: nowrap;
    text-align: center;
    line-height: 1; /* Для лучшего выравнивания текста */
}

/* Стиль для синих фонов */
.description-value.blue-background {
    background-color: #42a5f5;
    color: white;
}

.details-button {
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.details-button:hover {
    background-color: #45a049;
}

/* Стили для телепорта */
.teleport-values {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.teleport-value-main {
    background-color: #42a5f5;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    text-align: center;
}

/* Модальное окно (оставил без изменений, так как в нём нет проблем) */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    padding-top: 50px;
}

.modal-content {
    background-color: #2c3034;
    margin: 5% auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    position: relative;
    color: #f8f9fa;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: white;
    text-decoration: none;
}

.modal-header {
    text-align: center;
    border-bottom: 1px solid #444;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.modal-header h3 {
    margin: 0;
    font-size: 24px;
}

.kit-category {
    margin-bottom: 20px;
}

.kit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.kit-header h4 {
    margin: 0;
    font-size: 16px;
}

.kit-cooldown {
    background-color: #4a4a4a;
    color: #f0f0f0;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 12px;
    text-transform: uppercase;
}

.kit-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.item-slot {
    background-color: #2a2a2a;
    border-radius: 8px;
    padding: 5px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    width: 80px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
}

.item-slot img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.item-quantity {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 5px;
    border-radius: 5px;
    font-size: 10px;
}

/* Убранные и оптимизированные стили для выравнивания */
.description-info {
    flex-grow: 1;
    margin-right: 15px;
}

.description-value, .details-button, .teleport-values {
    flex-shrink: 0;
    text-align: right;
}