/* Widget prenotazione degustazioni sulla vetrina */
.amv-dgv-widget {
    border: 1px solid var(--gold-text, #b29d6f);
    padding: 1.5em;
    max-width: 720px;
    margin: 1.5em auto;
}

.amv-dgv-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}

.amv-dgv-field {
    flex: 1 1 200px;
    margin: 0;
}

.amv-dgv-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

.amv-dgv-field input,
.amv-dgv-field select {
    width: 100%;
}

.amv-dgv-field-qty {
    flex: 0 1 120px;
}

.amv-dgv-message.amv-dgv-error {
    color: #b32d2e;
}

.amv-dgv-actions {
    margin: 1em 0 0.5em;
}

.amv-dgv-button {
    display: inline-block;
    background: var(--black-bg-color, #000);
    color: var(--gold-text, #b29d6f);
    padding: 0.9em 1.8em;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Hover esplicito: senza queste regole il tema porta il testo a bianco,
   che sul fondo chiaro dell'hover risulta illeggibile. Selettore con la
   classe del contenitore per avere la meglio sulle regole del tema. */
.amv-dgv-widget a.amv-dgv-button:hover,
.amv-dgv-widget a.amv-dgv-button:focus,
.amv-dgv-widget a.amv-dgv-button:active {
    background: var(--gold-text, #b29d6f);
    color: var(--black-bg-color, #000);
    text-decoration: none;
}

.amv-dgv-note {
    font-size: 0.85em;
    opacity: 0.8;
    margin: 0;
}
