/* Ajuste para que el contenedor ocupe todo el espacio del iframe */
.shop-container {
    width: 100%;
    height: 100%;
    background: #e1e1e1;
    border-radius: 4px;
    overflow-y: auto; /* Scroll sin cortes */
    padding: 15px;
    margin-top: -25px;
}

/* Aplicamos el scroll personalizado como en otros módulos */
::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, 0.1);
}
::-webkit-scrollbar-thumb {
    background-color: rgba(106, 106, 106, 0.4);
}

/* Grid adaptable según items_per_row */
.items-grid {
    display: grid;
    gap: 12px;
    padding: 10px;
    justify-content: center;
    margin-top: 10px;
}

/* Caja de cada ítem */
.item-card {
    background: #f3f3f3;
    border-radius: 4px;
    padding: 12px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: 2px 2px 0 0 rgba(0, 0, 0, 0.2), inset 0 -3px 0 0 rgba(0, 0, 0, 0.1);
    width: 140px;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

/* Imagen del ítem */
.item-image {
    width: 90px;
    height: 90px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Información del ítem */
.item-info {
    font-size: 14px;
    color: #505050;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Botón de compra */
.buy-button {
    height: 29px;
    width: 100%;
    background: #189b23;
    border-radius: 4px;
    border: none;
    border-top: 4px solid #2f9d3b;
    border-bottom: 4px solid #1b7435;
    cursor: pointer;
    box-shadow: 0 2px 0 0 hsl(0deg 0% 100% / 6%);
    padding: 3px 8px;
    color: #fff;
    font-size: 14px;
    font-weight: normal; /* Eliminé el bold */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
}

/* Icono dentro del botón (más pequeño) */
.buy-icon {
    width: 18px; /* Antes era 22px, ahora más pequeño */
    height: 18px;
    display: inline;
}