/* Ro Conform for WooCommerce — stiluri minime, moștenesc fonturile și culorile temei. */
/* Spațierea vine din Setări (variabilele sunt puse inline pe .rdc). Pentru ajustări fine:
   Aspect → Personalizare → CSS suplimentar, ex.  .rdc { max-width: 760px; }  */
.rdc { max-width: 680px; margin: 0 auto; padding: var(--rdc-top, 40px) 0 var(--rdc-bottom, 60px); min-height: var(--rdc-min, 0vh); }
.rdc *, .rdc *::before, .rdc *::after { box-sizing: border-box; }

.rdc-steps { display: flex; gap: 8px; list-style: none; margin: 0 0 1.5em; padding: 0; counter-reset: none; flex-wrap: wrap; }
.rdc-steps li { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; opacity: .55; font-size: .95em; }
.rdc-steps li + li::before { content: "›"; opacity: .6; margin-right: 2px; }
.rdc-steps li span { display: inline-flex; align-items: center; justify-content: center; width: 1.7em; height: 1.7em; border-radius: 50%; border: 1px solid currentColor; font-size: .85em; }
.rdc-steps li.is-current { opacity: 1; font-weight: 600; }
.rdc-steps li.is-done { opacity: .8; }

.rdc-intro { margin: 0 0 1.25em; }
.rdc-field { margin: 0 0 1.1em; border: 0; padding: 0; }
.rdc-field label, .rdc-field legend { display: block; font-weight: 600; margin-bottom: .35em; }
.rdc-field abbr { text-decoration: none; border: 0; color: #b32d2e; }
.rdc-field input[type="text"], .rdc-field input[type="email"], .rdc-field textarea { width: 100%; }
.rdc-field small { display: block; margin-top: .3em; opacity: .75; }
.rdc-radio { display: block; font-weight: normal !important; margin: .25em 0; cursor: pointer; }

.rdc-items { width: 100%; margin: 0 0 1.25em; border-collapse: collapse; }
.rdc-items th, .rdc-items td { padding: .55em .5em; text-align: left; border-bottom: 1px solid rgba(0,0,0,.1); vertical-align: middle; }
.rdc-items td label { font-weight: normal; cursor: pointer; }
.rdc-items input[type="number"] { width: 4.5em; }
.rdc-items.is-disabled { opacity: .5; }
.rdc-qty-msg { display: block; margin-top: .3em; font-size: .85em; color: #94660c; }

.rdc-declaration { white-space: pre-wrap; font-family: inherit; overflow: visible; color: inherit; padding: 1em 1.1em; margin: 0 0 1.25em; border: 1px solid rgba(0,0,0,.15); border-left-width: 4px; background: rgba(0,0,0,.025); font-size: .95em; line-height: 1.6; }

.rdc-iban-summary { margin: -.5em 0 1.25em; }
.rdc-field input[name="rdc_iban"] { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .03em; }

.rdc-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 1.5em; }
.rdc-submit, .rdc-secondary { cursor: pointer; }
.rdc-secondary { background: transparent !important; color: inherit !important; border: 1px solid currentColor !important; }

.rdc-notice { padding: .8em 1em; margin: 0 0 1.25em; border-left: 4px solid #dba617; background: #fcf9e8; color: #3d2f02; }
.rdc-error { padding: .8em 1em; margin: 0 0 1.25em; border-left: 4px solid #b32d2e; background: #fcf0f1; color: #5c1214; }
.rdc-success { padding: 1em 1.2em; margin: 0 0 1.5em; border-left: 4px solid #1e7e34; background: #edf7ee; color: #12361a; }
.rdc-success h2 { margin-top: 0; font-size: 1.25em; color: inherit; }

.rdc-thanks { margin-top: 2em; padding-top: 1.5em; border-top: 1px solid rgba(0,0,0,.1); text-align: center; }
.rdc-thanks p { margin: 0 0 1em; }

/* Notificarea privind garanția legală */
.rdc-gl-checkout, .rdc-gl-product { margin: .75em 0; font-size: .95em; }
.rdc-gl-open { text-decoration: underline; cursor: pointer; }
.rdc-gl-dialog { padding: 0; border: 0; border-radius: 6px; width: min(820px, calc(100vw - 24px)); max-height: calc(100vh - 24px); box-shadow: 0 10px 40px rgba(0,0,0,.35); background: #fff; color: #111; overflow: hidden; }
.rdc-gl-dialog[open] { display: flex; flex-direction: column; }
.rdc-gl-dialog::backdrop { background: rgba(0,0,0,.55); }
.rdc-gl-inner { overflow: auto; -webkit-overflow-scrolling: touch; background: #fff; }
.rdc-gl-inner img { display: block; width: 100%; max-width: 794px; height: auto; margin: 0 auto; }
.rdc-gl-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 10px 14px; border-top: 1px solid #e3e3e3; background: #fafafa; }
.rdc-gl-bar a { color: #0e47a1; text-decoration: underline; font-size: 14px; line-height: 1.4; }
.rdc-gl-close { cursor: pointer; font-size: 15px; line-height: 1.2; padding: 9px 22px; border: 0; border-radius: 4px; background: #0e47a1; color: #fff; font-weight: 600; }

.rdc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Butonul public (footer, cont, shortcode) */
a.rdc-button, summary.rdc-button { display: inline-block; padding: .55em 1.1em; border: 1px solid currentColor; border-radius: 4px; text-decoration: none; font-weight: 600; line-height: 1.3; }
a.rdc-button:hover, a.rdc-button:focus, summary.rdc-button:hover, summary.rdc-button:focus { text-decoration: underline; }
a.rdc-link { text-decoration: underline; }
.rdc-footer-bar { text-align: center; padding: 14px 16px; }
.rdc-order-link { margin: 1.5em 0; }

/* Formularul din „Contul meu → comanda” */
.rdc.rdc-account { max-width: none; margin: 2em 0; padding: 0; min-height: 0; text-align: left; }
.rdc-account label, .rdc-account legend, .rdc-account th, .rdc-account td, .rdc-account .rdc-field { text-align: left; }
/* Unele teme stilizează etichetele din „Contul meu” ca flex aliniat la dreapta. */
.rdc .rdc-form label { display: block; justify-content: flex-start; }
.rdc .rdc-items td label { display: inline; }
.rdc-account .rdc-intro { font-size: 1em; }
.rdc-account > h2 { margin-bottom: .6em; }
.rdc-details > summary { list-style: none; cursor: pointer; display: inline-block; }
.rdc-details > summary::-webkit-details-marker { display: none; }
.rdc-details[open] > summary { margin-bottom: 1.25em; }
.rdc-details-body { max-width: 680px; }
.rdc-history { margin: 0 0 1.25em; }
.rdc-history ul { margin: .4em 0 0 1.2em; }

/* Prețul de referință */
.rdc-ref-price { display: block; font-size: .85em; opacity: .8; font-weight: normal; }

/* Verificarea CUI */
.rdc-cui-status { display: block; margin-top: .35em; font-size: .9em; }
.rdc-cui-status.is-ok { color: #1e7e34; }
.rdc-cui-status.is-warn { color: #94660c; }
.rdc-cui-status.is-err { color: #b32d2e; }
.rdc-cui-status.is-busy { opacity: .7; }
.rdc-return { margin-top: .5em; }
.rdc-return .rdc-pickup { margin-top: .75em; }
.rdc-return textarea, .rdc-return input[type="tel"] { width: 100%; max-width: 32em; }
.rdc-hint { margin: 0 0 .5em; }
.rdc-return-summary { padding: .8em 1em; background: rgba(0,0,0,.03); border-left: 4px solid #2271b1; }
