/* bercov.ro — formularul de comandă WooCommerce (în fereastră și pe /finalizare-comanda/), pagina /cos/ și confirmarea.
   Culorile și fonturile Bercov: Ink #16151d, Coral #ff5436, Amber #ffb020, Cloud #f5f5f8, Slate #6b6b7b; Poppins + Inter. */

body.woocommerce-checkout, body.woocommerce-cart { background: #f5f5f8; }
.woocommerce-checkout .woocommerce, .woocommerce-cart .woocommerce { box-sizing: border-box; max-width: 640px !important; margin-left: auto !important; margin-right: auto !important; padding: 0 0 48px; font-family: var(--wp--preset--font-family--inter, Inter, sans-serif); font-size: 16px; color: #16151d; }
.woocommerce-checkout .woocommerce *, .woocommerce-cart .woocommerce * { box-sizing: border-box; }
.bercov-dot { color: #ff5436; }

/* ---------- în fereastră: doar formularul, pe alb (placa albă a ferestrei) ---------- */
html:has(body.bercov-modal-mode) { background: #fff; }
body.bercov-modal-mode { margin: 0; min-height: 100vh; background: #fff; }
body.bercov-modal-mode .bercov-co-frame { padding: 34px 40px 40px; }
body.bercov-modal-mode .woocommerce { max-width: 560px !important; margin: 0 !important; padding: 0; }
body.bercov-modal-mode .bercov-co-intro { padding-right: 56px; } /* butonul × al ferestrei */
@media (max-width: 600px) {
	body.bercov-modal-mode .bercov-co-frame { padding: 26px 20px 32px; }
	body.bercov-modal-mode .bercov-co-intro { padding-right: 0; }
}
/* pagina /finalizare-comanda/ (fără fereastră): același formular, pe o placă albă */
body.woocommerce-checkout:not(.bercov-modal-mode) form.checkout, body.woocommerce-checkout:not(.bercov-modal-mode) .woocommerce-order { padding: 36px 40px; background: #fff; border-radius: 28px; }
@media (max-width: 600px) { body.woocommerce-checkout:not(.bercov-modal-mode) form.checkout, body.woocommerce-checkout:not(.bercov-modal-mode) .woocommerce-order { padding: 26px 18px; border-radius: 22px; } }

/* ---------- titlul ---------- */
.bercov-co-intro { margin: 0 0 26px; }
.bercov-co-eyebrow { display: block; margin: 0 0 10px; font-family: var(--wp--preset--font-family--poppins, Poppins, sans-serif); font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #ff5436; }
.bercov-co-intro h2 { margin: 0 0 8px; font-family: var(--wp--preset--font-family--poppins, Poppins, sans-serif); font-size: clamp(24px, 3vw, 30px); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; color: #16151d; }
.bercov-co-intro p { margin: 0; font-size: 15px; line-height: 1.5; color: #6b6b7b; }

/* ---------- câmpurile ---------- */
.woocommerce-checkout .col2-set { display: block; width: 100%; }
.woocommerce-checkout .col2-set::before, .woocommerce-checkout .col2-set::after { content: none; }
.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 { float: none; width: 100%; max-width: none; padding: 0; }
.woocommerce-checkout .woocommerce-billing-fields > h3 { display: none; } /* titlul e deja sus */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper { display: flex; flex-wrap: wrap; gap: 0 14px; }
.woocommerce form .form-row { flex: 1 1 100%; margin: 0 0 16px; padding: 0; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { flex: 1 1 calc(50% - 7px); width: auto; float: none; }
/* etichete mici, majuscule, spațiate; câmpuri „moi” pe Cloud, albe cu contur coral la focus (ca pe ababi, în culorile Bercov) */
.woocommerce form .form-row label { display: block; margin: 0 0 7px; font-family: var(--wp--preset--font-family--poppins, Poppins, sans-serif); font-size: 11px; font-weight: 600; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; color: #16151d; }
.woocommerce form .form-row label .optional { font-family: var(--wp--preset--font-family--inter, Inter, sans-serif); font-weight: 400; letter-spacing: 0; text-transform: none; color: #6b6b7b; }
.woocommerce form .form-row .required { color: #ff5436; text-decoration: none; border: 0; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row select, .woocommerce form .form-row textarea,
.woocommerce .select2-container .select2-selection--single { display: block; width: 100%; min-height: 52px; margin: 0; padding: 12px 16px; font: 16px/1.4 var(--wp--preset--font-family--inter, Inter, sans-serif); color: #16151d; background: #f5f5f8; border: 1px solid transparent; border-radius: 14px; box-shadow: none; transition: border-color .2s, background .2s, box-shadow .2s; }
.woocommerce .select2-container .select2-selection--single { padding: 0; }
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered { line-height: 50px; padding: 0 40px 0 16px; color: #16151d; }
.woocommerce .select2-container .select2-selection--single .select2-selection__arrow { height: 50px; right: 8px; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row select:focus, .woocommerce .select2-container--focus .select2-selection--single, .woocommerce .select2-container--open .select2-selection--single { outline: 0; background: #fff; border-color: #ff5436; box-shadow: 0 0 0 3px rgba(255,84,54,.14); }
/* erorile: contur roșu subțire, eticheta rămâne Ink, mesajul mic sub câmp */
.woocommerce form .form-row.woocommerce-invalid input.input-text, .woocommerce form .form-row.woocommerce-invalid .select2-selection { border-color: #d64b3c; background: #fff; }
.woocommerce form .form-row.woocommerce-invalid label { color: #16151d; }
.woocommerce form .form-row .checkout-inline-error-message, .woocommerce form .form-row .woocommerce-error[role="alert"] { margin: 6px 0 0; padding: 0; background: none; border: 0; font-size: 12.5px; line-height: 1.4; color: #b3261e; }
.woocommerce form .form-row.woocommerce-validated input.input-text, .woocommerce form .form-row.woocommerce-validated select, .woocommerce form .form-row.woocommerce-validated .select2-selection { border-color: transparent; }
.woocommerce form .form-row.woocommerce-validated input.input-text:focus { border-color: #ff5436; }
.woocommerce form .form-row .description { display: block; margin: 6px 0 0; padding: 0; background: none; color: #6b6b7b; font-size: 13px; }
.woocommerce form .form-row .description::before { content: none; }
.woocommerce form .form-row ::placeholder { color: #a9a9b6; }

/* „Vreau factură pe firmă”: comutator; câmpurile firmei apar doar când e bifat (fără JS rămân vizibile) */
#bercov_firma_field { margin: 4px 0 18px; }
#bercov_firma_field .optional { display: none; }
#bercov_firma_field label.checkbox { display: flex; align-items: center; gap: 12px; margin: 0; padding: 14px 16px; background: #f5f5f8; border: 1px solid transparent; border-radius: 14px; font-family: var(--wp--preset--font-family--poppins, Poppins, sans-serif); font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; cursor: pointer; }
#bercov_firma_field input[type="checkbox"] { -webkit-appearance: none; appearance: none; flex: none; position: relative; width: 42px; height: 24px; margin: 0; border-radius: 999px; background: #d9d9e1; cursor: pointer; transition: background .15s; }
#bercov_firma_field input[type="checkbox"]::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .15s; }
#bercov_firma_field input[type="checkbox"]:checked { background: #ff5436; }
#bercov_firma_field input[type="checkbox"]:checked::after { transform: translateX(18px); }
#bercov_firma_field input[type="checkbox"]:focus-visible { outline: 2px solid #16151d; outline-offset: 2px; }
.bercov-firma-js:not(.is-firma) .bercov-firma-camp { display: none !important; }
/* obligatorii doar pentru factura pe firmă (validarea din inc/cos.php): fără „(opțional)”, cu steluță; Nr. Reg. Com. rămâne opțional */
.bercov-firma-camp:not(#smartbill_billing_nr_reg_com_field) label .optional { display: none; }
.bercov-firma-camp:not(#smartbill_billing_nr_reg_com_field):not(#billing_country_field) > label::after { content: "*"; color: #ff5436; }
.bercov-firma-js.is-firma .bercov-firma-camp { animation: bercov-co-in .2s ease; }
@keyframes bercov-co-in { from { opacity: 0; transform: translateY(-4px); } }

/* etichetele bifelor rămân text normal (nu majuscule mici ca etichetele câmpurilor) */
.woocommerce form .form-row label.checkbox, .woocommerce form .form-row label.woocommerce-form__label-for-checkbox { font-family: var(--wp--preset--font-family--inter, Inter, sans-serif); font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; }
/* bifele (termenii, „Salvează aceste date”): căsuță 18 px Ink cu bifă albă (ca pe ababi) */
.woocommerce-checkout form.checkout input[type="checkbox"]:not(#bercov_firma) { -webkit-appearance: none; appearance: none; flex: 0 0 18px; width: 18px; height: 18px; margin: 2px 0 0; padding: 0; border: 1.5px solid #16151d; border-radius: 5px; background: #fff center / 12px no-repeat; cursor: pointer; }
.woocommerce-checkout form.checkout input[type="checkbox"]:not(#bercov_firma):checked { background-color: #16151d; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.woocommerce-checkout form.checkout input[type="checkbox"]:not(#bercov_firma):focus-visible { outline: 2px solid #ff5436; outline-offset: 2px; }
.woocommerce-checkout .woocommerce-invalid input[type="checkbox"] { border-color: #d64b3c; }
.woocommerce form .form-row.bercov-salveaza { margin: 2px 0 18px; }
.woocommerce form .form-row.bercov-salveaza label.checkbox { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-family: var(--wp--preset--font-family--inter, Inter, sans-serif); font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; color: #16151d; cursor: pointer; }
.bercov-salveaza small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; line-height: 1.45; color: #6b6b7b; }

/* ---------- plata, termenii, butonul ---------- */
.woocommerce-checkout #order_review_heading { margin: 30px 0 12px; font-family: var(--wp--preset--font-family--poppins, Poppins, sans-serif); font-size: 18px; font-weight: 700; }
/* în fereastră, rezumatul = o casetă Cloud: produsul + prețul, apoi „Total” (ca „Rezumatul rezervării” pe ababi) */
body.bercov-modal-mode .woocommerce table.shop_table.woocommerce-checkout-review-order-table { display: block; margin: 0 0 6px; padding: 16px 20px 18px; background: #f5f5f8; border: 0; border-radius: 20px; }
body.bercov-modal-mode .woocommerce table.shop_table.woocommerce-checkout-review-order-table :is(thead, .cart-subtotal, .product-quantity) { display: none; }
body.bercov-modal-mode .woocommerce table.shop_table.woocommerce-checkout-review-order-table :is(tbody, tfoot) { display: block; }
body.bercov-modal-mode .woocommerce table.shop_table.woocommerce-checkout-review-order-table tr { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
body.bercov-modal-mode .woocommerce table.shop_table.woocommerce-checkout-review-order-table :is(th, td) { display: block; padding: 0; border: 0; background: none; font-size: 15px; font-weight: 400; }
body.bercov-modal-mode .woocommerce table.shop_table.woocommerce-checkout-review-order-table td.product-total { white-space: nowrap; }
body.bercov-modal-mode .woocommerce table.shop_table.woocommerce-checkout-review-order-table tr.order-total { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(22,21,29,.1); }
body.bercov-modal-mode .woocommerce table.shop_table.woocommerce-checkout-review-order-table tr.order-total th { font-family: var(--wp--preset--font-family--poppins, Poppins, sans-serif); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #6b6b7b; }
body.bercov-modal-mode .woocommerce table.shop_table.woocommerce-checkout-review-order-table tr.order-total td { font-family: var(--wp--preset--font-family--poppins, Poppins, sans-serif); font-size: 20px; font-weight: 700; }
.woocommerce table.shop_table { width: 100%; margin: 0 0 20px; border: 1px solid rgba(22,21,29,.08); border-radius: 16px; border-collapse: separate; border-spacing: 0; background: #fff; overflow: hidden; font-size: 15px; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 12px 16px; border-top: 1px solid rgba(22,21,29,.06); font-weight: 400; }
.woocommerce table.shop_table thead th { border-top: 0; font-family: var(--wp--preset--font-family--poppins, Poppins, sans-serif); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #6b6b7b; }
.woocommerce table.shop_table .order-total th, .woocommerce table.shop_table .order-total td { font-family: var(--wp--preset--font-family--poppins, Poppins, sans-serif); font-size: 18px; font-weight: 700; }
.woocommerce-checkout #payment { margin-top: 8px; background: transparent; border-radius: 0; }
.woocommerce-checkout #payment ul.payment_methods { margin: 0 0 18px; padding: 0; border: 0; list-style: none; }
.woocommerce-checkout #payment ul.payment_methods li { margin: 0 0 10px; padding: 14px 16px; background: #fff; border: 1px solid rgba(255,84,54,.4); border-radius: 14px; line-height: 1.4; }
.woocommerce-checkout #payment ul.payment_methods li label { font-family: var(--wp--preset--font-family--poppins, Poppins, sans-serif); font-size: 14px; font-weight: 600; cursor: pointer; }
.woocommerce-checkout #payment ul.payment_methods li input { margin: 0 8px 0 0; accent-color: #ff5436; }
.woocommerce-checkout #payment div.payment_box { margin: 10px 0 0; padding: 10px 12px; background: #f5f5f8; border-radius: 10px; color: #6b6b7b; font-size: 13.5px; }
.woocommerce-checkout #payment div.payment_box::before { content: none; }
.woocommerce-checkout #payment div.payment_box p { margin: 0; }
.woocommerce-checkout #payment div.form-row { margin: 0; padding: 0; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { margin: 0 0 18px; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .form-row { margin: 0; }
.woocommerce-checkout .woocommerce form .woocommerce-terms-and-conditions-wrapper .form-row label.checkbox { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-family: var(--wp--preset--font-family--inter, Inter, sans-serif); font-size: 14px; font-weight: 400; line-height: 1.5; color: #16151d; cursor: pointer; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper input[type="checkbox"] { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: #ff5436; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a { color: #16151d; text-decoration: underline; text-decoration-color: #ff5436; text-underline-offset: 3px; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper abbr.required { display: none; } /* bifa e oricum cerută; steluța ieșea la capătul rândului */
.woocommerce-checkout .woocommerce-privacy-policy-text { display: none; }
body .woocommerce #payment #place_order, body .woocommerce a.button, body .woocommerce button.button, body .woocommerce .wc-proceed-to-checkout a.checkout-button { display: inline-flex; align-items: center; justify-content: center; width: auto; min-height: 0; margin: 0; padding: 14px 26px; font-family: var(--wp--preset--font-family--poppins, Poppins, sans-serif); font-size: 14px; font-weight: 600; line-height: 1.2; letter-spacing: .05em; text-transform: uppercase; color: #fff; background: #ff5436; border: 0; border-radius: 999px; box-shadow: none; text-decoration: none; cursor: pointer; transition: background .15s; }
body .woocommerce #payment #place_order::after, body .woocommerce .bercov-done .bercov-btn::after, body .woocommerce .wc-proceed-to-checkout a.checkout-button::after { content: "."; content: "." / ""; font-weight: 800; margin-left: 1px; color: #16151d; }
body .woocommerce #payment #place_order { float: none; width: 100%; min-height: 58px; padding: 18px 24px; font-size: 15px; box-shadow: 0 12px 30px rgba(255,84,54,.28); transition: background .15s, transform .15s; }
body .woocommerce #payment #place_order:hover { transform: translateY(-1px); }
body .woocommerce #payment #place_order:hover, body .woocommerce a.button:hover, body .woocommerce button.button:hover { background: #ff6c52; color: #fff; }
body .woocommerce button.button:disabled, body .woocommerce button.button:disabled[disabled] { opacity: .5; padding: 14px 26px; color: #fff; background: #ff5436; }
.bercov-co-safe { margin: 12px 0 0; text-align: center; font-size: 12.5px; color: #6b6b7b; }

/* mesajele WooCommerce: vizibile, dar nu stridente — casetă roz deschis cu bandă roșie (ca pe ababi) */
.woocommerce-checkout .woocommerce-NoticeGroup, .woocommerce .woocommerce-notices-wrapper { margin: 0; }
.woocommerce .woocommerce-error, .woocommerce .woocommerce-info, .woocommerce .woocommerce-message { margin: 0 0 20px; padding: 14px 18px 14px 18px; list-style: none; background: #fff; border: 1px solid #d9d9e1; border-left: 4px solid #6b6b7b; border-radius: 12px; font-size: 14px; color: #16151d; }
.woocommerce .woocommerce-error { background: #fff4f2; border-color: #f6d3cd; border-left-color: #d64b3c; }
.woocommerce .woocommerce-message { border-left-color: #ff5436; }
.woocommerce .woocommerce-error::before, .woocommerce .woocommerce-info::before, .woocommerce .woocommerce-message::before { content: none; }
.woocommerce .woocommerce-error li { margin: 0 0 4px; }
.woocommerce .woocommerce-error a, .woocommerce .woocommerce-info a { color: #16151d; }
.woocommerce-form-coupon-toggle .woocommerce-info { border-left-color: #ffb020; }
/* WooCommerce 11 pe temă de blocuri: mesajele vin ca „notice banner” */
.woocommerce .wc-block-components-notice-banner { margin: 0 0 20px; padding: 14px 16px; background: #fff; border: 1px solid #d9d9e1; border-left: 4px solid #6b6b7b; border-radius: 12px; font-size: 14px; color: #16151d; }
.woocommerce .wc-block-components-notice-banner > svg { background-color: #6b6b7b; }
.woocommerce .wc-block-components-notice-banner.is-info { border-left-color: #ffb020; } .woocommerce .wc-block-components-notice-banner.is-info > svg { background-color: #ffb020; }
.woocommerce .wc-block-components-notice-banner.is-error { border-color: #f6d3cd; border-left-color: #d64b3c; background: #fff4f2; } .woocommerce .wc-block-components-notice-banner.is-error > svg { background-color: #d64b3c; }
.woocommerce .wc-block-components-notice-banner.is-error ul { margin: 6px 0 0; padding-left: 18px; }
.woocommerce .wc-block-components-notice-banner.is-error li a, .woocommerce .woocommerce-error li a { color: #16151d; font-weight: 400; text-decoration: none; }
.woocommerce .wc-block-components-notice-banner.is-error li a strong, .woocommerce .woocommerce-error li a strong { font-weight: 600; }
.woocommerce .wc-block-components-notice-banner.is-success { border-left-color: #ff5436; } .woocommerce .wc-block-components-notice-banner.is-success > svg { background-color: #ff5436; }
.woocommerce .wc-block-components-notice-banner a { color: #16151d; text-decoration-color: #ff5436; }
.woocommerce form.checkout_coupon { margin: 0 0 20px; padding: 16px; border: 1px solid #d9d9e1; border-radius: 14px; background: #fff; }
.woocommerce form.checkout_coupon .form-row-first { flex: 1; }

/* ---------- confirmarea ---------- */
.bercov-done { max-width: 520px; margin: 0 auto; }
.bercov-done__head { text-align: center; }  /* confirmarea centrată, cu bifa animată (ca pe ababi) */
.bercov-done__check { display: block; width: 76px; height: 76px; margin: 6px auto 18px; }
.bercov-done__check circle { stroke: #ff5436; stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151; animation: bercov-done-draw .6s ease forwards; }
.bercov-done__check path { stroke: #16151d; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 36; stroke-dashoffset: 36; animation: bercov-done-draw .35s .5s ease forwards; }
@keyframes bercov-done-draw { to { stroke-dashoffset: 0; } }
.bercov-done__title { margin: 0 0 10px; font-family: var(--wp--preset--font-family--poppins, Poppins, sans-serif); font-size: clamp(28px, 4vw, 36px); font-weight: 800; line-height: 1.1; letter-spacing: -.01em; color: #16151d; }
.bercov-done__lead { margin: 0 0 24px; font-size: 16px; line-height: 1.55; color: #6b6b7b; overflow-wrap: anywhere; }
.bercov-done__items { list-style: none; margin: 0 0 16px; padding: 4px 20px; background: #f5f5f8; border: 0; border-radius: 20px; }
.bercov-done__items li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; font-size: 15px; }
.bercov-done__items li + li { border-top: 1px solid rgba(22,21,29,.06); }
.bercov-done__items li span:last-child { white-space: nowrap; }
.bercov-done__total { font-family: var(--wp--preset--font-family--poppins, Poppins, sans-serif); font-size: 18px !important; font-weight: 700; }
.bercov-done__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 26px; }
.bercov-done__meta div { padding: 12px 16px; background: #f5f5f8; border: 0; border-radius: 14px; min-width: 0; }
.bercov-done__meta dt { font-family: var(--wp--preset--font-family--poppins, Poppins, sans-serif); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #6b6b7b; }
.bercov-done__meta dd { margin: 4px 0 0; font-size: 14.5px; overflow-wrap: anywhere; }
.bercov-done__h { margin: 0 0 12px; font-family: var(--wp--preset--font-family--poppins, Poppins, sans-serif); font-size: 18px; font-weight: 700; }
.bercov-done__next { list-style: none; counter-reset: pas; margin: 0 0 28px; padding: 0; }
.bercov-done__next li { position: relative; counter-increment: pas; padding: 0 0 14px 44px; font-size: 15px; line-height: 1.5; color: #6b6b7b; }
.bercov-done__next li::before { content: counter(pas); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #16151d; color: #fff; font-family: var(--wp--preset--font-family--poppins, Poppins, sans-serif); font-size: 13px; font-weight: 700; }
.bercov-done__next li:first-child::before { background: #ff5436; }
.bercov-done__next strong { display: block; font-family: var(--wp--preset--font-family--poppins, Poppins, sans-serif); font-weight: 600; color: #16151d; }
.bercov-done__actions { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.bercov-done__actions .bercov-btn { min-width: 220px; min-height: 54px; justify-content: center; }
.bercov-done .bercov-btn { border: 0; cursor: pointer; }
.bercov-done__link { font-size: 14px; color: #6b6b7b; text-decoration: underline; text-underline-offset: 3px; }
.bercov-done__link:hover { color: #ff5436; }
@media (max-width: 600px) {
	.bercov-done__meta { grid-template-columns: 1fr; }
	.bercov-done__actions .bercov-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
	.bercov-done__check circle, .bercov-done__check path { animation: none; stroke-dashoffset: 0; }
}

/* ---------- pagina /cos/ (varianta fără JS) ---------- */
.woocommerce-cart .wp-block-post-title { max-width: 640px; margin: 40px auto 24px; font-size: clamp(30px, 4vw, 40px); }
.woocommerce-cart table.cart img { width: 56px; height: auto; border-radius: 12px; background: #ff5436; }
.woocommerce-cart table.cart td.actions { padding: 14px 16px; }
.woocommerce-cart table.cart td.actions .coupon { display: flex; gap: 8px; }
.woocommerce-cart table.cart td.actions .coupon .input-text { width: 160px; min-height: 46px; padding: 0 14px; border: 1px solid #d9d9e1; border-radius: 12px; }
.woocommerce-cart table.cart td.actions > .button { display: none; } /* „Actualizează coșul”: cantitatea e mereu 1 */
.woocommerce-cart table.cart a.remove { color: #6b6b7b !important; font-size: 22px; }
.woocommerce-cart table.cart a.remove:hover { background: #f5f5f8; color: #ff5436 !important; }
.woocommerce-cart .cart-collaterals .cart_totals { float: none; width: 100%; }
.woocommerce-cart .cart-collaterals .cart_totals h2 { font-size: 18px; margin: 10px 0 12px; }
.woocommerce-cart .wc-proceed-to-checkout { padding: 0; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { width: 100%; padding: 18px 24px; font-size: 15px; }
.woocommerce-cart .cart-empty { font-family: var(--wp--preset--font-family--poppins, Poppins, sans-serif); font-size: 22px; font-weight: 700; }
@media (max-width: 768px) {
	.woocommerce-cart .woocommerce { padding: 0 16px 48px; }
	.woocommerce-checkout:not(.bercov-modal-mode) .woocommerce { padding: 0 16px 48px; }
}

/* Andrei 26.11: butoane mai mici, text subțire (Poppins 300) — coș, checkout, confirmare */
body .woocommerce #payment #place_order, body .woocommerce a.button, body .woocommerce button.button, body .woocommerce .wc-proceed-to-checkout a.checkout-button, .bercov-done .bercov-btn { padding: 11px 22px; font-size: 13px; font-weight: 300; letter-spacing: .08em; }
body .woocommerce #payment #place_order { min-height: 46px; padding: 12px 22px; font-size: 13.5px; box-shadow: 0 8px 20px rgba(255,84,54,.22); }
body .woocommerce button.button:disabled, body .woocommerce button.button:disabled[disabled] { padding: 11px 22px; }
body .woocommerce #payment #place_order::after, body .woocommerce .bercov-done .bercov-btn::after, body .woocommerce .wc-proceed-to-checkout a.checkout-button::after { font-weight: 400; }
.bercov-done__actions .bercov-btn { min-width: 190px; min-height: 44px; }
