/* Mi cuenta: menú con iconos, escritorio en tarjetas y boletos. Colores de la marca. */
:where(:root) { --mf-peri: #7aa8cb; --mf-blue: #005d9b; --mf-navy: #1f3a70; --mf-gold: #d4af37; --mf-mist: #edf5fa; --mf-line: rgba(31, 58, 112, .16); }

/* Iconos (trazo fino, se pintan con el color del texto) */
.mf-ico { display: inline-block; flex: 0 0 auto; width: 26px; height: 26px; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.mf-ico--home { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11 12 3l9 8M5 10v10h5v-6h4v6h5V10'/%3E%3C/svg%3E"); }
.mf-ico--orders { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h12v18l-3-2-3 2-3-2-3 2zM9 8h6M9 12h6'/%3E%3C/svg%3E"); }
.mf-ico--ticket { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8a2 2 0 0 0 0 4v0a2 2 0 0 1 0 4v2h18v-2a2 2 0 0 1 0-4v0a2 2 0 0 0 0-4V6H3zM14 6v12' stroke-dasharray='0'/%3E%3C/svg%3E"); }
.mf-ico--pin { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.2 7-11.5A7 7 0 0 0 5 9.5C5 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.mf-ico--user { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7'/%3E%3C/svg%3E"); }
.mf-ico--logout { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 4H5v16h5M15 8l4 4-4 4M19 12H9'/%3E%3C/svg%3E"); }

/* Menú lateral */
body.woocommerce-account .woocommerce-MyAccount-navigation li a { display: flex; align-items: center; gap: 14px; }
body.woocommerce-account .woocommerce-MyAccount-navigation li a::before { content: ""; width: 24px; height: 24px; flex: 0 0 auto; background: var(--mf-blue); -webkit-mask: var(--i, none) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a::before { background: #fff; }
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--mf-navy); color: #fff; }
.woocommerce-account .woocommerce-MyAccount-navigation-link--dashboard { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11 12 3l9 8M5 10v10h5v-6h4v6h5V10'/%3E%3C/svg%3E"); }
.woocommerce-account .woocommerce-MyAccount-navigation-link--orders { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h12v18l-3-2-3 2-3-2-3 2zM9 8h6M9 12h6'/%3E%3C/svg%3E"); }
.woocommerce-account .woocommerce-MyAccount-navigation-link--boletos { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8a2 2 0 0 0 0 4v0a2 2 0 0 1 0 4v2h18v-2a2 2 0 0 1 0-4v0a2 2 0 0 0 0-4V6H3zM14 6v12'/%3E%3C/svg%3E"); }
.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-address { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.2 7-11.5A7 7 0 0 0 5 9.5C5 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-account { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7'/%3E%3C/svg%3E"); }
.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 4H5v16h5M15 8l4 4-4 4M19 12H9'/%3E%3C/svg%3E"); }

/* Escritorio en tarjetas */
.mf-acc-hello h2 { margin: 0 0 4px; color: var(--mf-navy); }
.mf-acc-hello p { margin: 0 0 22px; color: var(--mf-blue); font-size: 1.1em; }
.mf-acc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 16px; }
.mf-acc-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--mf-line); border-radius: 10px; background: #fff; color: var(--mf-navy); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.mf-acc-card .mf-ico { width: 40px; height: 40px; color: var(--mf-blue); margin-bottom: 4px; }
.mf-acc-card strong { font-size: 1.15em; }
.mf-acc-card span:last-child { font-size: .95em; line-height: 1.5; }
.mf-acc-card:hover, .mf-acc-card:focus-visible { border-color: var(--mf-gold); box-shadow: 0 6px 18px rgba(31, 58, 112, .1); transform: translateY(-2px); }
.mf-acc-foot { margin-top: 22px; font-size: .95em; }

/* Boletos */
.mf-acc-lead { margin: 0 0 20px; }
.mf-acc-trip { margin: 0 0 28px; padding: 22px; border: 1px solid var(--mf-line); border-radius: 10px; background: #fff; }
.mf-acc-trip > header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; color: var(--mf-blue); }
.mf-acc-trip > header h3 { margin: 0; color: var(--mf-navy); }
.mf-acc-trip > header p { margin: 2px 0 0; color: var(--mf-navy); font-size: .95em; }
.mf-acc-tickets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.mf-acc-ticket { display: flex; align-items: center; gap: 16px; padding: 16px; border: 1px solid var(--mf-line); border-left: 4px solid var(--mf-gold); border-radius: 8px; background: var(--mf-mist); }
.mf-acc-ticket img { width: 110px; height: 110px; flex: 0 0 auto; border-radius: 6px; background: #fff; }
.mf-acc-ticket h4 { margin: 0 0 4px; color: var(--mf-navy); }
.mf-acc-ticket p { margin: 0 0 10px; font-size: .95em; }
.mf-acc-btn { display: inline-block; padding: 10px 22px; border: 1px solid var(--mf-navy); border-radius: 999px; background: var(--mf-navy); color: #fff; font-weight: 600; font-size: .95em; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.mf-acc-btn:hover, .mf-acc-btn:focus-visible { background: var(--mf-gold); border-color: var(--mf-gold); color: var(--mf-navy); }
.mf-acc-btn--ghost { background: #fff; color: var(--mf-navy); }
.mf-acc-resend { margin: 16px 0 0; }
.mf-acc-note { margin: 0 0 16px; padding: 14px 16px; border-left: 4px solid var(--mf-gold); background: var(--mf-mist); color: var(--mf-navy); line-height: 1.55; }
.mf-acc-note--failed { border-left-color: #a12c2c; }
.mf-acc-note--sent { border-left-color: #2e7d5b; }
@media (max-width: 600px) { .mf-acc-ticket { flex-direction: column; align-items: flex-start; } .mf-acc-ticket img { width: 150px; height: 150px; } }
.woocommerce-account .woocommerce-MyAccount-navigation-link--payment-methods { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='2'/%3E%3Cpath d='M3 10h18M7 15h4'/%3E%3C/svg%3E"); }
/* Cualquier otra sección de WooCommerce sin ícono propio: un punto, nunca un cuadro */
:where(.woocommerce-MyAccount-navigation li) { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='3.5' fill='black'/%3E%3C/svg%3E"); }
