/* Diandco Recesso: stile minimo, eredita caratteri e colori dal tema. */
.dcr { max-width: 640px; }
.dcr-modulo { display: grid; gap: 1rem; }
.dcr-modulo p { margin: 0; }
.dcr-campo { display: grid; gap: .35rem; }
.dcr-campo label, .dcr-prodotti legend { font-weight: 600; }
.dcr-campo label span { font-weight: 400; opacity: .75; }
.dcr-campo input, .dcr-campo textarea, .dcr-prodotto select {
	width: 100%; box-sizing: border-box; padding: .7rem .8rem; font: inherit;
	border: 1px solid currentColor; border-radius: 4px; background: transparent; color: inherit;
}
.dcr-prodotti { border: 1px solid rgba(0, 0, 0, .15); border-radius: 6px; padding: 1rem; margin: 0; display: grid; gap: .75rem; }
.dcr-prodotto { display: grid; grid-template-columns: 1fr 9.5rem; gap: .75rem; align-items: center; }
.dcr-titolo { margin: 0; }
.dcr-nota { font-size: .9em; opacity: .8; }
.dcr-errore { padding: .8rem 1rem; border: 1px solid rgba(179, 38, 30, .45); border-radius: 6px; background: rgba(179, 38, 30, .06); margin: 0 0 1rem; }
.dcr-fatto { padding: 1.25rem; border: 1px solid rgba(46, 125, 50, .35); border-radius: 6px; background: rgba(46, 125, 50, .05); }
.dcr-fatto .dcr-riepilogo { margin: 1rem 0; }
.dcr-riepilogo th, .dcr-riepilogo td { border-bottom: 1px solid rgba(0, 0, 0, .1); }
.dcr-trappola { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dcr-conferma { font-weight: 700; }

.dcr-avviso { margin: 0 auto; max-width: 720px; }
.dcr-avviso img { width: 100%; height: auto; display: block; box-shadow: 0 1px 6px rgba(0, 0, 0, .15); }
.dcr-avviso figcaption { margin-top: .5rem; text-align: center; font-size: .9em; }
.dcr-avviso-testo { max-width: 720px; margin: 1.5rem auto 0; }
.dcr-avviso-testo summary { cursor: pointer; font-weight: 600; }

.dcr-garanzia { display: flex; gap: .75rem; align-items: center; margin: 1rem 0 0; padding: .75rem 1rem; font-size: .9em; line-height: 1.45; border: 1px solid #0b4ea2; border-radius: 6px; }
.dcr-garanzia a { white-space: nowrap; }
.dcr-garanzia__scudo { flex: 0 0 auto; width: 30px; height: 36px; background: #0b4ea2; border-radius: 0 0 15px 15px; position: relative; }
.dcr-garanzia__scudo::after { content: "★"; color: #ffde00; position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; }

@media (max-width: 600px) {
	.dcr-prodotto { grid-template-columns: 1fr; gap: .35rem; }
	.dcr-riepilogo, .dcr-riepilogo tbody, .dcr-riepilogo tr, .dcr-riepilogo th, .dcr-riepilogo td { display: block; width: auto; }
	.dcr-riepilogo th { padding: .6rem 0 0 !important; border-bottom: 0; white-space: normal !important; }
	.dcr-riepilogo td { padding: 0 0 .6rem !important; overflow-wrap: anywhere; }
}
