/* css/store.css */
/* Estilos Tienda Espejo */
.product-image-container {
    position: relative;
    background: #fff;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
    display: flex;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important;
}

.filter-scroll::-webkit-scrollbar {
    width: 6px;
}

.filter-scroll::-webkit-scrollbar-thumb {
    background-color: #ddd;
    border-radius: 4px;
}

/* Nuevos Estilos para Semáforo de Stock */
.small-dot {
    font-size: 0.6rem;
    vertical-align: middle;
}

.product-stock-line {
    line-height: 1.2;
}

/* ==========================================
   DISEÑO PREMIUM "FERRITO" (FSM V2)
   ========================================== */

.fsm-premium-card {
    background: #fff;
    border: 1px solid #000;
    border-radius: 15px;
    padding: 15px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.fsm-premium-card:hover {
    transform: translateY(-5px);
}

/* Caja de Imagen con Borde Morado */
.fsm-card-img-box {
    border: 5px solid var(--fsm-orange);
    /* Morado Branding */
    border-radius: 20px;
    position: relative;
    height: 250px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 15px;
}

.fsm-main-img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    z-index: 1;
}

/* Mascota Ferrito */
.fsm-ferrito-mascot {
    position: absolute;
    bottom: -15px;
    /* Ajustado para el nuevo tamaño */
    right: -15px;
    /* Un poco mas a la izquierda como pidió el usuario (antes -25px) */
    height: 220px;
    /* Mas grande como pidió el usuario */
    z-index: 2;
    pointer-events: none;
}

/* Logo Overlay */
.fsm-logo-overlay {
    position: absolute;
    top: 15px;
    right: 20px;
    height: 55px;
    /* Mas grande */
    z-index: 2;
    background: transparent;
    /* Quitar fondo blanco */
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    /* Quitar sombra/contorno */
}

/* Etiquetas Amarillas Professional */
.fsm-label-title {
    background: linear-gradient(180deg, #FFEB3B 0%, var(--fsm-yellow) 100%);
    color: #000;
    border: 1px solid #c9a900;
    border-radius: 6px;
    padding: 10px 12px;
    font-weight: 800;
    font-size: 0.9rem;
    font-family: 'Montserrat', 'Inter', 'Segoe UI', sans-serif;
    /* Fuente mas redondeada y profesional */
    text-transform: uppercase;
    margin-bottom: 10px;
    text-align: center;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.fsm-label-sku {
    background: #f1f1f1;
    color: #555;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 2px 8px;
    font-weight: 600;
    font-size: 0.75rem;
    display: inline-block;
    width: fit-content;
    margin-bottom: 12px;
}

/* Footer de Card (Precio y Botón) */
.fsm-card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.fsm-label-price {
    background: linear-gradient(135deg, var(--fsm-orange) 0%, #4A148C 100%);
    color: #fff;
    border-radius: 6px;
    padding: 8px 12px;
    font-weight: 900;
    font-size: 1.25rem;
    font-family: 'Montserrat', 'Inter', sans-serif;
    /* Estilo redondeado */
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

.fsm-btn-buy {
    background: linear-gradient(180deg, #FFD600 0%, #FBC02D 100%);
    color: #000;
    border: 1px solid #c9a900;
    border-radius: 6px;
    padding: 8px 15px;
    font-weight: 800;
    font-size: 0.8rem;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.fsm-btn-buy:hover {
    background: var(--fsm-orange);
    color: #fff;
    border-color: var(--fsm-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}