/* Rembrr — diseño del sitio (tokens de rembrr-landing) */
body.rembrr-d {
  --rd-indigo: #4655E0;
  --rd-indigo-deep: #323FA8;
  --rd-indigo-soft: #EEF2FE;
  --rd-mint: #20B98C;
  --rd-mint-soft: #DDF7EC;
  --rd-mint-text: #14805F;
  --rd-amber-soft: #FEF3DC;
  --rd-amber-text: #8A5A0A;
  --rd-coral: #C9372B;
  --rd-coral-soft: #FDECEA;
  --rd-ink: #111422;
  --rd-muted: #62687F;
  --rd-faint: #9AA0B4;
  --rd-line: #E4E7F1;
  --rd-surface: #F6F7FC;
  --rd-surface-2: #EEF0F8;
  --rd-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --rd-body: Figtree, system-ui, sans-serif;
  background: var(--rd-surface) !important;
  color: var(--rd-ink);
  font-family: var(--rd-body);
  -webkit-font-smoothing: antialiased;
}

/* El header y footer de Elementor se reemplazan */
body.rembrr-d:not(.rembrr-d-canvas) .elementor-location-header,
body.rembrr-d:not(.rembrr-d-canvas) .elementor-location-footer,
body.rembrr-d #trp-floater-ls { display: none !important; }

body.rembrr-d .rd-wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }

