/*
 * Florela: pagamento, minha conta e pedido recebido do WooCommerce com o visual do site.
 * Usa os tokens do site (/assets/main.css): rosé #a97868, pêssego #e2a696, vinho #7b1e3d, preto e branco,
 * Fraunces nos títulos, Outfit no texto, Sofia nos destaques.
 */

/* ---------- base da página ---------- */
body.florela-wc { background: #fff; }
.florela-wc .fl-shell { padding-block: var(--s-7) var(--s-9); min-height: 60vh; }
.florela-wc .fl-head { display: grid; justify-items: center; gap: var(--s-3); text-align: center; margin-bottom: var(--s-7); }
.florela-wc .fl-title { font-size: var(--fs-2xl); }
.florela-wc .fl-sub { color: var(--muted); max-width: 52ch; }
.florela-wc .fl-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2) var(--s-5); margin: 0 0 var(--s-2); padding: 0; list-style: none; font-family: var(--font-ui); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.florela-wc .fl-steps li { display: inline-flex; align-items: center; gap: var(--s-2); }
.florela-wc .fl-steps li + li::before { content: ''; width: 28px; height: 1px; background: var(--blush-300); margin-right: var(--s-3); }
.florela-wc .fl-steps span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--blush-300); font-size: 11px; letter-spacing: 0; }
.florela-wc .fl-steps .is-done { color: var(--rose-ink); }
.florela-wc .fl-steps .is-done span { background: var(--blush-100); border-color: var(--blush-100); }
.florela-wc .fl-steps .is-on { color: var(--ink); }
.florela-wc .fl-steps .is-on span { background: var(--ink); border-color: var(--ink); color: #fff; }
.florela-wc .fl-steps a:hover { color: var(--rose); }

.florela-wc .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.florela-wc .fl-body a:not(.button):not(.btn) { color: var(--rose-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.florela-wc .fl-body a:not(.button):not(.btn):hover { color: var(--wine); }
.florela-wc .fl-body h2,
.florela-wc .fl-body h3 { font-family: var(--font-display); font-weight: 300; font-size: var(--fs-lg); letter-spacing: -0.01em; color: var(--ink); margin: 0 0 var(--s-4); }
.florela-wc .fl-body p { margin: 0 0 var(--s-3); }
.florela-wc .fl-body .clear { clear: both; }
.florela-wc .fl-body mark { background: none; color: var(--ink); font-weight: 600; }

/* ---------- botões ---------- */
.florela-wc .fl-body .button,
.florela-wc .fl-body button[type='submit'],
.florela-wc #place_order {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-6); border: 0; border-radius: var(--r-pill);
  background: var(--ink); color: #fff; cursor: pointer;
  font-family: var(--font-ui); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  transition: background-color var(--duration-fast) var(--ease-smooth-out), transform var(--duration-quick) var(--ease-smooth-out);
}
.florela-wc .fl-body .button:hover,
.florela-wc .fl-body button[type='submit']:hover,
.florela-wc #place_order:hover { background: var(--rose); color: #fff; }
.florela-wc .fl-body .button:active,
.florela-wc #place_order:active { transform: scale(0.98); }
.florela-wc .fl-body .button:disabled,
.florela-wc .fl-body .button.disabled { opacity: 0.5; cursor: not-allowed; }
.florela-wc #place_order { width: 100%; min-height: 56px; font-size: var(--fs-sm); }

/* ---------- campos ---------- */
.florela-wc .form-row { margin: 0; display: grid; gap: 6px; }
.florela-wc .form-row label,
.florela-wc .fl-body label { font-family: var(--font-ui); font-size: var(--fs-sm); font-weight: 500; color: var(--ink); }
.florela-wc .form-row .required { color: var(--rose); text-decoration: none; border: 0; font-weight: 600; }
.florela-wc .form-row .optional { color: var(--muted); font-weight: 400; font-size: var(--fs-xs); }
.florela-wc .woocommerce-input-wrapper { display: block; }
.florela-wc .fl-body input.input-text,
.florela-wc .fl-body input[type='text'],
.florela-wc .fl-body input[type='email'],
.florela-wc .fl-body input[type='tel'],
.florela-wc .fl-body input[type='password'],
.florela-wc .fl-body input[type='number'],
.florela-wc .fl-body select,
.florela-wc .fl-body textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  border: 1px solid var(--blush-300); border-radius: var(--r-md); background: #fff; color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.4;
  transition: border-color var(--duration-fast) var(--ease-smooth-out), box-shadow var(--duration-fast) var(--ease-smooth-out);
}
.florela-wc .fl-body textarea { min-height: 96px; resize: vertical; }
.florela-wc .fl-body select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238a5a4b' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.florela-wc .fl-body input:focus,
.florela-wc .fl-body select:focus,
.florela-wc .fl-body textarea:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px var(--blush-100); }
.florela-wc .fl-body ::placeholder { color: #a8958e; }
.florela-wc .woocommerce-invalid input.input-text,
.florela-wc .woocommerce-invalid select,
.florela-wc .woocommerce-invalid .select2-selection { border-color: var(--error) !important; }
.florela-wc .woocommerce-validated input.input-text { border-color: var(--blush-300); }
.florela-wc .fl-body input[type='checkbox'],
.florela-wc .fl-body input[type='radio'] { accent-color: var(--rose); width: 18px; height: 18px; margin: 0; flex: none; }
.florela-wc .woocommerce-form__label-for-checkbox,
.florela-wc .woocommerce-form__label-checkbox { display: inline-flex !important; align-items: center; gap: var(--s-2); cursor: pointer; }

/* select2 (país, estado) com a mesma cara dos campos */
.florela-wc .select2-container { width: 100% !important; }
.florela-wc .select2-container--default .select2-selection--single { height: 48px; border: 1px solid var(--blush-300); border-radius: var(--r-md); background: #fff; }
.florela-wc .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 46px; padding-left: 14px; color: var(--ink); font-size: 16px; }
.florela-wc .select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; right: 10px; }
.florela-wc .select2-container--focus .select2-selection--single,
.florela-wc .select2-container--open .select2-selection--single { border-color: var(--rose); box-shadow: 0 0 0 3px var(--blush-100); }
.select2-dropdown { border-color: var(--blush-300) !important; border-radius: var(--r-md) !important; overflow: hidden; font-family: var(--font-body); }
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--rose) !important; }
.select2-search--dropdown .select2-search__field { border-radius: var(--r-sm); border-color: var(--blush-300) !important; min-height: 40px; }

