.amb-grila { margin: 1em 0 1.5em; }
.amb-grila__titlu { font-weight: 600; margin: 0 0 .4em; }
.amb-grila__tabel { width: 100%; border-collapse: collapse; font-size: .92em; }
.amb-grila__tabel th,
.amb-grila__tabel td { padding: .45em .6em; border-bottom: 1px solid #e5e5e5; text-align: left; }
.amb-grila__tabel th { background: #f6f6f6; font-weight: 600; }
.amb-grila__tabel tr.amb-activ td { background: #eaf6ea; font-weight: 600; }
.amb-grila__total { margin: .5em 0 0; font-weight: 600; min-height: 1.4em; }
.amb-cantitate-info { font-size: .9em; color: #555; margin: .3em 0 .8em; }
.amb-tip-facturare label.radio,
.amb-tip-facturare input[type="radio"] { display: inline; margin-right: .4em; }
.amb-tip-facturare label.radio { margin-right: 1.5em; font-weight: normal; }
.amb-anaf-stare { display: block; font-size: .88em; margin-top: .3em; }
.amb-anaf-stare.amb-ok { color: #2e7d32; }
.amb-anaf-stare.amb-eroare { color: #c62828; }
@media (max-width: 480px) {
	.amb-grila__tabel th:nth-child(3),
	.amb-grila__tabel td:nth-child(3) { display: none; }
}

/* Formularul de contact */
.amb-contact { max-width: 640px; }
.amb-contact label { display: block; font-weight: 600; margin-bottom: .25em; }
.amb-contact input[type=text], .amb-contact input[type=email], .amb-contact input[type=tel], .amb-contact textarea { width: 100%; box-sizing: border-box; }
.amb-contact .amb-contact-acord { font-weight: normal; }
.amb-contact .amb-contact-acord input { margin-right: .4em; }
.amb-contact-err { display: block; color: #b32d2e; font-size: .9em; margin-top: .2em; }
.amb-contact-eroare { background: #fcf0f1; border-left: 4px solid #b32d2e; padding: .6em .9em; margin-bottom: 1em; }
.amb-contact-ok { background: #edfaef; border-left: 4px solid #00a32a; padding: .8em 1em; }
.amb-contact-capcana { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Formularul de retragere din contract (includes/retragere.php): câte două câmpuri pe rând de la 1024 px. */
.amb-retragere { max-width: 820px; }
.amb-retragere input[type=date], .amb-retragere select { width: 100%; box-sizing: border-box; }
.amb-retragere-grila { display: grid; grid-template-columns: 1fr; column-gap: 20px; }
@media (min-width: 1024px) { .amb-retragere-grila { grid-template-columns: 1fr 1fr; } }
.amb-retragere-camp[hidden] { display: none; }
.amb-retragere-subsol { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: .5em; }
.amb-retragere-subsol span { font-size: .9em; color: #6B6259; }
.amb-retragere .button.amb-retragere-inapoi { background: transparent !important; color: #9A5B22 !important; border: 2px solid #9A5B22 !important; }
.amb-retragere .button.amb-retragere-inapoi:hover { background: #9A5B22 !important; color: #fff !important; }
.amb-retragere-rezumat { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 1em; }
.amb-retragere-rezumat dt { font-weight: 600; }
.amb-retragere-rezumat dd { margin: 0; overflow-wrap: anywhere; }

/* Garanția legală: banda compactă (partea de sus a notificării oficiale), cu link spre pagina completă. */
.amb-garantie-banda { margin: 12px 0 4px; }
.amb-garantie-banda a { display: inline-block; text-decoration: none; color: inherit; }
.amb-garantie-banda span.amb-garantie-imagine { display: block; width: 100%; max-width: 260px; height: 50px; overflow: hidden; border: 1px solid #e5e7eb; border-radius: 4px; }
.amb-garantie-banda img { width: 260px; max-width: none; height: auto; display: block; }
.amb-garantie-banda span.amb-garantie-text { display: block; margin-top: 4px; font-size: 12px; text-decoration: underline; }
.amb-garantie-notificare img { width: 100%; max-width: 720px; height: auto; }
/* Banda garanției sub butonul Plasează comanda (21.11.2026) */
.place-order .amb-garantie-banda { margin: 16px 0 0; }