/* ── Header ── */
.rd-header { background: #fff; border-bottom: 1px solid var(--rd-line); position: sticky; top: 0; z-index: 50; font-family: var(--rd-body); }
body.admin-bar .rd-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .rd-header { top: 0; position: relative; } }
.rd-header-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; flex-wrap: wrap; }
body.rembrr-d .rd-logo { display: inline-flex; align-items: center; gap: 10px; color: #265AC0 !important; text-decoration: none !important; font-family: var(--rd-display) !important; font-weight: 800 !important; font-size: 22px !important; letter-spacing: -.01em !important; line-height: 1 !important; }
.rd-logo-mark { width: 30px; height: 28px; flex-shrink: 0; }
body.rembrr-d .rd-logo--light { color: #fff !important; }
.rd-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
body.rembrr-d .rd-nav > a { padding: 10px 14px; border-radius: 999px; color: var(--rd-ink) !important; text-decoration: none !important; font-family: var(--rd-body) !important; font-weight: 600 !important; font-size: 15px !important; line-height: 1.2 !important; }
.rd-nav > a:hover { background: var(--rd-surface-2); }
.rd-nav > a[aria-current="page"] { color: var(--rd-indigo-deep) !important; }
.rd-nav > a.rd-account { background: var(--rd-indigo); color: #fff !important; }
.rd-nav > a.rd-account:hover { background: var(--rd-indigo-deep); }
.rd-lang { display: inline-flex; gap: 2px; background: var(--rd-surface-2); border-radius: 999px; padding: 3px; margin-left: 4px; }
body.rembrr-d .rd-lang a { padding: 6px 10px; border-radius: 999px; font-family: var(--rd-body) !important; font-size: 13px !important; font-weight: 700 !important; color: var(--rd-muted) !important; text-decoration: none !important; line-height: 1.2; }
.rd-lang a[aria-current="true"] { background: #fff; color: var(--rd-ink) !important; box-shadow: 0 1px 2px rgba(17,20,34,.1); }
@media (max-width: 520px) {
  body.rembrr-d .rd-header-in { min-height: 60px; flex-wrap: nowrap; gap: 8px; }
  body.rembrr-d .rd-logo { font-size: 19px !important; gap: 8px; }
  body.rembrr-d .rd-logo-mark { width: 26px; height: 24px; }
  body.rembrr-d .rd-nav { flex-wrap: nowrap; gap: 4px; }
  body.rembrr-d .rd-nav > a { padding: 9px 12px; font-size: 14px !important; white-space: nowrap; }
  body.rembrr-d .rd-nav > a:not(.rd-account) { display: none; }
  body.rembrr-d .rd-lang { margin-left: 2px; }
  body.rembrr-d .rd-lang a { padding: 6px 7px; font-size: 12px !important; }
}
@media (max-width: 360px) { body.rembrr-d .rd-logo span { display: none; } }

/* ── Footer ── */
.rd-footer { background: var(--rd-ink); color: #C9CDE0; font-family: var(--rd-body); font-size: 15px; line-height: 1.6; margin-top: 0; }
body.rembrr-d .rd-footer .rd-wrap { padding-top: 48px; padding-bottom: 24px; }
.rd-footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 2fr; gap: 32px; }
@media (max-width: 860px) { .rd-footer-grid { grid-template-columns: 1fr 1fr; } .rd-footer-legal { grid-column: 1 / -1; } }
@media (max-width: 520px) { .rd-footer-grid { grid-template-columns: 1fr; } }
.rd-footer p { margin: 8px 0 0; color: #C9CDE0; }
.rd-footer-h { margin: 0 0 8px !important; font-family: var(--rd-body) !important; font-size: 13px !important; font-weight: 700 !important; letter-spacing: .08em; text-transform: uppercase; color: #7583FF !important; }
.rd-footer-legal nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px 24px; }
body.rembrr-d .rd-footer a { color: #C9CDE0 !important; text-decoration: none !important; font-family: var(--rd-body) !important; font-size: 15px !important; font-weight: 400 !important; }
.rd-footer a:hover { color: #fff !important; text-decoration: underline !important; }
.rd-footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid #2A2F48; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; color: #A0A6BD; }
.rd-footer-links { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.rd-cookies { background: none !important; border: none !important; padding: 0 !important; color: #C9CDE0 !important; font: inherit !important; cursor: pointer; text-transform: none !important; letter-spacing: normal !important; }
.rd-cookies:hover { color: #fff !important; text-decoration: underline; }

/* ── Franja de título de página (la cápsula azul) ── */
body.rembrr-d .e-con:has(.elementor-widget-theme-page-title) { background: transparent !important; background-image: none !important; min-height: 0 !important; --min-height: 0px; margin: 0 !important; border: none !important; border-radius: 0 !important; box-shadow: none !important; }
body.rembrr-d .e-con.e-parent:has(.elementor-widget-theme-page-title) { padding: 36px 16px 8px !important; }
body.rembrr-d .e-con.e-parent:has(.elementor-widget-theme-page-title) .e-con,
body.rembrr-d .e-con.e-parent:has(.elementor-widget-theme-page-title) > .e-con-inner { width: 100% !important; max-width: 1088px !important; margin: 0 auto !important; padding: 0 !important; --width: 100%; }
body.rembrr-d .elementor-widget-theme-page-title,
body.rembrr-d .elementor-widget-theme-page-title > .elementor-widget-container { width: 100% !important; max-width: 100% !important; border: none !important; background: none !important; box-shadow: none !important; padding: 0 !important; }

/* Contenedores de Elementor alrededor de los bloques de WooCommerce: sin recuadro propio */
body.rembrr-d .e-con:has(.elementor-widget-woocommerce-my-account),
body.rembrr-d .e-con:has(.elementor-widget-woocommerce-checkout-page),
body.rembrr-d .e-con:has(.elementor-widget-woocommerce-cart),
body.rembrr-d .e-con:has(.elementor-widget-woocommerce-purchase-summary) { background: transparent !important; border: none !important; box-shadow: none !important; border-radius: 0 !important; }
body.rembrr-d .e-checkout__order_review table.shop_table { border: none !important; border-radius: 0 !important; }

/* Complianz: el footer ya tiene "Gestionar cookies" */
body.rembrr-d #cmplz-manage-consent .cmplz-manage-consent { display: none !important; }
body.rembrr-d .elementor-widget-theme-page-title .elementor-heading-title { font-family: var(--rd-display) !important; font-weight: 800 !important; font-size: clamp(28px, 4vw, 38px) !important; letter-spacing: -.02em !important; line-height: 1.15 !important; color: var(--rd-ink) !important; background: none !important; border: none !important; padding: 0 !important; border-radius: 0 !important; text-transform: none !important; text-align: left !important; }
body.rembrr-d .elementor-widget-theme-page-title { text-align: left !important; }

/* ── Texto base de las páginas ── */
body.rembrr-d .elementor-widget-text-editor,
body.rembrr-d .woocommerce,
body.rembrr-d .woocommerce p,
body.rembrr-d .woocommerce label,
body.rembrr-d .woocommerce td,
body.rembrr-d .woocommerce th { font-family: var(--rd-body) !important; }
body.rembrr-d a { color: var(--rd-indigo); }

/* ── Campos y botones de WooCommerce ── */
body.rembrr-d .woocommerce form .form-row { margin: 0 0 14px !important; padding: 0 !important; }
body.rembrr-d .woocommerce form .form-row label { font-size: 14px !important; font-weight: 600 !important; color: var(--rd-ink) !important; margin-bottom: 6px !important; line-height: 1.3 !important; }
body.rembrr-d .woocommerce form .form-row .required { color: var(--rd-coral) !important; text-decoration: none; }
body.rembrr-d .woocommerce input.input-text,
body.rembrr-d .woocommerce input[type="text"],
body.rembrr-d .woocommerce input[type="email"],
body.rembrr-d .woocommerce input[type="tel"],
body.rembrr-d .woocommerce input[type="password"],
body.rembrr-d .woocommerce input[type="number"],
body.rembrr-d .woocommerce textarea,
body.rembrr-d .woocommerce select,
body.rembrr-d .woocommerce .select2-container .select2-selection {
  background: #fff !important; border: 1.5px solid var(--rd-line) !important; border-radius: 12px !important;
  padding: 12px 14px !important; min-height: 48px !important; font-size: 16px !important; color: var(--rd-ink) !important;
  font-family: var(--rd-body) !important; box-shadow: none !important; box-sizing: border-box !important; line-height: 1.3 !important;
}
body.rembrr-d .woocommerce .select2-container .select2-selection--single .select2-selection__rendered { padding: 0 !important; line-height: 22px !important; color: var(--rd-ink) !important; }
body.rembrr-d .woocommerce .select2-container .select2-selection--single .select2-selection__arrow { height: 46px !important; right: 8px !important; }
body.rembrr-d .woocommerce input:focus,
body.rembrr-d .woocommerce textarea:focus,
body.rembrr-d .woocommerce select:focus,
body.rembrr-d .woocommerce .select2-container--focus .select2-selection { border-color: var(--rd-indigo) !important; box-shadow: 0 0 0 3px var(--rd-indigo-soft) !important; outline: none !important; }
body.rembrr-d .woocommerce form .form-row.woocommerce-invalid input.input-text,
body.rembrr-d .woocommerce form .form-row.woocommerce-invalid .select2-selection { border-color: var(--rd-coral) !important; }
body.rembrr-d .woocommerce form .form-row.woocommerce-validated input.input-text { border-color: var(--rd-line) !important; }

body.rembrr-d .woocommerce .button,
body.rembrr-d .woocommerce button.button,
body.rembrr-d .woocommerce a.button,
body.rembrr-d .woocommerce input.button,
body.rembrr-d .woocommerce #place_order,
body.rembrr-d .woocommerce .woocommerce-Button {
  background: var(--rd-indigo) !important; color: #fff !important; border: none !important; border-radius: 999px !important;
  padding: 13px 22px !important; font-family: var(--rd-body) !important; font-size: 15px !important; font-weight: 700 !important;
  text-transform: none !important; letter-spacing: normal !important; line-height: 1.2 !important; box-shadow: none !important;
  min-height: 46px; cursor: pointer; transition: background .15s;
}
body.rembrr-d .woocommerce .button:hover,
body.rembrr-d .woocommerce #place_order:hover { background: var(--rd-indigo-deep) !important; color: #fff !important; }
body.rembrr-d .woocommerce #place_order { width: 100% !important; padding: 16px !important; font-size: 17px !important; }

/* Avisos */
body.rembrr-d .woocommerce-message,
body.rembrr-d .woocommerce-info,
body.rembrr-d .woocommerce-error,
body.rembrr-d .woocommerce-notices-wrapper > div {
  border: 1px solid var(--rd-line) !important; border-radius: 14px !important; background: #fff !important; color: var(--rd-ink) !important;
  font-family: var(--rd-body) !important; font-size: 15px !important; padding: 14px 16px 14px 46px !important; box-shadow: none !important;
}
body.rembrr-d .woocommerce-message { border-color: #BDEBD9 !important; background: var(--rd-mint-soft) !important; }
body.rembrr-d .woocommerce-message::before { color: var(--rd-mint-text) !important; }
body.rembrr-d .woocommerce-info::before { color: var(--rd-indigo) !important; }
body.rembrr-d .woocommerce-error { border-color: #F5C2BD !important; background: var(--rd-coral-soft) !important; }
body.rembrr-d .woocommerce-error::before { color: var(--rd-coral) !important; }
body.rembrr-d .woocommerce-message .button { padding: 8px 14px !important; min-height: 0; font-size: 14px !important; }

/* Tablas */
body.rembrr-d .woocommerce table.shop_table { border: 1px solid var(--rd-line) !important; border-radius: 16px !important; border-collapse: separate !important; overflow: hidden; background: #fff; }
body.rembrr-d .woocommerce table.shop_table th,
body.rembrr-d .woocommerce table.shop_table td { border-color: var(--rd-line) !important; padding: 12px 14px !important; color: var(--rd-ink) !important; font-size: 15px !important; background: transparent !important; }
body.rembrr-d .woocommerce table.shop_table thead th { color: var(--rd-muted) !important; font-size: 13px !important; font-weight: 600 !important; }

/* ── Checkout ── */
body.rembrr-d .e-checkout__container { gap: 28px !important; }
body.rembrr-d .e-checkout__column-start > .col2-set,
body.rembrr-d .e-checkout__column-start .woocommerce-additional-fields,
body.rembrr-d .e-checkout__order_review,
body.rembrr-d .e-checkout__order_review-2,
body.rembrr-d .e-coupon-box,
body.rembrr-d .e-checkout__container .e-login-wrap {
  background: #fff !important; border: 1px solid var(--rd-line) !important; border-radius: 20px !important; padding: 24px !important; box-shadow: none !important;
}
body.rembrr-d .e-checkout__column-start > .col2-set .col-1,
body.rembrr-d .e-checkout__column-start > .col2-set .col-2 { background: transparent !important; border: none !important; padding: 0 !important; }
body.rembrr-d .woocommerce-checkout h3,
body.rembrr-d .e-checkout__order_review h3,
body.rembrr-d #order_review_heading { font-family: var(--rd-body) !important; font-size: 18px !important; font-weight: 700 !important; color: var(--rd-ink) !important; margin: 0 0 16px !important; text-transform: none !important; letter-spacing: normal !important; }
body.rembrr-d .woocommerce-checkout-review-order-table { border: none !important; }
body.rembrr-d .woocommerce-checkout-review-order-table th,
body.rembrr-d .woocommerce-checkout-review-order-table td { padding: 10px 0 !important; }
body.rembrr-d .woocommerce-checkout-review-order-table .order-total th,
body.rembrr-d .woocommerce-checkout-review-order-table .order-total td { font-size: 17px !important; font-weight: 700 !important; border-top: 1px solid var(--rd-line) !important; padding-top: 14px !important; }
body.rembrr-d .woocommerce-checkout-review-order-table .order-total .amount { font-family: var(--rd-display) !important; font-size: 26px !important; font-weight: 800 !important; }
body.rembrr-d .woocommerce-checkout-review-order-table .recurring-totals th,
body.rembrr-d .woocommerce-checkout-review-order-table .recurring-total th,
body.rembrr-d .woocommerce-checkout-review-order-table .recurring-total td { color: var(--rd-muted) !important; font-size: 14px !important; font-weight: 500 !important; }
body.rembrr-d .woocommerce-checkout-review-order-table .first-payment-date { color: var(--rd-muted) !important; font-size: 13px; }
body.rembrr-d .rembrr-sin-prueba td { border-radius: 10px; }

/* Métodos de pago como tarjetas */
body.rembrr-d #payment { background: transparent !important; border-radius: 0 !important; }
body.rembrr-d #payment ul.payment_methods { border: none !important; padding: 0 !important; display: flex; flex-direction: column; gap: 10px; margin: 0 0 16px !important; }
body.rembrr-d #payment ul.payment_methods > li { list-style: none; background: #fff !important; border: 1px solid var(--rd-line) !important; border-radius: 16px !important; padding: 14px 16px !important; margin: 0 !important; }
body.rembrr-d #payment ul.payment_methods > li:has(> input:checked) { border: 2px solid var(--rd-indigo) !important; background: var(--rd-indigo-soft) !important; padding: 13px 15px !important; }
body.rembrr-d #payment ul.payment_methods > li > label { font-weight: 700 !important; font-size: 16px !important; color: var(--rd-ink) !important; display: inline-flex !important; align-items: center; gap: 10px; flex-wrap: wrap; cursor: pointer; }
body.rembrr-d #payment ul.payment_methods > li > input[type="radio"] { accent-color: var(--rd-indigo); width: 18px; height: 18px; margin-right: 8px; vertical-align: middle; }
body.rembrr-d #payment ul.payment_methods > li img { max-height: 24px; width: auto; }
body.rembrr-d #payment div.payment_box { background: #fff !important; border-radius: 12px !important; margin: 12px 0 0 !important; padding: 14px !important; color: var(--rd-muted) !important; font-size: 14px !important; }
body.rembrr-d #payment div.payment_box::before { display: none !important; }
body.rembrr-d #payment .place-order { padding: 0 !important; margin: 0 !important; }
body.rembrr-d .woocommerce-privacy-policy-text,
body.rembrr-d .woocommerce-terms-and-conditions-wrapper { font-size: 13px !important; color: var(--rd-muted) !important; }

/* ── Mi cuenta ── */
body.rembrr-d .woocommerce-MyAccount-navigation ul,
body.rembrr-d .e-my-account-tab .woocommerce-MyAccount-navigation ul { list-style: none !important; margin: 0 !important; padding: 10px !important; background: #fff !important; border: 1px solid var(--rd-line) !important; border-radius: 20px !important; display: flex; flex-direction: column; gap: 2px; }
body.rembrr-d .woocommerce-MyAccount-navigation ul li { margin: 0 !important; padding: 0 !important; border: none !important; background: none !important; }
body.rembrr-d .woocommerce-MyAccount-navigation ul li a { display: block !important; padding: 12px 14px !important; border-radius: 12px !important; color: var(--rd-ink) !important; font-family: var(--rd-body) !important; font-weight: 600 !important; font-size: 15px !important; text-decoration: none !important; text-transform: none !important; letter-spacing: normal !important; background: none !important; border: none !important; }
body.rembrr-d .woocommerce-MyAccount-navigation ul li a:hover { background: var(--rd-surface) !important; }
body.rembrr-d .woocommerce-MyAccount-navigation ul li.is-active a { background: var(--rd-indigo-soft) !important; color: var(--rd-indigo-deep) !important; font-weight: 700 !important; }
body.rembrr-d .woocommerce-MyAccount-navigation-link--customer-logout { border-top: 1px solid var(--rd-line) !important; margin-top: 6px !important; padding-top: 6px !important; }
body.rembrr-d .woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--rd-muted) !important; }
body.rembrr-d .woocommerce-MyAccount-content { background: #fff; border: 1px solid var(--rd-line); border-radius: 20px; padding: 24px !important; box-sizing: border-box; color: var(--rd-ink); font-size: 15px; }
body.rembrr-d .woocommerce-MyAccount-content h2,
body.rembrr-d .woocommerce-MyAccount-content h3,
body.rembrr-d .rd-address h2 { font-family: var(--rd-body) !important; font-size: 18px !important; font-weight: 700 !important; color: var(--rd-ink) !important; text-transform: none !important; margin: 0 0 12px !important; }
body.rembrr-d .rd-address { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rd-line); }
body.rembrr-d .woocommerce-MyAccount-content mark { background: var(--rd-indigo-soft); color: var(--rd-indigo-deep); padding: 1px 6px; border-radius: 6px; }

/* Acceso y registro */
body.rembrr-d .woocommerce .u-columns.col2-set { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
body.rembrr-d .woocommerce .u-columns.col2-set::before,
body.rembrr-d .woocommerce .u-columns.col2-set::after { display: none !important; }
body.rembrr-d .woocommerce .u-columns .u-column1,
body.rembrr-d .woocommerce .u-columns .u-column2 { width: auto !important; float: none !important; background: #fff; border: 1px solid var(--rd-line); border-radius: 24px; padding: 28px; box-sizing: border-box; }
body.rembrr-d .woocommerce .u-columns h2 { font-family: var(--rd-body) !important; font-size: 22px !important; font-weight: 700 !important; color: var(--rd-ink) !important; text-transform: none !important; margin: 0 0 16px !important; }
body.rembrr-d .woocommerce form.login,
body.rembrr-d .woocommerce form.register { border: none !important; padding: 0 !important; margin: 0 !important; border-radius: 0 !important; }
body.rembrr-d .woocommerce .woocommerce-form-login__rememberme { display: inline-flex !important; align-items: center; gap: 8px; font-weight: 500 !important; color: var(--rd-muted) !important; margin-right: 12px; }
body.rembrr-d .woocommerce .woocommerce-form-login .button { width: 100%; margin-top: 8px; }
body.rembrr-d .woocommerce .lost_password a { font-weight: 600; }
body.rembrr-d .woocommerce input[type="checkbox"] { accent-color: var(--rd-indigo); width: 18px; height: 18px; }
body.rembrr-d .woocommerce-MyAccount-content-wrapper { border: none !important; background: transparent !important; padding: 0 !important; box-shadow: none !important; border-radius: 0 !important; }

/* Cuenta: menú de ancho fijo y contenido a todo lo ancho */
body.rembrr-d .elementor-widget-woocommerce-my-account,
body.rembrr-d .elementor-widget-woocommerce-my-account .e-my-account-tab { width: 100% !important; max-width: 1088px; }
body.rembrr-d .elementor-widget-woocommerce-my-account .e-my-account-tab > .woocommerce { display: grid !important; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; width: 100% !important; }
body.rembrr-d .elementor-widget-woocommerce-my-account .woocommerce-MyAccount-navigation,
body.rembrr-d .elementor-widget-woocommerce-my-account .woocommerce-MyAccount-content { width: auto !important; float: none !important; margin: 0 !important; }
@media (max-width: 767px) {
  body.rembrr-d .elementor-widget-woocommerce-my-account .e-my-account-tab > .woocommerce { grid-template-columns: 1fr; }
  body.rembrr-d .woocommerce-MyAccount-navigation ul { flex-direction: row !important; flex-wrap: nowrap; overflow-x: auto; }
  body.rembrr-d .woocommerce-MyAccount-navigation ul li a { white-space: nowrap; }
  body.rembrr-d .woocommerce-MyAccount-navigation-link--customer-logout { border-top: none !important; margin-top: 0 !important; padding-top: 0 !important; }
}

/* Avisos dentro de la cuenta: sin ícono roto, texto y botón en una fila */
body.rembrr-d .woocommerce-MyAccount-content .woocommerce-info,
body.rembrr-d .woocommerce-MyAccount-content .woocommerce-message {
  display: flex !important; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px;
  background: var(--rd-surface) !important; border: 1px solid var(--rd-line) !important; padding: 16px 18px !important; margin: 0 0 16px !important;
}
body.rembrr-d .woocommerce-MyAccount-content .woocommerce-info::before,
body.rembrr-d .woocommerce-MyAccount-content .woocommerce-message::before { display: none !important; }
body.rembrr-d .woocommerce-MyAccount-content .woocommerce-info .button,
body.rembrr-d .woocommerce-MyAccount-content .woocommerce-message .button { margin: 0 !important; float: none !important; order: 2; }

/* Datos de la cuenta */
body.rembrr-d .woocommerce-MyAccount-content fieldset { border: none !important; padding: 0 !important; margin: 24px 0 0 !important; }
body.rembrr-d .woocommerce-MyAccount-content legend { font-family: var(--rd-body) !important; font-size: 18px !important; font-weight: 700 !important; color: var(--rd-ink) !important; padding: 0 !important; margin-bottom: 12px !important; }
body.rembrr-d .woocommerce-MyAccount-content .form-row em,
body.rembrr-d .woocommerce-MyAccount-content #account_display_name_description { font-style: normal !important; color: var(--rd-muted) !important; font-size: 13px !important; }
body.rembrr-d .woocommerce-MyAccount-content h2,
body.rembrr-d .woocommerce-MyAccount-content h3 { font-family: var(--rd-body) !important; }
body.rembrr-d .elementor-widget-woocommerce-my-account .e-my-account-tab > .woocommerce > * { grid-column: 1 / -1; }
body.rembrr-d .elementor-widget-woocommerce-my-account .e-my-account-tab > .woocommerce > .woocommerce-MyAccount-navigation { grid-column: 1; }
body.rembrr-d .elementor-widget-woocommerce-my-account .e-my-account-tab > .woocommerce > .woocommerce-MyAccount-content { grid-column: 2; }
body.rembrr-d .elementor-widget-woocommerce-my-account .e-my-account-tab > .woocommerce > .woocommerce-notices-wrapper:empty { display: none; }
@media (max-width: 767px) { body.rembrr-d .elementor-widget-woocommerce-my-account .e-my-account-tab > .woocommerce > .woocommerce-MyAccount-content { grid-column: 1; } }

/* Acceso y registro: textos de ayuda en gris, botones a todo lo ancho */
body.rembrr-d .woocommerce .u-columns p:not(.form-row),
body.rembrr-d .woocommerce .u-columns .woocommerce-privacy-policy-text p,
body.rembrr-d .woocommerce form.register > p:not(.form-row) { color: var(--rd-muted) !important; font-size: 14px !important; line-height: 1.5 !important; }
body.rembrr-d .woocommerce .u-columns .woocommerce-privacy-policy-text a { color: var(--rd-indigo) !important; }
body.rembrr-d .woocommerce form.register .button,
body.rembrr-d .woocommerce form.login .button { width: 100% !important; }
body.rembrr-d .elementor-widget-woocommerce-my-account { margin-top: 0 !important; }
body.rembrr-d .e-con:has(.elementor-widget-woocommerce-my-account) { padding-top: 8px !important; }

/* ══ Cuenta según el diseño ══ */
body.rembrr-cuenta .e-con:has(.elementor-widget-theme-page-title) { display: none !important; }
body.rembrr-cuenta .e-con:has(.elementor-widget-woocommerce-my-account) { padding-top: 0 !important; padding-bottom: 0 !important; }
body.rembrr-cuenta .e-con.e-parent:has(.elementor-widget-woocommerce-my-account) { padding: 36px 16px 64px !important; }
body.rembrr-cuenta .e-con.e-parent:has(.elementor-widget-woocommerce-my-account) > .e-con-inner { padding: 0 !important; }

/* Acceso y registro */
body.rembrr-cuenta-fuera .rd-acc-head { text-align: center; margin: 0 auto 28px; max-width: 640px; }
body.rembrr-cuenta-fuera .rd-acc-head h1 { margin: 0 0 8px !important; font-family: var(--rd-display) !important; font-weight: 800 !important; font-size: clamp(30px, 5vw, 40px) !important; letter-spacing: -.02em; color: var(--rd-ink) !important; }
body.rembrr-cuenta-fuera .rd-acc-head p { margin: 0; color: var(--rd-muted); font-size: 17px; }
body.rembrr-cuenta-fuera .woocommerce .u-columns > div > h2 { display: none !important; }
body.rembrr-cuenta-fuera .woocommerce .u-columns.col2-set { max-width: 1000px; margin: 0 auto; }
body.rembrr-cuenta-fuera .rd-acc-h { font-family: var(--rd-body) !important; font-size: 22px !important; font-weight: 700 !important; color: var(--rd-ink) !important; margin: 0 0 16px !important; text-transform: none !important; }
body.rembrr-cuenta-fuera .woocommerce .u-columns .u-column2 { background: var(--rd-ink) !important; border-color: var(--rd-ink) !important; color: #F2F3F8; }
body.rembrr-cuenta-fuera .u-column2 .rd-acc-h { color: #fff !important; }
body.rembrr-cuenta-fuera .u-column2 .rd-acc-sub,
body.rembrr-cuenta-fuera .u-column2 p:not(.form-row),
body.rembrr-cuenta-fuera .u-column2 .woocommerce-privacy-policy-text p { color: #C9CDE0 !important; }
body.rembrr-cuenta-fuera .u-column2 .woocommerce-privacy-policy-text a { color: #7583FF !important; }
body.rembrr-cuenta-fuera .u-column2 form .form-row label { color: #fff !important; }
body.rembrr-cuenta-fuera .u-column2 input.input-text { background: #1C2036 !important; border-color: #2A2F48 !important; color: #F2F3F8 !important; }
body.rembrr-cuenta-fuera .u-column2 .button { background: #fff !important; color: var(--rd-ink) !important; }
body.rembrr-cuenta-fuera .u-column2 .button:hover { background: #E4E7F1 !important; }
body.rembrr-cuenta-fuera .rd-acc-plans { margin: 18px 0 0 !important; padding-top: 16px; border-top: 1px solid #2A2F48; font-size: 14px !important; color: #C9CDE0 !important; }
body.rembrr-cuenta-fuera .rd-acc-plans a { color: #34D3A6 !important; font-weight: 700; }
body.rembrr-cuenta-fuera .rd-magic { max-width: 1000px; margin: 20px auto 0; background: #fff; border: 1px solid var(--rd-line); border-radius: 20px; padding: 18px 24px; }
body.rembrr-cuenta-fuera .rd-magic summary { cursor: pointer; font-weight: 700; color: var(--rd-indigo); font-size: 15px; }
body.rembrr-cuenta-fuera .rd-magic summary span { font-weight: 400; color: var(--rd-muted); margin-left: 6px; }
body.rembrr-cuenta-fuera .rd-magic form { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
body.rembrr-cuenta-fuera .rd-magic input[type="text"],
body.rembrr-cuenta-fuera .rd-magic input[type="email"] { background: #fff; border: 1.5px solid var(--rd-line); border-radius: 12px; padding: 12px 14px; min-height: 48px; font-size: 16px; font-family: var(--rd-body); }
body.rembrr-cuenta-fuera .rd-magic input[type="submit"],
body.rembrr-cuenta-fuera .rd-magic button { background: var(--rd-indigo); color: #fff; border: none; border-radius: 999px; padding: 13px 22px; font-weight: 700; font-family: var(--rd-body); cursor: pointer; }

/* Inicio con sesión */
body.rembrr-cuenta .e-my-account-tab__dashboard .woocommerce-MyAccount-content > p,
body.rembrr-cuenta .e-my-account-tab__dashboard .woocommerce-MyAccount-content-wrapper > p { display: none !important; }
body.rembrr-cuenta .e-my-account-tab__dashboard .woocommerce-MyAccount-content { background: transparent !important; border: none !important; padding: 0 !important; }
.rd-dash { display: flex; flex-direction: column; gap: 18px; font-family: var(--rd-body); }
body.rembrr-d .woocommerce-MyAccount-content .rd-dash .rd-dash-hello h2 { margin: 0 0 4px !important; font-family: var(--rd-display) !important; font-weight: 800 !important; font-size: clamp(28px, 4vw, 36px) !important; letter-spacing: -.02em; color: var(--rd-ink) !important; text-transform: none !important; }
.rd-dash-hello p { margin: 0; color: var(--rd-muted); font-size: 16px; }
.rd-plan { background: var(--rd-indigo); color: #fff; border-radius: 24px; padding: 26px; display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
.rd-plan-info { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.rd-plan-name { font-family: var(--rd-display); font-weight: 800; font-size: 26px; line-height: 1.15; }
.rd-plan-line { color: #DDE2FF; font-size: 15px; }
.rd-plan-actions { display: flex; flex-wrap: wrap; gap: 10px; }
body.rembrr-d .rd-btn { display: inline-block; padding: 13px 20px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none !important; line-height: 1.2; }
body.rembrr-d .rd-btn--light { background: #fff; color: var(--rd-indigo-deep) !important; }
body.rembrr-d .rd-btn--ghost { border: 1.5px solid #A9B2F5; color: #fff !important; }
.rd-badge { align-self: flex-start; display: inline-block; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.rd-badge--mint { background: var(--rd-mint-soft); color: var(--rd-mint-text); }
.rd-badge--amber { background: var(--rd-amber-soft); color: var(--rd-amber-text); }
.rd-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
body.rembrr-d .rd-quick a { background: #fff; border: 1px solid var(--rd-line); border-radius: 18px; padding: 18px 20px; text-decoration: none !important; color: var(--rd-ink) !important; display: flex; flex-direction: column; gap: 4px; transition: border-color .15s; }
body.rembrr-d .rd-quick a:hover { border-color: #A9B2F5; }
.rd-quick strong { font-size: 16px; }
.rd-quick span { font-size: 14px; color: var(--rd-muted); }
.rd-orders { background: #fff; border: 1px solid var(--rd-line); border-radius: 20px; padding: 22px 24px; }
.rd-orders-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
body.rembrr-d .woocommerce-MyAccount-content .rd-dash .rd-orders-head h3 { margin: 0 !important; font-family: var(--rd-body) !important; font-size: 18px !important; font-weight: 700 !important; color: var(--rd-ink) !important; }
body.rembrr-d .rd-orders-head a { font-weight: 700; font-size: 14px; }
.rd-table-wrap { overflow-x: auto; }
.rd-orders table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 460px; border: none !important; }
.rd-orders th { text-align: left; color: var(--rd-muted); font-size: 13px; font-weight: 600; padding: 10px 8px; border-bottom: 1px solid var(--rd-line) !important; background: none !important; }
.rd-orders td { padding: 13px 8px; border-bottom: 1px solid var(--rd-line) !important; background: none !important; }
.rd-orders tr:last-child td { border-bottom: none !important; }
.rd-orders td:last-child, .rd-orders th:last-child { text-align: right; font-weight: 700; }
.rd-empty { margin: 0; color: var(--rd-muted); }

/* Título de cada sección */
body.rembrr-d .rd-endpoint-title { margin: 0 0 18px !important; font-family: var(--rd-display) !important; font-weight: 800 !important; font-size: 26px !important; letter-spacing: -.01em; color: var(--rd-ink) !important; text-transform: none !important; }

/* Detalle de suscripción: acciones con jerarquía */
body.rembrr-d .woocommerce-MyAccount-content table.subscription_details .button { background: #fff !important; color: var(--rd-indigo) !important; border: 1.5px solid var(--rd-indigo) !important; padding: 10px 18px !important; min-height: 0; margin: 4px 6px 4px 0 !important; }
body.rembrr-d .woocommerce-MyAccount-content table.subscription_details .button:hover { background: var(--rd-indigo-soft) !important; }
body.rembrr-d .woocommerce-MyAccount-content table.subscription_details .button.cancel { color: var(--rd-coral) !important; border-color: #F0B4AE !important; }
body.rembrr-d .woocommerce-MyAccount-content table.subscription_details .button.cancel:hover { background: var(--rd-coral-soft) !important; }
body.rembrr-d .woocommerce-MyAccount-content h2:not(.rd-endpoint-title),
body.rembrr-d .woocommerce-MyAccount-content header h2 { font-size: 18px !important; margin: 24px 0 12px !important; }


/* Header igual al diseño: Planes y Ayuda como texto, "Mi cuenta" en cápsula lila con inicial */
body.rembrr-d .rd-nav > a.rd-account { display: inline-flex !important; align-items: center; gap: 8px; background: var(--rd-indigo-soft) !important; color: var(--rd-indigo-deep) !important; font-weight: 700 !important; padding: 8px 16px !important; }
body.rembrr-d .rd-nav > a.rd-account:has(.rd-avatar) { padding-left: 8px !important; }
body.rembrr-d .rd-nav > a.rd-account:hover { background: #E1E7FD !important; }
body.rembrr-d .rd-avatar { width: 28px; height: 28px; border-radius: 999px; background: var(--rd-indigo); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; line-height: 1; }
body.rembrr-d .rd-nav > a[aria-current="page"]:not(.rd-account) { color: var(--rd-indigo-deep) !important; }

/* Idioma en el footer */
body.rembrr-d .rd-lang--dark { background: #1C2036; margin: 0; padding: 4px; }
body.rembrr-d .rd-lang--dark a { color: #C9CDE0 !important; font-size: 13px !important; padding: 6px 12px; text-decoration: none !important; }
body.rembrr-d .rd-lang--dark a[aria-current="true"] { background: var(--rd-indigo) !important; color: #fff !important; box-shadow: none; }
body.rembrr-d .rd-lang--dark a:hover { text-decoration: none !important; color: #fff !important; }
@media (max-width: 520px) { body.rembrr-d .rd-nav > a:not(.rd-account) { display: inline-block; } body.rembrr-d .rd-nav > a[href^="mailto"] { display: none; } }

/* Tarjeta oscura de registro: Elementor pinta el formulario y los campos de blanco */
body.rembrr-cuenta-fuera.rembrr-d .elementor-widget-woocommerce-my-account .woocommerce .u-column2 form.register { background: transparent !important; box-shadow: none !important; border: 0 !important; padding: 0 !important; }
body.rembrr-cuenta-fuera.rembrr-d .elementor-widget-woocommerce-my-account .woocommerce .u-column2 form .form-row label { color: #fff !important; }
body.rembrr-cuenta-fuera.rembrr-d .elementor-widget-woocommerce-my-account .woocommerce .u-column2 form .form-row input.input-text { background: #1C2036 !important; border: 1.5px solid #2A2F48 !important; border-radius: 12px !important; color: #F2F3F8 !important; }