/* grade dos campos: dois por linha no computador */
.florela-wc .woocommerce-billing-fields__field-wrapper,
.florela-wc .woocommerce-shipping-fields__field-wrapper,
.florela-wc .woocommerce-address-fields__field-wrapper,
.florela-wc .woocommerce-additional-fields__field-wrapper,
.florela-wc form.edit-account,
.florela-wc .shipping-calculator-form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.florela-wc .form-row-wide,
.florela-wc .woocommerce-additional-fields__field-wrapper .form-row,
.florela-wc form.edit-account > *:not(.form-row-first):not(.form-row-last) { grid-column: 1 / -1; }
.florela-wc .form-row-first { grid-column: 1; }
.florela-wc .form-row-last { grid-column: 2; }
@media (max-width: 560px) {
  .florela-wc .woocommerce-billing-fields__field-wrapper,
  .florela-wc .woocommerce-shipping-fields__field-wrapper,
  .florela-wc .woocommerce-address-fields__field-wrapper,
  .florela-wc form.edit-account { grid-template-columns: 1fr; }
  .florela-wc .form-row-first,
  .florela-wc .form-row-last { grid-column: 1; }
}

/* ---------- avisos ---------- */
.florela-wc .woocommerce-notices-wrapper:empty { display: none; }
.florela-wc .woocommerce-info,
.florela-wc .woocommerce-message,
.florela-wc .woocommerce-error,
.florela-wc .woocommerce-NoticeGroup ul {
  list-style: none; margin: 0 0 var(--s-4); padding: var(--s-4) var(--s-5);
  border-radius: var(--r-md); background: var(--blush-50); border: 1px solid var(--blush-200);
  color: var(--ink-soft); font-size: var(--fs-sm); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4);
}
.florela-wc .woocommerce-message { border-color: #cfe7dd; background: #f3faf7; }
.florela-wc .woocommerce-error { border-color: #f1c7c7; background: #fdf4f4; display: grid; }
.florela-wc .woocommerce-error li { margin: 0; }
.florela-wc .woocommerce-info .button,
.florela-wc .woocommerce-message .button { min-height: 38px; padding: 0 var(--s-4); margin-left: auto; order: 2; }
.florela-wc .woocommerce-form-login-toggle,
.florela-wc .woocommerce-form-coupon-toggle { max-width: 100%; }
.florela-wc .woocommerce-form-login-toggle .woocommerce-info,
.florela-wc .woocommerce-form-coupon-toggle .woocommerce-info { background: #fff; border-style: dashed; }

/* login e cupom que abrem dentro do pagamento */
.florela-wc form.checkout_coupon,
.florela-wc form.woocommerce-form-login { margin: 0 0 var(--s-5); padding: var(--s-5); border-radius: var(--r-lg); background: var(--blush-50); display: grid; gap: var(--s-3); }
.florela-wc form.checkout_coupon { grid-template-columns: 1fr auto; align-items: end; }
.florela-wc form.checkout_coupon > p:not(.form-row) { grid-column: 1 / -1; }
.florela-wc form.checkout_coupon .form-row-first,
.florela-wc form.checkout_coupon .form-row-last { grid-column: auto; }
.florela-wc form.checkout_coupon .clear { display: none; }

/* ---------- PAGAMENTO: formulário à esquerda, pedido à direita ---------- */
.florela-wc form.checkout.woocommerce-checkout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); grid-auto-flow: row dense;
  gap: var(--s-6) clamp(32px, 5vw, 72px); align-items: start;
}
.florela-wc form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
.florela-wc #customer_details { grid-column: 1; display: grid; gap: var(--s-6); }
.florela-wc #customer_details .col-1,
.florela-wc #customer_details .col-2 { width: auto; float: none; display: grid; gap: var(--s-6); }
.florela-wc #customer_details .woocommerce-billing-fields,
.florela-wc #customer_details .woocommerce-shipping-fields,
.florela-wc #customer_details .woocommerce-additional-fields { padding: var(--s-6); border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.florela-wc #customer_details .woocommerce-shipping-fields:not(:has(.shipping_address[style*='block'])) { padding-block: var(--s-5); }
.florela-wc #customer_details h3 { font-size: var(--fs-lg); margin-bottom: var(--s-5); }
.florela-wc #ship-to-different-address { margin: 0; font-family: var(--font-body); font-size: var(--fs-base); font-weight: 500; }
.florela-wc #ship-to-different-address label { display: inline-flex; align-items: center; gap: var(--s-3); cursor: pointer; }
.florela-wc .shipping_address { margin-top: var(--s-5); }
.florela-wc .woocommerce-account-fields { margin-top: var(--s-4); display: grid; gap: var(--s-3); }

.florela-wc #order_review_heading { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.florela-wc #order_review {
  grid-column: 2; position: sticky; top: calc(var(--header-h) + var(--s-5));
  padding: var(--s-6); border-radius: 24px; background: var(--blush-50); display: grid; gap: var(--s-5);
}
.florela-wc #order_review::before { content: 'Seu pedido'; font-family: var(--font-display); font-weight: 300; font-size: 28px; line-height: 1.1; color: var(--ink); }
@media (max-width: 960px) {
  .florela-wc form.checkout.woocommerce-checkout { grid-template-columns: 1fr; }
  .florela-wc #customer_details,
  .florela-wc #order_review { grid-column: 1; }
  .florela-wc #order_review { position: static; }
}
@media (max-width: 560px) {
  .florela-wc #customer_details .woocommerce-billing-fields,
  .florela-wc #customer_details .woocommerce-shipping-fields,
  .florela-wc #customer_details .woocommerce-additional-fields,
  .florela-wc #order_review { padding: var(--s-5); border-radius: 18px; }
}

