/* --- SHOP & MARKET STYLES --- */
.shop-container {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.shop-section {
    border: 3px double var(--border);
    padding: 20px;
    background: rgba(255,255,255,0.1);
}

.shop-name-header {
    font-family: 'MedievalSharp';
    font-size: 1.8rem;
    color: var(--burgundy);
    border-bottom: 2px solid var(--border);
    margin-bottom: 20px;
    text-align: center;
}

.shop-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 items per row as per PDF */
    gap: 15px;
    margin-bottom: 15px;
}

.shop-item-card {
    border: 2px groove var(--border);
    background: rgba(255,255,255,0.6);
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.1s;
}

.shop-item-card:hover {
    background: rgba(255,255,255,0.8);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.shop-item-card img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 10px;
    filter: drop-shadow(0 5px 5px rgba(0,0,0,0.2));
}

.shop-item-name {
    font-family: 'MedievalSharp';
    font-size: 1.2rem;
    color: var(--ink);
    margin-bottom: 5px;
}

.shop-item-stats {
    font-size: 0.85rem;
    color: #444;
    font-style: italic;
    min-height: 40px;
    margin-bottom: 10px;
}

.shop-item-price {
    font-family: 'MedievalSharp';
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--border);
    margin-bottom: 10px;
}

.btn-buy {
    background-color: var(--accent);
    color: white;
    border: none;
    font-family: 'MedievalSharp';
    padding: 8px 20px;
    cursor: pointer;
    width: 100%;
    text-transform: lowercase;
}

.btn-buy:hover {
    background-color: var(--burgundy);
}

.btn-buy:disabled {
    background-color: #888;
    cursor: not-allowed;
}