:root {
    --shell-wine: #a3002a;
    --shell-ink: #292430;
    --shell-muted: #706b73;
    --shell-line: #ebe7e9;
}

.nav-container,
.nav-containerLogged { width: 100%; flex: 0 0 auto; margin-inline: 0; border-bottom: 1px solid var(--shell-line); background: rgba(251,248,245,.94); }
.nav-container .navbar,
.nav-containerLogged .navbar { box-sizing: border-box; width: min(1140px, calc(100% - 40px)); max-width: 1140px; min-height: 78px; margin: 0 auto; padding: 8px 16px; background: transparent !important; box-shadow: none; }
.nav-container .navbar { margin: 0 auto; }
.nav-container .shell-brand,
.nav-containerLogged .shell-brand { display: inline-flex; flex: 0 0 auto; align-items: center; margin: 0; padding: 0; }
.nav-container .shell-brand img,
.nav-containerLogged .shell-brand img { display: block; width: 190px; height: auto; }
.nav-container .navbar-always { display: flex; align-items: center; gap: 28px; margin: 0 0 0 auto; padding: 0; }
.nav-container .navbar-always > li { display: inline-flex; align-items: center; }
.nav-container .shell-nav-link { color: var(--shell-ink); font-size: .92rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.nav-container .shell-nav-link:hover { color: var(--shell-wine); }
.nav-container .shell-primary-action { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; padding: 0 18px; border-radius: 999px; background: #b9052b; color: #fff; box-shadow: 0 10px 25px rgba(185,5,43,.2); font-size: .92rem; font-weight: 760; text-decoration: none; white-space: nowrap; }
.nav-container .shell-primary-action:hover { background: #8b001e; color: #fff; }

.language-picker { position: relative; color: var(--shell-ink); }
.language-picker summary {
    display: inline-flex; min-height: 38px; align-items: center; gap: 7px;
    padding: 7px 11px; border: 1px solid var(--shell-line); border-radius: 999px;
    background: #fff; font-weight: 600; cursor: pointer; list-style: none;
}
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker summary::after { content: "\25BE"; font-size: 10px; color: var(--shell-muted); }
.language-picker[open] summary { border-color: rgba(163,0,42,.35); box-shadow: 0 0 0 3px rgba(163,0,42,.08); }
.language-picker-menu {
    position: absolute; z-index: 1050; top: calc(100% + 8px); right: 0; min-width: 156px;
    padding: 7px; border: 1px solid var(--shell-line); border-radius: 12px; background: #fff;
    box-shadow: 0 16px 38px rgba(35,24,29,.14);
}
.language-picker-menu button {
    display: flex; width: 100%; justify-content: space-between; padding: 9px 10px;
    color: var(--shell-ink); border: 0; border-radius: 8px; background: transparent;
    text-align: left; cursor: pointer;
}
.language-picker-menu button:hover,
.language-picker-menu button:focus { background: #f7f3f4; }
.language-picker-menu button[aria-current="true"] { color: var(--shell-wine); font-weight: 700; }

.nav-containerLogged { box-shadow: 0 8px 30px rgba(35,24,29,.04); }
.nav-containerLogged .navbar-brand { flex: 0 0 auto; margin-right: 34px; }
.nav-containerLogged .navbar-collapse { flex: 1 1 auto; min-width: 0; justify-content: flex-end; gap: 24px; padding: 0 !important; border: 0; border-radius: 0; background: transparent; }
.nav-containerLogged .navbar-nav { align-items: center; gap: 24px; margin: 0 !important; padding: 0; border: 0; border-radius: 0; background: transparent; }
.nav-containerLogged .navbar-collapse > hr { display: none; }
.nav-containerLogged .nav-primary-space { order: 1; }
.nav-containerLogged .nav-discover-link { order: 2; }
.nav-containerLogged .nav-app-launcher { order: 3; }
.nav-containerLogged .nav-primary-space .nav-link,
.nav-containerLogged .nav-discover-link .nav-link,
.nav-containerLogged .nav-app-launcher > .nav-link {
    display: flex; min-height: 42px; align-items: center; gap: 7px; padding: 9px 2px;
    border-radius: 0; color: var(--shell-ink); font-size: 14px; font-weight: 650; white-space: nowrap;
}
.nav-containerLogged .navbar-nav .nav-item,
.nav-containerLogged .navbar-nav .nav-link { margin: 0 !important; }
.nav-containerLogged .nav-primary-space .nav-link:hover,
.nav-containerLogged .nav-discover-link .nav-link:hover,
.nav-containerLogged .nav-app-launcher > .nav-link:hover { background: transparent; color: var(--shell-wine); }
.nav-containerLogged .nav-primary-space .nav-link { background: transparent; color: var(--shell-wine); }
.nav-containerLogged .nav-primary-space .nav-link svg path { fill: currentColor !important; }
.nav-containerLogged .nav-primary-space svg { width: 18px; height: 18px; }
.nav-containerLogged .nav-app-launcher .dropdown-menu {
    width: min(560px, calc(100vw - 32px)); padding: 14px; border: 1px solid var(--shell-line);
    border-radius: 16px; box-shadow: 0 20px 50px rgba(35,24,29,.16);
}
.app-launcher-title { padding: 4px 8px 9px; color: var(--shell-muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.app-launcher-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; }
.app-launcher-grid .dropdown-item { display: flex; min-width: 0; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; white-space: normal; }
.app-launcher-grid .dropdown-item i { width: 18px; color: var(--shell-wine); text-align: center; }
.app-launcher-grid .dropdown-item:hover { background: #f7f3f4; }

.nav-containerLogged .navbar-bottomLogged { flex: 0 0 auto; width: auto !important; margin: 0 !important; }
.nav-containerLogged .navbar-bottomLogged ul { display: flex; width: auto !important; align-items: center; gap: 24px; margin: 0 !important; padding: 0; border: 0; border-radius: 0; background: transparent; }
.nav-containerLogged .navbar-bottomLogged li { width: auto !important; min-width: 0 !important; margin: 0 !important; }
.nav-containerLogged .navbar-bottomLogged ul > li,
.nav-containerLogged .navbar-bottomLogged ul > li:last-child,
.nav-containerLogged .navbar-bottomLogged ul > li > * { margin-right: 0 !important; }
.nav-containerLogged .navbar-bottomLogged a:not(.button-live) {
    display: inline-flex; width: auto !important; height: 38px; min-height: 38px; align-items: center; justify-content: center; gap: 7px; padding: 0;
    border-radius: 0; color: var(--shell-ink); white-space: nowrap;
}
.nav-containerLogged .navbar-bottomLogged a:hover { background: transparent; color: var(--shell-wine); text-decoration: none; }
.nav-containerLogged .navbar-bottomLogged .button-live { min-height: 38px; padding: 8px 0; border: 0; border-radius: 0; background: transparent; color: var(--shell-ink); box-shadow: none; font-size: 14px; font-weight: 650; }
.nav-containerLogged .navbar-bottomLogged .button-live:hover { background: transparent; color: var(--shell-wine); }
.header-action-label { display: none; font-size: 13px; font-weight: 600; }
.nav-containerLogged .navbar-bottomLogged .badge { position: absolute; margin: -15px 0 0 -8px; }

.notification-menu .dropdown-toggle::after { display: none; }
.nav-containerLogged .notification-dropdown {
    width: min(390px, calc(100vw - 28px));
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--shell-line);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(35,24,29,.16);
}
.notification-dropdown-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 17px 12px; border-bottom: 1px solid var(--shell-line); }
.notification-dropdown-head strong { color: var(--shell-ink); font-size: 16px; }
.notification-dropdown-head span { min-width: 24px; padding: 3px 7px; border-radius: 999px; background: var(--shell-wine); color: #fff; font-size: 12px; text-align: center; }
.notification-dropdown-list { max-height: 360px; overflow-y: auto; padding: 7px; }
.notification-summary,
.notification-preview { display: flex !important; width: 100% !important; align-items: center; gap: 10px; padding: 10px !important; border-radius: 10px !important; color: var(--shell-ink) !important; white-space: normal !important; }
.notification-summary { background: #faf5f6; }
.notification-summary i { width: 24px; color: var(--shell-wine); text-align: center; }
.notification-preview img { flex: 0 0 38px; width: 38px; height: 38px; object-fit: cover; }
.notification-preview span { min-width: 0; color: var(--shell-muted); font-size: 13px; line-height: 1.3; }
.notification-preview.is-unread { background: #fff4f6; }
.notification-preview.is-unread::after { content: ""; flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--shell-wine); }
.notification-empty { margin: 0; padding: 24px 14px; color: var(--shell-muted); text-align: center; }
.notification-view-all { display: block !important; width: 100% !important; padding: 13px !important; border-top: 1px solid var(--shell-line); border-radius: 0 !important; color: var(--shell-wine) !important; font-weight: 700; text-align: center; }

footer.footer-legacy { display: none !important; }
footer.footer-simple { padding: 34px 0; border-top: 1px solid var(--shell-line); background: #fbf8f5; color: var(--shell-muted); }
.footer-simple-inner { display: flex; min-height: 0; align-items: center; justify-content: space-between; gap: 28px; width: min(1160px,calc(100% - 40px)); margin: 0 auto; }
.footer-simple-identity { display: flex; align-items: center; gap: 16px; }
.footer-simple-brand { display: inline-flex; color: var(--shell-wine); }
.footer-simple-brand img { display: block; width: 150px; height: auto; }
.footer-simple-copy { font-size: 13px; }
.footer-simple-links { display: flex; align-items: center; justify-content: flex-end; gap: 18px; margin: 0; padding: 0; list-style: none; }
.footer-simple-links a { color: var(--shell-muted); font-size: 13px; }
.footer-simple-links a:hover { color: var(--shell-wine); text-decoration: none; }

footer.footer { position: relative; padding-top: 44px; background: #251f23; color: rgba(255,255,255,.76); }
footer.footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg,var(--shell-wine),#d84b69 55%,transparent); }
footer.footer > .row { display: grid; grid-template-columns: 1.35fr .72fr .9fr .9fr; gap: 42px; max-width: 1120px; margin: 0 auto !important; padding: 0 0 36px; }
footer.footer > .row > div { width: auto !important; max-width: none !important; padding: 0 !important; }
footer.footer > .row h4 { margin-bottom: 15px; color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
footer.footer > .row ul li { margin-bottom: 9px; }
footer.footer > .row a { color: rgba(255,255,255,.78); }
footer.footer > .row a:hover { color: #fff; }
footer.footer .footer-logo svg { width: 154px; height: auto; margin-bottom: 14px; }
footer.footer .coming-soon-txt { max-width: 290px; margin: 0 0 18px; color: rgba(255,255,255,.66); font-size: 14px; line-height: 1.5; }
footer.footer .footer-logo > a { display: inline-block; margin: 0 7px 8px 0; }
footer.footer .footer-logo > a img { height: 34px; width: auto; }
footer.footer .footer-redes ul { display: flex; gap: 10px; }
footer.footer .footer-redes ul li { margin: 0; }
footer.footer .footer-redes svg { width: 28px; height: 28px; opacity: .86; transition: opacity .2s ease, transform .2s ease; }
footer.footer .footer-redes a:hover svg { opacity: 1; transform: translateY(-2px); }
footer.footer .container-footerLaw { border-top: 1px solid rgba(255,255,255,.12); background: transparent; }
footer.footer .footer-law { max-width: 1120px; margin: 0 auto; padding: 18px 0; }
footer.footer .footer-law ul { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
footer.footer .footer-law ul li { margin: 0; }
footer.footer .footer-creditos { margin-left: auto !important; }

.notifications-page { width: min(960px, calc(100% - 36px)); margin: 38px auto 70px; }
.notifications-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.notifications-kicker { margin: 0 0 5px; color: var(--shell-wine) !important; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.notifications-page-head h1 { margin: 0 0 7px; color: var(--shell-ink); font-family: Georgia,"Times New Roman",serif; font-size: clamp(34px,5vw,52px); }
.notifications-page-head p { margin: 0; color: var(--shell-muted); }
.notifications-clear,
.request-primary,
.request-secondary { padding: 9px 13px; border-radius: 999px; font-weight: 700; cursor: pointer; }
.notifications-clear,
.request-secondary { border: 1px solid var(--shell-line); background: #fff; color: var(--shell-ink); }
.request-primary { border: 1px solid var(--shell-wine); background: var(--shell-wine); color: #fff; }
.notifications-tabs { display: flex; gap: 8px; margin-bottom: 24px; overflow-x: auto; }
.notifications-tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border: 1px solid var(--shell-line); border-radius: 999px; background: #fff; color: var(--shell-ink); font-weight: 700; white-space: nowrap; }
.notifications-tabs a:hover { border-color: rgba(163,0,42,.35); text-decoration: none; }
.notifications-tabs span { min-width: 22px; padding: 2px 6px; border-radius: 999px; background: #f5e9ec; color: var(--shell-wine); font-size: 12px; text-align: center; }
.notification-section { margin-top: 28px; scroll-margin-top: 90px; }
.notification-section h2 { margin-bottom: 11px; color: var(--shell-ink); font-size: 18px; }
.notification-panel { overflow: hidden; border: 1px solid var(--shell-line); border-radius: 16px; background: #fff; box-shadow: 0 12px 32px rgba(35,24,29,.05); }
.notification-row { display: flex; width: 100%; align-items: center; gap: 12px; padding: 14px 16px; border: 0; border-bottom: 1px solid var(--shell-line); background: #fff; color: var(--shell-muted); text-align: left; cursor: pointer; }
.notification-row:last-child { border-bottom: 0; }
.notification-row:hover { background: #faf7f8; }
.notification-row.is-unread { background: #fff8f9; }
.notification-row img { flex: 0 0 44px; width: 44px; height: 44px; object-fit: cover; }
.notification-row span { flex: 1; min-width: 0; }
.notification-row i { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--shell-wine); }
.request-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 16px; border-bottom: 1px solid var(--shell-line); }
.request-row:last-child { border-bottom: 0; }
.request-row > a { display: flex; min-width: 0; align-items: center; gap: 12px; color: var(--shell-ink); }
.request-row img { flex: 0 0 44px; width: 44px; height: 44px; object-fit: cover; }
.request-row small { display: block; margin-top: 3px; color: var(--shell-muted); }
.request-row > div { display: flex; gap: 7px; }
.notification-page-empty { margin: 0; padding: 28px 18px; color: var(--shell-muted); text-align: center; }

@media (max-width: 1199px) {
    footer.footer > .row,
    footer.footer .footer-law { width: min(100% - 40px, 1120px); }
}
@media (max-width: 991px) {
    .nav-containerLogged .navbar { width: 100%; padding-inline: 18px; }
    .nav-containerLogged .navbar-collapse { padding: 14px 0 8px !important; border: 0; border-top: 1px solid var(--shell-line); border-radius: 0; background: #fff; }
    .nav-containerLogged .navbar-collapse { gap: 0; }
    .nav-containerLogged .navbar-nav { align-items: stretch; gap: 4px; margin: 0 !important; border: 0; border-radius: 14px; background: transparent; }
    .nav-containerLogged .navbar-collapse > hr { display: block; width: 100%; height: 1px; margin: 12px 0; background: var(--shell-line); }
    .nav-containerLogged .nav-primary-space { order: 0; }
    .nav-containerLogged .nav-discover-link,
    .nav-containerLogged .nav-app-launcher { display: none; }
    .nav-containerLogged .navbar-bottomLogged { margin: 12px 0 0; }
    .nav-containerLogged .navbar-bottomLogged ul { justify-content: flex-start; flex-wrap: wrap; border: 0; border-radius: 14px; background: transparent; }
    .nav-containerLogged .navbar-bottomLogged a:not(.button-live) { width: auto !important; padding: 0 12px; border-radius: 10px; }
    .header-action-label { display: inline; }
    .nav-containerLogged .notification-dropdown { position: static !important; width: 100%; transform: none !important; }
    footer.footer > .row { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
}
@media (max-width: 575px) {
    .nav-container .navbar { width: 100%; min-height: 64px; padding-inline: 14px; }
    .nav-container .navbar-always { gap: 10px; }
    .nav-container .navbar-always > li:first-child { display: none; }
    .language-picker-current { display: none; }
    .app-launcher-grid { grid-template-columns: 1fr; }
    footer.footer { padding-top: 38px; }
    footer.footer > .row { grid-template-columns: 1fr; gap: 26px; width: calc(100% - 44px); }
    footer.footer .footer-law { width: calc(100% - 44px); }
    footer.footer .footer-creditos { width: 100%; margin-left: 0 !important; }
    .footer-simple-inner { min-height: 0; align-items: flex-start; padding: 24px 0; flex-direction: column; }
    .footer-simple-identity { align-items: flex-start; flex-direction: column; gap: 5px; }
    .footer-simple-links { justify-content: flex-start; flex-wrap: wrap; gap: 10px 16px; }
    .notifications-page { margin-top: 24px; }
    .notifications-page-head { align-items: flex-start; flex-direction: column; }
    .request-row { align-items: flex-start; flex-direction: column; }
    .request-row > div { width: 100%; }
    .request-row button { flex: 1; }
}