/* tabela do pedido */
.florela-wc .fl-body table.shop_table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.florela-wc .fl-body table.shop_table th,
.florela-wc .fl-body table.shop_table td { padding: var(--s-3) 0; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--blush-200); }
.florela-wc .fl-body table.shop_table td:last-child,
.florela-wc .fl-body table.shop_table th:last-child { text-align: right; }
.florela-wc .fl-body table.shop_table thead th { font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-top: 0; }
.florela-wc .woocommerce-checkout-review-order-table thead { display: none; }
.florela-wc .woocommerce-checkout-review-order-table tfoot th { font-weight: 400; color: var(--muted); }
.florela-wc .fl-body table.shop_table .order-total th,
.florela-wc .fl-body table.shop_table .order-total td { font-size: var(--fs-md); font-weight: 600; color: var(--ink); border-bottom: 0; padding-top: var(--s-4); }
.florela-wc .fl-body table.shop_table .order-total .includes_tax { display: block; font-size: var(--fs-xs); font-weight: 400; color: var(--muted); }
.florela-wc .fl-item { display: flex; align-items: center; gap: var(--s-3); }
.florela-wc .fl-item img,
.florela-wc .fl-thumb { width: 56px !important; height: 56px !important; flex: none; object-fit: cover; border-radius: 12px; background: #fff; }
.florela-wc .fl-item__name { line-height: 1.35; color: var(--ink); }
.florela-wc .product-quantity { color: var(--muted); font-weight: 400; white-space: nowrap; }
.florela-wc td.product-name { padding-right: var(--s-3) !important; }
.florela-wc td.product-name .product-quantity { margin-left: 68px; display: block; font-size: var(--fs-xs); }
.florela-wc td.product-name .fl-item + .product-quantity { margin-top: -4px; }
.florela-wc .fl-body table.shop_table td.product-total { white-space: nowrap; font-weight: 500; color: var(--ink); }

/* frete */
.florela-wc #shipping_method { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); text-align: left; }
.florela-wc #shipping_method li { display: flex; align-items: flex-start; gap: var(--s-2); margin: 0; }
.florela-wc #shipping_method li label { font-weight: 400; font-size: var(--fs-sm); line-height: 1.35; cursor: pointer; }
.florela-wc #shipping_method li input { margin-top: 1px; }
.florela-wc .woocommerce-shipping-totals th { vertical-align: top !important; padding-top: var(--s-4) !important; }
.florela-wc .woocommerce-shipping-totals td { padding-left: var(--s-4) !important; }
.florela-wc .woocommerce-shipping-destination,
.florela-wc .woocommerce-shipping-contents { font-size: var(--fs-xs); color: var(--muted); margin: var(--s-2) 0 0; }

/* formas de pagamento */
.florela-wc #payment { display: grid; gap: var(--s-4); }
.florela-wc #payment ul.payment_methods { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); border: 0; }
.florela-wc #payment ul.payment_methods > li.wc_payment_method {
  margin: 0; padding: var(--s-4); background: #fff; border: 1px solid var(--blush-200); border-radius: var(--r-lg);
  transition: border-color var(--duration-fast) var(--ease-smooth-out), box-shadow var(--duration-fast) var(--ease-smooth-out);
}
.florela-wc #payment ul.payment_methods > li.wc_payment_method:has(> input:checked) { border-color: var(--rose); box-shadow: 0 0 0 3px var(--blush-100); }
.florela-wc #payment ul.payment_methods > li > input { vertical-align: middle; margin-right: var(--s-2); }
.florela-wc #payment ul.payment_methods > li > label { display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); font-weight: 600; color: var(--ink); cursor: pointer; vertical-align: middle; }
.florela-wc #payment ul.payment_methods > li > label img { max-height: 24px; width: auto; display: inline-block; margin: 0; }
.florela-wc #payment ul.payment_methods > li > label .about_paypal { font-weight: 400; font-size: var(--fs-xs); }
.florela-wc #payment .payment_box { margin-top: var(--s-4); font-size: var(--fs-sm); color: var(--ink-soft); background: none; padding: 0; }
.florela-wc #payment .payment_box p:last-child { margin-bottom: 0; }
.florela-wc #payment .payment_box fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.florela-wc #payment .payment_box .form-row { margin: 0; }
.florela-wc #payment .payment_box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.florela-wc #payment .payment_box ul li label { display: flex; align-items: center; gap: var(--s-2); cursor: pointer; }
.florela-wc #payment .place-order { margin: 0; display: grid; gap: var(--s-3); }
.florela-wc .woocommerce-terms-and-conditions-wrapper { font-size: var(--fs-xs); color: var(--muted); }
.florela-wc .woocommerce-privacy-policy-text p { margin: 0; }
.florela-wc .fl-secure { display: flex; align-items: flex-start; gap: var(--s-2); margin: 0; font-size: var(--fs-xs); color: var(--muted); line-height: 1.45; }
.florela-wc .fl-secure svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--rose); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }

