/* Стили для инвентаря */
.inventory-category {
    padding: 15px;
    border-radius: 5px;
}

.inventory-category h3 {
    color: #fff;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.inventory-item {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
    text-align: center;
    background: white;
    transition: all 0.3s ease;
}

.inventory-item:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.inventory-item.selected {
    border-color: #28a745;
    background-color: #f8fff9;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.2);
}

.inventory-item img {
    max-width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 3px;
    margin-bottom: 10px;
}

.inventory-item h4 {
    color: #333;
    margin: 10px 0;
    font-size: 16px;
}

.inventory-item p {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.inventory-item small {
    color: #999;
    display: block;
    margin-bottom: 10px;
}

/* Стили для магазина с проверкой пропуска */
.pass-required {
    text-align: center;
    padding: 40px 20px;
}

.pass-required .icon {
    font-size: 48px;
    color: #dc3545;
    margin-bottom: 20px;
}

.pass-required h3 {
    color: #333;
    margin-bottom: 15px;
}

.pass-required p {
    color: #666;
    margin-bottom: 20px;
}

/* Стили для карточек товаров */
.product-card {
    display: block;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 20px;
    background: white;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    text-decoration: none;
    color: inherit;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.product-card > div:first-child {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.product-card > div:last-child {
    padding: 15px;
}

.product-card span {
    display: inline-block;
    margin-right: 10px;
    font-weight: bold;
}

.product-card span:first-child {
    color: #28a745;
}

.product-card span:last-child {
    color: #6c757d;
    font-size: 14px;
}

.product-card p {
    margin: 10px 0 0 0;
    font-weight: bold;
    color: #333;
}