/* ==========================================================================
   DESIGN GRILĂ ȘI CARDURI PRODUSE (Identic cu Pagina de Produse)
   ========================================================================== */
.sn-shop-section { 
    background-color: #f8fafc; 
    padding: 40px 0; 
    font-family: 'Montserrat', sans-serif; 
}

.sn-product-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px; 
}

.sn-product-card { 
    background: #ffffff; 
    border-radius: 12px; 
    border: 1px solid #e2e8f0; 
    position: relative; 
    display: flex; 
    flex-direction: column; 
    transition: all 0.3s ease; 
}

.sn-product-card.sn-out-of-stock { 
    opacity: 0.75; 
}

.sn-out-of-stock-badge { 
    position: absolute; 
    top: 12px; 
    right: 12px; 
    background: #e74c3c; 
    color: white; 
    padding: 4px 8px; 
    font-size: 10px; 
    font-weight: 800; 
    border-radius: 4px; 
    z-index: 10; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
}

.sn-left-actions { 
    position: absolute; 
    top: 12px; 
    left: 12px; 
    display: flex; 
    flex-direction: column; 
    gap: 8px; 
    z-index: 10; 
}

.sn-square-btn { 
    width: 36px; 
    height: 36px; 
    background: #002D5B; 
    border: none; 
    border-radius: 4px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    cursor: pointer; 
    color: #ffffff; 
    transition: 0.2s; 
    position: relative;
}

.sn-square-btn i { 
    font-size: 16px; 
    color: #ffffff !important; 
}

.sn-square-btn.active { 
    background: #e74c3c; 
}

.sn-square-btn[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 45px;
    top: 50%;
    transform: translateY(-50%) scale(0.8);
    background: #002D5B;
    color: #ffffff;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease-in-out;
}

.sn-square-btn[data-tooltip]:hover::after {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.sn-prod-img-box { 
    height: 200px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 15px; 
    text-decoration: none; 
}

.sn-prod-img-box img { 
    max-width: 100%; 
    max-height: 100%; 
    object-fit: contain; 
}

.sn-prod-info { 
    padding: 15px; 
    text-align: center; 
}

.sn-prod-title { 
    font-size: 14px; 
    font-weight: 700; 
    color: #2d3748; 
    text-transform: uppercase; 
    height: 40px; 
    overflow: hidden; 
    margin-bottom: 12px; 
    line-height: 1.4; 
}

.sn-prod-title a { 
    text-decoration: none; 
    color: #2d3748; 
    transition: color 0.2s; 
}

.sn-prod-title a:hover { 
    color: #002D5B; 
}

.sn-price-container { 
    display: flex; 
    justify-content: center; 
    align-items: baseline; 
    gap: 10px; 
    margin-bottom: 20px; 
}

.sn-current-price { 
    font-size: 20px; 
    font-weight: 800; 
    color: #002D5B; 
}

.sn-action-row { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 8px; 
    padding: 0 15px 20px; 
}

.sn-btn { 
    padding: 12px 2px; 
    border-radius: 6px; 
    font-weight: 800; 
    font-size: 10px; 
    border: none; 
    cursor: pointer; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 5px; 
    text-transform: uppercase; 
    text-decoration: none; 
    transition: all 0.25s ease-in-out; 
}

.btn-add-cart { 
    background: #002D5B; 
    color: white; 
    border: 1px solid #002D5B; 
}

.btn-add-cart:hover { 
    background: #001b38; 
    border-color: #001b38; 
    box-shadow: 0 4px 10px rgba(0, 45, 91, 0.25); 
    transform: translateY(-1px); 
}

.btn-add-cart.already-in-cart { 
    background: #2ecc71; 
    border-color: #2ecc71; 
    color: white; 
    cursor: default; 
    pointer-events: none; 
}

.btn-add-cart.sn-btn-indisponibil { 
    background: #94a3b8; 
    border-color: #94a3b8; 
    color: white; 
    cursor: not-allowed; 
    pointer-events: none; 
    grid-column: span 2; 
}

.btn-buy-now { 
    background: #3498db; 
    color: white; 
    border: 1px solid #3498db; 
}

.btn-buy-now:hover { 
    background: #2284c2; 
    border-color: #2284c2; 
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.25); 
    transform: translateY(-1px); 
}

.sn-toast-notification {
    position: fixed; 
    bottom: 20px; 
    right: 20px; 
    background: #002D5B; 
    color: #fff; 
    padding: 15px 25px; 
    border-radius: 6px; 
    font-weight: 700; 
    font-size: 13px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); 
    z-index: 9999; 
    display: none;
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    border-left: 4px solid #3498db;
}

.banner-full-width {
    width: 100%;
    height: 300px;
    background-image: url('/assets/imagini/banner.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 40px 0;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 45, 91, 0.85); /* Albastru închis */
}

.banner-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

/* ==========================================================================
   OPTIMIZĂRI STRICTE GRILĂ PENTRU MOBIL & TABLETĂ
   ========================================================================== */
@media (max-width: 992px) {
    .sn-product-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 576px) {
    .sn-product-grid { 
        grid-template-columns: 1fr; 
    }
}