/* "carregando" do WooCommerce (frete, pagamento) */
.florela-wc .blockUI.blockOverlay { background: rgba(255, 255, 255, 0.65) !important; opacity: 1 !important; border-radius: inherit; cursor: progress !important; }
.florela-wc .blockUI.blockOverlay::after { content: ''; position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; border: 2px solid var(--blush-200); border-top-color: var(--rose); animation: fl-spin 0.8s linear infinite; }
@keyframes fl-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .florela-wc .blockUI.blockOverlay::after { animation-duration: 2.4s; } }

/* ---------- MINHA CONTA ---------- */
.florela-wc .fl-body > .woocommerce:has(.woocommerce-MyAccount-navigation) {
  display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--s-7); align-items: start;
}
.florela-wc .fl-body > .woocommerce:has(.woocommerce-MyAccount-navigation) > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.florela-wc .woocommerce-MyAccount-navigation { position: sticky; top: calc(var(--header-h) + var(--s-5)); }
.florela-wc .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: var(--s-3); display: grid; gap: 2px; background: var(--blush-50); border-radius: 20px; }
.florela-wc .woocommerce-MyAccount-navigation a { display: block; padding: 10px var(--s-4); border-radius: var(--r-pill); color: var(--ink-soft) !important; text-decoration: none !important; font-size: var(--fs-sm); }
.florela-wc .woocommerce-MyAccount-navigation a:hover { background: #fff; color: var(--ink) !important; }
.florela-wc .woocommerce-MyAccount-navigation .is-active a { background: var(--ink); color: #fff !important; }
.florela-wc .woocommerce-MyAccount-content { display: grid; gap: var(--s-4); }
.florela-wc .woocommerce-MyAccount-content > p:first-of-type { font-size: var(--fs-md); }
.florela-wc .woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.florela-wc .woocommerce-Address { padding: var(--s-5); border: 1px solid var(--line); border-radius: 20px; }
.florela-wc .woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); }
.florela-wc address { font-style: normal; line-height: 1.6; }
.florela-wc fieldset { border: 1px solid var(--line); border-radius: 20px; padding: var(--s-5); margin: var(--s-3) 0; display: grid; gap: var(--s-4); grid-column: 1 / -1; }
.florela-wc legend { font-family: var(--font-display); font-size: var(--fs-md); padding: 0 var(--s-2); }
@media (max-width: 860px) {
  .florela-wc .fl-body > .woocommerce:has(.woocommerce-MyAccount-navigation) { grid-template-columns: 1fr; gap: var(--s-5); }
  .florela-wc .woocommerce-MyAccount-navigation { position: static; }
  .florela-wc .woocommerce-MyAccount-navigation ul { display: flex; overflow-x: auto; scrollbar-width: none; border-radius: var(--r-pill); padding: 6px; }
  .florela-wc .woocommerce-MyAccount-navigation a { white-space: nowrap; }
  .florela-wc .woocommerce-Addresses { grid-template-columns: 1fr; }
}

