/* store.css — area acquisto (store/index.html, store/personal.html) */

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

.store-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.75rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 16px;
    background: rgba(148, 163, 184, 0.06);
}

.store-card--primary {
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 0 32px rgba(99, 102, 241, 0.15);
}

.store-card h2 {
    margin: 0;
    font-size: 1.35rem;
}

.store-card-tag {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.store-card ul {
    margin: 0;
    padding-left: 1.1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.95rem;
}

.store-card .btn {
    align-self: flex-start;
    margin-top: 0.5rem;
}

.store-form-title {
    margin-bottom: 0.25rem;
}

.field-hint {
    margin: 0.3rem 0 0;
    font-size: 0.82rem;
    opacity: 0.65;
}

.store-success {
    max-width: 640px;
    margin: 0 auto;
    padding: 2rem;
    border: 1px solid rgba(16, 185, 129, 0.45);
    border-radius: 16px;
    background: rgba(16, 185, 129, 0.08);
}

.store-success ol {
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Allineamento con lo sfondo scuro standard di AGI-ONE */
body[data-marketing-shell="personal"] {
    background: linear-gradient(180deg, #060715 0%, #0b1024 44%, #070816 100%) !important;
    color: #f7f8ff !important;
}

/* Colore chiaro per i titoli delle card e del form per garantire il contrasto WCAG */
.store-card h2,
.store-form-title,
.store-form-title span {
    color: #ffffff !important;
}

/* Stile per i bottoni secondari delle card con contrasto elevato su sfondo scuro */
.store-card .btn-secondary {
    background: transparent !important;
    color: #a5b4fc !important;
    border: 2px solid rgba(165, 180, 252, 0.4) !important;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.store-card .btn-secondary:hover {
    background: #667eea !important;
    color: #ffffff !important;
    border-color: #667eea !important;
}
