.lcu-page { background: #f2f6fb; color: #10233d; }
.lcu-header { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .75rem 1.25rem; padding: .5rem 1rem; background: #fff; border-bottom: 1px solid #dce5ef; }
.lcu-header img { object-fit: contain; }
.lcu-header a, .lcu-main a:not(.lcu-button), .lcu-account-link { color: #075aa9; font-weight: 700; }
.lcu-main { width: min(100% - 2rem, 32rem); margin: 1.5rem auto; padding: clamp(1rem, 4vw, 2rem); border-radius: 1rem; background: #fff; box-shadow: 0 8px 28px rgba(16,35,61,.08); overflow-wrap: anywhere; }
.lcu-main.lcu-wide { width: min(100% - 1rem, 74rem); background: transparent; box-shadow: none; }
.lcu-main h1, .lcu-main h2 { color: #075aa9; margin: 0 0 1rem; }
.lcu-header a, .lcu-tabs a, .lcu-account-link { display: inline-flex; align-items: center; min-height: 2.5rem; }
.lcu-card { background: #fff; border: 1px solid #dce5ef; border-radius: .85rem; padding: 1rem; margin: 0 0 1rem; }
.lcu-card h3, .lcu-form h3, .lcu-form p { margin: 0; }
.lcu-card details { margin: 0 0 .75rem; }
.lcu-card summary { cursor: pointer; color: #075aa9; }
.lcu-form, .lcu-fields { display: grid; gap: .85rem; }
.lcu-form label { display: grid; gap: .35rem; font-weight: 650; min-width: 0; }
.lcu-form input:not([type=checkbox]), .lcu-form select { width: 100%; min-height: 2.75rem; background: #fff; border: 1px solid #bccde0; border-radius: .55rem; padding: .45rem .65rem; color: inherit; font: inherit; }
.lcu-form .lcu-check { display: flex; align-items: center; gap: .5rem; }
.lcu-button { display: inline-block; width: fit-content; padding: .65rem .95rem; min-height: 2.75rem; background: #ffc928; color: #10233d; border: 0; border-radius: .55rem; font: inherit; font-weight: 750; cursor: pointer; }
.lcu-button:disabled, .lcu-fav:disabled { opacity: .65; cursor: wait; }
.lcu-links, .lcu-tabs { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin: 1rem 0; }
.lcu-tabs a { padding: .4rem .75rem; border-radius: .5rem; background: #fff; }
.lcu-tabs a[aria-current=page] { background: #075aa9; color: #fff; }
.lcu-error, .lcu-notice { padding: .75rem; border-radius: .5rem; }
.lcu-error { background: #fff0f0; color: #9b1c1c; }
.lcu-notice { background: #e8f3fe; color: #075aa9; }
.lcu-result { white-space: pre-line; }
.lcu-result:empty { display: none; }
.lcu-account-link { gap: .25em; font-size: .85rem; white-space: nowrap; }
.lcu-account-name { max-width: 7rem; text-overflow: ellipsis; overflow: hidden; }
.lcu-account-name::before { content: '· '; }
.lcu-header-actions { display: flex; align-items: center; gap: .6rem; }
.lcu-products { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; }
.lcu-fav { position: absolute; right: .45rem; bottom: .45rem; z-index: 1; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; background: #fff; color: #075aa9; border: 1px solid #dce5ef; border-radius: 50%; font: 1.4rem/1 sans-serif; cursor: pointer; }
.lcu-fav[aria-pressed=true] { color: #a41746; background: #fff0f4; }
.shop-image:has(.lcu-fav) { position: relative; }
.lcu-main .lcp-descuento { background: #ffc928; color: #10233d; border-radius: .35rem; padding: .15rem .4rem; font-weight: 800; }
@media (min-width: 42rem) {
    .lcu-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .lcu-products { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (min-width: 62rem) {
    .lcu-products { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 40rem) {
    .lcu-header-actions { gap: .35rem; }
    .lcu-account-link:has(.lcu-account-name) { flex-direction: column; justify-content: center; gap: 0; line-height: 1.15; }
    .lcu-account-name { max-width: 4rem; font-size: .75rem; }
    .lcu-account-name::before { content: none; }
}
@media (max-width: 25rem) {
    .lcu-products { grid-template-columns: 1fr; }
}
.offer-card-image:has(.lcu-fav), .lr-tarjeta:has(.lcu-fav), .lcp-tarjeta:has(.lcu-fav) { position: relative; }
.lr-tarjeta > .lcu-fav, .lcp-tarjeta > .lcu-fav { top: .4rem; bottom: auto; }
@media (max-width: 680px) {
    .simple-shop .simple-header:has(.lcu-header-actions) {
        grid-template-columns: 44px minmax(0,1fr) auto !important;
    }
    .simple-header .lcu-header-actions { grid-row: 1; grid-column: 3; }
}
.lcu-save-checkout { display: flex; align-items: center; gap: .5rem; margin-top: 1rem; }
.featured-item:has(.lcu-fav) { position: relative; padding-right: 3.25rem; }
.checkout-page #resumen-compra { scroll-margin-top: 10rem; }

/* Lug 2026-11-24: ajustes de celular (encabezado compacto, cuenta como ícono, corazón arriba a la izquierda) */
@media (max-width: 640px) {
    .simple-shop .simple-header { row-gap: 5px !important; padding-bottom: 6px !important; }
    .simple-header .purchase-mode { padding: 2px !important; min-height: 0 !important; height: auto !important; grid-row: 2 !important; }
    .simple-header .purchase-mode .mode-btn { height: 30px !important; min-height: 30px !important; padding: 0 18px !important; font-size: 12px !important; }
    .simple-header .lcu-account-link { font-size: 0; width: 40px; height: 40px; min-height: 40px; justify-content: center; border-radius: 50%; background: #eef6ff; }
    .simple-header .lcu-account-link .lcu-account-name { display: none; }
    .simple-header .lcu-account-link::before { content: "👤"; font-size: 18px; line-height: 1; }
    .shop-image > .lcu-fav { top: .45rem; left: .45rem; right: auto; bottom: auto; width: 2.25rem; height: 2.25rem; font-size: 1.1rem; }
    .lr-tarjeta > .lcu-fav, .lcp-tarjeta > .lcu-fav { width: 2.25rem; height: 2.25rem; font-size: 1.1rem; }
}