/* entrar / criar conta */
.florela-wc #customer_login,
.florela-wc .u-columns.col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); max-width: 980px; margin-inline: auto; }
.florela-wc #customer_login > div { padding: var(--s-6); border-radius: 24px; background: var(--blush-50); display: grid; gap: var(--s-4); align-content: start; width: auto; float: none; }
.florela-wc #customer_login > div:nth-child(2) { background: #fff; border: 1px solid var(--line); }
.florela-wc #customer_login h2 { font-size: var(--fs-xl); margin: 0; }
.florela-wc #customer_login form { display: grid; gap: var(--s-4); margin: 0; padding: 0; background: none; border: 0; }
.florela-wc #customer_login form .button { justify-self: start; }
.florela-wc .woocommerce-LostPassword { margin: 0; font-size: var(--fs-sm); }
.florela-wc form.woocommerce-ResetPassword,
.florela-wc form.lost_reset_password { max-width: 520px; margin-inline: auto; display: grid; gap: var(--s-4); padding: var(--s-6); border-radius: 24px; background: var(--blush-50); }
.florela-wc .woocommerce-form-login__rememberme { font-weight: 400 !important; }
.florela-wc .show-password-input { display: none; }
.florela-wc .woocommerce-password-strength { font-size: var(--fs-xs); padding: 6px 10px; border-radius: var(--r-sm); margin-top: 6px; }
.florela-wc .woocommerce-password-strength.short,
.florela-wc .woocommerce-password-strength.bad { background: #fdf4f4; color: var(--error); }
.florela-wc .woocommerce-password-strength.good { background: var(--blush-100); color: var(--rose-ink); }
.florela-wc .woocommerce-password-strength.strong { background: #f3faf7; color: var(--success); }
.florela-wc .woocommerce-password-hint { font-size: var(--fs-xs); color: var(--muted); }
@media (max-width: 760px) {
  .florela-wc #customer_login,
  .florela-wc .u-columns.col2-set { grid-template-columns: 1fr; }
  .florela-wc #customer_login > div { padding: var(--s-5); }
}

/* tabelas de pedidos no celular viram cartões */
@media (max-width: 760px) {
  .florela-wc table.shop_table_responsive thead { display: none; }
  .florela-wc table.shop_table_responsive tr { display: grid; padding: var(--s-3) 0; border-bottom: 1px solid var(--blush-200); }
  .florela-wc table.shop_table_responsive tr td,
  .florela-wc table.shop_table_responsive tr th { display: flex; justify-content: space-between; gap: var(--s-3); border: 0 !important; padding: 4px 0 !important; text-align: right !important; }
  .florela-wc table.shop_table_responsive tr td::before { content: attr(data-title); font-weight: 600; color: var(--ink); text-align: left; }
  .florela-wc table.shop_table_responsive tr td.woocommerce-orders-table__cell-order-actions { justify-content: flex-end; }
  .florela-wc table.shop_table_responsive tr td.woocommerce-orders-table__cell-order-actions::before { display: none; }
}
.florela-wc .woocommerce-orders-table .button { min-height: 36px; padding: 0 var(--s-4); margin-left: 4px; }
.florela-wc .woocommerce-pagination { display: flex; gap: var(--s-3); margin-top: var(--s-4); }

/* ---------- PEDIDO RECEBIDO ---------- */
.florela-wc .woocommerce-order { display: grid; gap: var(--s-6); max-width: 980px; margin-inline: auto; }
.florela-wc .woocommerce-thankyou-order-received { text-align: center; font-size: var(--fs-md); color: var(--ink); margin: 0; }
.florela-wc ul.woocommerce-order-overview { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--s-3); }
.florela-wc ul.woocommerce-order-overview li { padding: var(--s-4) var(--s-5); border-radius: 18px; background: var(--blush-50); font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); display: grid; gap: 4px; }
.florela-wc ul.woocommerce-order-overview li strong { font-family: var(--font-body); font-size: var(--fs-base); letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 600; word-break: break-word; }
.florela-wc .woocommerce-order-details,
.florela-wc .woocommerce-customer-details,
.florela-wc .woocommerce-order > section,
.florela-wc .woocommerce-order > div:not(.woocommerce-order-overview) { padding: var(--s-6); border: 1px solid var(--line); border-radius: 24px; }
.florela-wc .woocommerce-customer-details .col2-set,
.florela-wc .woocommerce-columns--addresses { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.florela-wc .woocommerce-customer-details--phone,
.florela-wc .woocommerce-customer-details--email { margin: var(--s-2) 0 0; color: var(--muted); }
.florela-wc .woocommerce-bacs-bank-details,
.florela-wc .woocommerce-order p { font-size: var(--fs-sm); }
@media (max-width: 760px) {
  .florela-wc .woocommerce-customer-details .col2-set,
  .florela-wc .woocommerce-columns--addresses { grid-template-columns: 1fr; }
  .florela-wc .woocommerce-order-details,
  .florela-wc .woocommerce-customer-details,
  .florela-wc .woocommerce-order > section { padding: var(--s-5); }
}

/* restos do tema antigo que o WordPress ainda imprime no rodapé */
.florela-wc #porto-popup-overlay,
.florela-wc .porto-popup,
.florela-wc #login-form-popup,
.florela-wc .mobile-sidebar,
.florela-wc .panel-overlay,
.florela-wc #nav-panel,
.florela-wc #side-nav-panel,
.florela-wc .go-to-top,
.florela-wc #topcontrol { display: none !important; }
/* o tema antigo ainda imprime um CSS próprio (fonte Oswald nos preços): aqui vale a tipografia da Florela */
body.florela-wc .fl-body :is(table, td, th, .amount, bdi, span, label, p, li, strong, small, a, input, select, textarea, button, address, mark, em) { font-family: var(--font-body) !important; letter-spacing: normal; }
body.florela-wc .fl-body :is(.button, button[type='submit'], #place_order) { font-family: var(--font-ui) !important; letter-spacing: 0.14em; }
body.florela-wc .fl-body :is(h2, h3) { font-family: var(--font-display) !important; text-transform: none; }
.florela-wc td.product-name > .product-quantity { display: none; }
.florela-wc .fl-item__qty { display: block; margin-top: 2px; font-size: var(--fs-xs); color: var(--muted); }
/* PagSeguro: cartão, débito e boleto como abas em pílula */
.florela-wc #pagseguro-payment-methods { display: flex !important; flex-wrap: wrap; gap: 6px !important; margin: var(--s-2) 0 var(--s-4) !important; border: 0 !important; }
.florela-wc #pagseguro-payment-methods li { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
.florela-wc #pagseguro-payment-methods li label { display: inline-flex !important; align-items: center; gap: 6px; padding: 8px 14px !important; border: 1px solid var(--blush-300) !important; border-radius: var(--r-pill) !important; background: #fff !important; font-size: var(--fs-xs) !important; font-weight: 600; color: var(--ink-soft); cursor: pointer; }
.florela-wc #pagseguro-payment-methods li label:has(input:checked) { background: var(--ink) !important; border-color: var(--ink) !important; color: #fff; }
.florela-wc #pagseguro-payment-methods li input { position: absolute; opacity: 0; pointer-events: none; width: 1px !important; height: 1px !important; }
.florela-wc #pagseguro-payment-form .form-row { margin: 0 0 var(--s-3) !important; padding: 0 !important; width: 100% !important; float: none !important; }
.florela-wc #pagseguro-payment-form .form-row label small { font-weight: 400; color: var(--muted); }
/* frete: opções ocupam a largura toda do resumo, como cartões */
.florela-wc tr:has(#shipping_method) { display: grid; gap: var(--s-2); padding: var(--s-3) 0; border-bottom: 1px solid var(--blush-200); }
.florela-wc tr:has(#shipping_method) th,
.florela-wc tr:has(#shipping_method) td { display: block; border: 0 !important; padding: 0 !important; text-align: left !important; }
.florela-wc #shipping_method li { padding: 10px 12px; background: #fff; border: 1px solid var(--blush-200); border-radius: var(--r-md); align-items: center; }
.florela-wc #shipping_method li:has(input:checked) { border-color: var(--rose); box-shadow: 0 0 0 3px var(--blush-100); }
.florela-wc #shipping_method li label { flex: 1; color: var(--ink); }
.florela-wc #shipping_method li input { margin-top: 0; }