/* Settem Grid v1.0.1 — Grid de productos sin filtros */

.sg-wrapper { width: 100%; }

/* ── LOADING ── */
.sg-loading { display: flex; align-items: center; justify-content: center; padding: 60px 0; }
.sg-spinner { width: 32px; height: 32px; border: 2px solid #1a1a2e; border-top-color: #164ad3; border-radius: 50%; animation: sg-spin 0.7s linear infinite; }
@keyframes sg-spin { to { transform: rotate(360deg); } }

/* ── GRID ── */
.sg-products { width: 100%; min-width: 0; }
.sg-grid { display: grid; gap: 10px; width: 100%; }
.sg-cols-2 { grid-template-columns: repeat(2,1fr); }
.sg-cols-3 { grid-template-columns: repeat(3,1fr); }
.sg-cols-4 { grid-template-columns: repeat(4,1fr); }

/* ── CARD ── */
.sg-card { display: block; }

.sg-card-inner {
    display: block;
    background: #0d0d1a;
    border: 0.5px solid #1a1a2e;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none !important;
    transition: border-color 0.2s;
}

.sg-card-inner:hover { border-color: rgba(232,0,106,0.35); }

.sg-thumb {
    height: 160px;
    background: #1a0015;
    background-size: cover;
    background-position: center;
    position: relative;
}

.sg-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #164ad3;
    color: #fff;
    font-size: 8px;
    letter-spacing: 1px;
    padding: 2px 7px;
    border-radius: 3px;
    z-index: 1;
}

.sg-body { padding: 12px 14px 14px; }

.sg-cat {
    font-size: 8px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
    display: inline-block;
    background: #1a1a2e;
    border: 0.5px solid #2a2a3e;
    border-radius: 3px;
    padding: 2px 8px;
}

.sg-name {
    font-family: 'Syne', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.3;
    display: block;
}

.sg-bottom { display: flex; justify-content: space-between; align-items: center; }

/* Precio todo en blanco */
.sg-price { font-size: 14px; font-weight: 800; color: #fff; display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; }
.sg-price .amount { color: #fff !important; }
.sg-price del, .sg-price del .amount { color: #fff !important; font-weight: 400; font-size: 11px; text-decoration: line-through; }
.sg-price ins, .sg-price ins .amount { color: #fff !important; text-decoration: none; font-weight: 800; }

/* Botón */
.sg-btn {
    font-size: 12px;
    font-family: 'DM Sans';
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
    background: #164ad3;
    padding: 5px 20px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    transition: background 0.2s;
    white-space: nowrap;
}

.sg-card-inner:hover .sg-btn { background: #cc005d; }

/* ── EMPTY ── */
.sg-empty { text-align: center; padding: 60px 20px; color: #444; font-size: 13px; }

/* ── RESPONSIVE MÓVIL ── */
@media (max-width: 767px) {
    .sg-cols-2,
    .sg-cols-3,
    .sg-cols-4 { grid-template-columns: repeat(2,1fr); }

    .sg-thumb { height: 120px; }

    .sg-btn { font-size: 10px; }

    .sg-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}


.sg-tags-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 14px}
.sg-tags-label{color:#d6dbea;font-size:12px;white-space:nowrap}
.sg-tags{display:flex;flex-wrap:wrap;gap:6px}
.sg-tag{border:1px solid #2563eb;color:#60a5fa;padding:4px 8px;border-radius:6px;font-size:11px;line-height:1}
.sg-bottom{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.sg-btn{margin-top:2px}
