@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('../../fonts/plus-jakarta-sans-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: italic;
    font-weight: 600;
    font-display: swap;
    src: url('../../fonts/plus-jakarta-sans-italic-latin.woff2') format('woff2');
}

:root {
    --shop-ink: #1d1d22;
    --shop-muted: #5c5c66;
    --shop-paper: #fafbfc;
    --shop-card: #ffffff;
    --shop-line: #e2e4e6;
    --shop-accent: #5b6356;
    --shop-green: #6a756b;
    --shop-primary: #46464d;
    --shop-on-primary: #ffffff;
    --shop-primary-container: #e6e6ea;
    --shop-on-primary-container: #212126;
    --shop-container: #eef0f2;
    --shop-container-high: #e9ebed;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body.app-listas {
    background: var(--shop-paper);
    color: var(--shop-ink);
    font-family: 'Plus Jakarta Sans', sans-serif;
    min-width: 320px;
}

.shopping-app {
    min-height: 100vh;
}

.app-container {
    margin-inline: auto;
    max-width: 1280px;
    padding-inline: 32px;
    width: 100%;
}

.icon-sprite {
    height: 0;
    overflow: hidden;
    position: absolute;
    width: 0;
}

.shopping-app svg,
.catalog-app svg,
.shopping-modal svg {
    fill: none;
    height: 20px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 20px;
}

.shopping-header {
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(29, 29, 34, .07);
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(29, 29, 34, .1);
    backdrop-filter: blur(16px);
    margin-bottom: 10px;
    margin-inline: auto;
    padding: 0 14px;
    position: sticky;
    top: 15px;
    width: min(1280px, calc(100% - 28px));
    z-index: 1020;
}

.header-inner {
    align-items: center;
    display: flex;
    height: 68px;
    justify-content: space-between;
}

.app-brand {
    align-items: center;
    color: var(--shop-ink);
    display: inline-flex;
    font-size: .95rem;
    font-weight: 800;
    gap: 10px;
    letter-spacing: -.04em;
    text-decoration: none;
}

.app-brand > span:last-child span {
    color: var(--shop-accent);
}

.brand-mark {
    align-items: center;
    background: var(--shop-ink);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.shopping-app .brand-mark svg,
.catalog-app .brand-mark svg,
.menus-app .brand-mark svg {
    height: 16px;
    width: 16px;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.header-user {
    align-items: center;
    background: rgba(255, 255, 255, .58);
    border: 1px solid rgba(32, 37, 31, .1);
    border-radius: 999px;
    color: var(--shop-ink);
    display: inline-flex;
    font-size: .82rem;
    font-weight: 700;
    max-width: 200px;
    min-height: 44px;
    overflow: hidden;
    padding: 10px 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.module-nav {
    align-items: center;
    background: rgba(255, 255, 255, .58);
    border: 1px solid rgba(32, 37, 31, .1);
    border-radius: 999px;
    display: flex;
    left: 50%;
    padding: 4px;
    position: absolute;
    transform: translateX(-50%);
}

.module-nav a {
    border-radius: 999px;
    color: #626860;
    font-size: .72rem;
    font-weight: 700;
    padding: 8px 15px;
    text-decoration: none;
}

.module-nav a.active {
    background: var(--shop-ink);
    color: #fff;
}

.btn-ink,
.btn-ghost {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: .82rem;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
}

.btn-ink svg,
.btn-ghost svg {
    display: block;
}

.btn-ink {
    background: var(--shop-ink);
    border: 1px solid var(--shop-ink);
    color: #fff;
}

.btn-ink:hover,
.btn-ink:focus,
.btn-ink:focus-visible {
    background: #35353c;
    border-color: #35353c;
    color: #fff;
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--shop-line);
    color: var(--shop-ink);
}

.btn-ghost:hover,
.btn-ghost:focus {
    background: #fff;
    border-color: var(--shop-ink);
    color: var(--shop-ink);
}

.lists-nav-section {
    padding-top: 34px;
}

.lists-nav-heading {
    align-items: baseline;
    display: flex;
    gap: 9px;
    margin-bottom: 12px;
}

.lists-nav-heading span {
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.lists-nav-heading small {
    color: var(--shop-muted);
    font-size: .6rem;
}

.lists-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.list-tab {
    align-items: center;
    background: rgba(255, 255, 255, .45);
    border: 1px solid var(--shop-line);
    border-radius: 999px;
    color: var(--shop-muted);
    display: inline-flex;
    flex: none;
    font-size: .72rem;
    font-weight: 700;
    gap: 8px;
    min-height: 38px;
    padding: 8px 13px;
    text-decoration: none;
}

.list-tab:hover,
.list-tab:focus-visible {
    border-color: var(--shop-ink);
    color: var(--shop-ink);
    outline: none;
}

.list-tab.active {
    background: var(--shop-ink);
    border-color: var(--shop-ink);
    color: #fff;
}

.list-tab small {
    align-items: center;
    background: rgba(255, 255, 255, .16);
    border-radius: 50%;
    display: flex;
    font-size: .55rem;
    height: 20px;
    justify-content: center;
    min-width: 20px;
}

.list-tab-new {
    background: transparent;
    color: var(--shop-ink);
}

.list-intro {
    padding-bottom: 40px;
    padding-top: 38px;
}

.list-intro-row {
    align-items: end;
    display: flex;
    gap: 48px;
    justify-content: space-between;
}

.list-intro-copy h1 {
    font-size: clamp(2.35rem, 4vw, 3.9rem);
    font-weight: 800;
    letter-spacing: -.06em;
    line-height: 1;
    margin: 0;
}

.list-intro-copy p {
    color: var(--shop-muted);
    font-size: .92rem;
    margin: 13px 0 0;
}

.list-intro-copy p em {
    color: var(--shop-green);
    font-family: inherit;
    font-size: 1.05rem;
    font-style: normal;
    font-weight: 800;
}

.list-intro-side {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.list-actions {
    display: flex;
    gap: 12px;
}

.list-actions button {
    background: transparent;
    border: 0;
    color: var(--shop-muted);
    font-size: .62rem;
    font-weight: 700;
    padding: 0;
}

.list-actions button:hover,
.list-actions button:focus-visible {
    color: var(--shop-ink);
    outline: none;
    text-decoration: underline;
}

.eyebrow,
.modal-step {
    color: var(--shop-accent);
    display: block;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .14em;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.summary-card {
    display: flex;
    flex: none;
}

.summary-card div {
    align-items: flex-end;
    border-left: 1px solid var(--shop-line);
    display: flex;
    flex-direction: column;
    min-width: 94px;
    padding: 2px 20px;
}

.summary-card div:first-child {
    border-left: 0;
}

.summary-card strong {
    color: var(--shop-ink);
    font-size: 1.45rem;
    letter-spacing: -.05em;
    line-height: 1;
}

.summary-card span {
    color: var(--shop-muted);
    font-size: .62rem;
    margin-top: 7px;
}

.toast-region {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    left: 50%;
    max-width: calc(100vw - 32px);
    pointer-events: none;
    position: fixed;
    top: 18px;
    transform: translateX(-50%);
    z-index: 2000;
}

.app-toast {
    align-items: center;
    background: var(--shop-ink);
    border-radius: 999px;
    box-shadow: 0 18px 45px rgba(26, 31, 25, .28);
    color: #fff;
    display: flex;
    gap: 10px;
    max-width: 560px;
    padding: 12px 18px;
    pointer-events: auto;
    width: fit-content;
}

.app-toast.is-danger {
    background: #b93c2a;
}

.app-toast-dot {
    background: var(--shop-green);
    border-radius: 50%;
    flex: 0 0 9px;
    height: 9px;
    width: 9px;
}

.app-toast.is-danger .app-toast-dot {
    background: #fff;
}

.app-toast-msg {
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.45;
}

.app-toast-close {
    background: none;
    border: 0;
    color: inherit;
    font-size: 1.15rem;
    line-height: 1;
    margin-left: 2px;
    opacity: .7;
    padding: 0;
}

.app-toast-close:hover {
    opacity: 1;
}

.app-toast-anim {
    animation: appToastIn .28s ease;
}

@keyframes appToastIn {
    from {
        opacity: 0;
        transform: translateY(-12px) scale(.96);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 620px) {
    .toast-region {
        max-width: calc(100vw - 24px);
        top: 12px;
    }

    .app-toast {
        border-radius: 18px;
        width: 100%;
    }
}

.app-alert {
    border: 0;
    border-radius: 14px;
    margin-bottom: 32px;
}

.products-section {
    padding-bottom: 80px;
}

.product-toolbar {
    align-items: center;
    border-bottom: 1px solid var(--shop-line);
    display: flex;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 18px;
}

.grouping-select {
    border-color: var(--shop-line);
    border-radius: 999px;
    font-size: .68rem;
    max-width: 150px;
    min-height: 42px;
}

.product-group-title {
    border-bottom: 1px solid var(--shop-line);
    font-size: .78rem;
    font-weight: 800;
    grid-column: 1 / -1;
    letter-spacing: .08em;
    margin: 12px 0 0;
    padding-bottom: 10px;
    text-transform: uppercase;
}

.item-quantity {
    color: var(--shop-muted);
    font-size: .6rem;
    margin: -10px 0 12px;
}

.filter-pills {
    display: flex;
    gap: 7px;
}

.filter-pills button {
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: var(--shop-muted);
    font-size: clamp(0rem, 3.2vw, .76rem);
    font-weight: 700;
    padding: 9px 10px;
    white-space: nowrap;
}

.filter-pills button span {
    opacity: .55;
    padding-left: 4px;
}

.filter-pills button.active {
    background: var(--shop-ink);
    color: #fff;
}

.search-box {
    align-items: center;
    color: var(--shop-muted);
    display: flex;
    max-width: 260px;
    position: relative;
    width: 100%;
}

.search-box svg {
    height: 17px;
    left: 15px;
    position: absolute;
    width: 17px;
}

.search-box input {
    background: rgba(255, 255, 255, .5);
    border: 1px solid var(--shop-line);
    border-radius: 999px;
    color: var(--shop-ink);
    font-size: .78rem;
    height: 42px;
    outline: none;
    padding: 0 40px 0 42px;
    width: 100%;
}

.search-box input[type="search"]::-webkit-search-cancel-button,
.search-box input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.search-box input[type="search"]::-ms-clear {
    display: none;
}

.search-clear {
    align-items: center;
    background: var(--shop-container);
    border: 0;
    border-radius: 50%;
    color: var(--shop-ink);
    display: flex;
    height: 24px;
    justify-content: center;
    line-height: 0;
    padding: 0;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
}

.search-clear svg {
    height: 12px;
    left: auto;
    position: static;
    width: 12px;
}

.search-clear:hover,
.search-clear:focus-visible {
    background: var(--shop-container-high);
    outline: none;
}

.search-box input:focus {
    background: #fff;
    border-color: var(--shop-green);
    box-shadow: 0 0 0 3px rgba(93, 115, 88, .12);
}

.view-modes {
    align-items: center;
    display: flex;
    gap: 4px;
}

.view-modes button {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--shop-muted);
    font-size: .62rem;
    font-weight: 700;
    min-height: 34px;
    padding: 6px 10px;
}

.view-modes button.active {
    background: #fff;
    border-color: var(--shop-line);
    color: var(--shop-ink);
}

.product-collection.view-list,
.product-collection.view-compact {
    grid-template-columns: 1fr;
}

.view-list .product-card,
.view-list .food-card,
.view-compact .product-card,
.view-compact .food-card {
    display: grid;
    position: relative;
}

.view-list .product-card,
.view-list .food-card {
    grid-template-columns: 1fr;
}

.view-list .product-image,
.view-list .food-card-image {
    background: transparent;
    height: 0;
    overflow: visible;
    position: static;
}

.view-list .product-image > img,
.view-list .food-card-image > img,
.view-list .image-fallback,
.view-list .category-chip,
.view-list .purchased-badge {
    display: none;
}

.view-list .card-actions {
    opacity: 1;
    right: 14px;
    top: 14px;
    transform: none;
}

.view-list .product-body,
.view-list .food-card-body {
    padding-right: 150px;
}

.view-list .product-body h2,
.view-list .food-card-body h2 {
    margin-bottom: 12px;
    min-height: 0;
}

.view-compact .product-card,
.view-compact .food-card {
    grid-template-columns: 92px minmax(0, 1fr);
}

.view-compact .product-image,
.view-compact .food-card-image {
    aspect-ratio: auto;
    height: 100%;
    min-height: 92px;
}

.view-compact .product-body,
.view-compact .food-card-body {
    padding: 14px 16px;
}

.view-compact .product-body h2,
.view-compact .food-card-body h2 {
    margin: 7px 0 11px;
    min-height: 0;
}

.view-compact .card-actions {
    opacity: 1;
    right: 8px;
    top: 8px;
    transform: none;
}

.products-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.product-card {
    background: var(--shop-card);
    border: 1px solid rgba(32, 37, 31, .1);
    border-radius: 19px;
    box-shadow: 0 8px 26px rgba(32, 37, 31, .045);
    min-width: 0;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.product-card:hover {
    box-shadow: 0 17px 42px rgba(32, 37, 31, .1);
    transform: translateY(-4px);
}

.shopping-app .product-card.is-purchased {
    background: rgba(106, 117, 107, .07);
    border: 1px solid rgba(106, 117, 107, .4);
}

.is-purchased .product-image img {
    filter: grayscale(1) opacity(.55);
}

.is-purchased .purchase-toggle {
    color: var(--shop-green);
}

.product-image {
    aspect-ratio: 1.12;
    background: #e9e6dd;
    overflow: hidden;
    position: relative;
}

.product-image > img {
    height: 100%;
    object-fit: cover;
    position: relative;
    transition: transform .45s ease;
    width: 100%;
    z-index: 1;
}

.product-card:hover .product-image > img {
    transform: scale(1.035);
}

.image-fallback {
    align-items: center;
    color: #aca99f;
    display: flex;
    inset: 0;
    justify-content: center;
    position: absolute;
}

.image-fallback svg {
    height: 42px;
    width: 42px;
}

.card-actions {
    display: flex;
    gap: 7px;
    opacity: 0;
    position: absolute;
    right: 12px;
    top: 12px;
    transform: translateY(-4px);
    transition: .2s ease;
    z-index: 3;
}

.product-card:hover .card-actions,
.card-actions:focus-within {
    opacity: 1;
    transform: none;
}

.card-actions button {
    align-items: center;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, .78);
    border: 0;
    border-radius: 50%;
    color: var(--shop-ink);
    display: flex;
    height: 38px;
    justify-content: center;
    line-height: 0;
    padding: 0;
    width: 38px;
}

.card-actions button:hover {
    background: var(--shop-ink);
    color: #fff;
}

.card-actions svg {
    display: block;
    height: 17px;
    width: 17px;
}

.purchased-badge {
    align-items: center;
    background: var(--shop-green);
    border-radius: 999px;
    bottom: 12px;
    color: #fff;
    display: inline-flex;
    font-size: .66rem;
    font-weight: 700;
    gap: 5px;
    left: 12px;
    padding: 7px 10px;
    position: absolute;
    z-index: 2;
}

.purchased-badge svg {
    height: 13px;
    width: 13px;
}

.product-body {
    padding: 14px 14px 12px;
}

.product-meta {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.product-meta span {
    color: var(--shop-accent);
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: .08em;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.product-meta strong {
    flex: none;
    font-size: .8rem;
}

.product-meta .price-missing {
    color: var(--shop-muted);
    font-size: .68rem;
    font-weight: 600;
}

.product-body h2 {
    display: -webkit-box;
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.4;
    margin: 10px 0 14px;
    min-height: 2.5em;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.is-purchased .product-body h2 {
    text-decoration: line-through;
}

.product-footer {
    align-items: center;
    border-top: 1px solid var(--shop-line);
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
}

.product-footer form {
    margin: 0;
}

.purchase-toggle {
    align-items: center;
    background: none;
    border: 0;
    color: var(--shop-muted);
    display: flex;
    font-size: .64rem;
    font-weight: 700;
    gap: 7px;
    min-height: 26px;
    padding: 0;
}

.purchase-toggle > span {
    align-items: center;
    border: 1px solid #a5a5ad;
    border-radius: 50%;
    display: flex;
    height: 20px;
    justify-content: center;
    width: 20px;
}

.purchase-toggle svg {
    height: 13px;
    opacity: 0;
    width: 13px;
}

.is-purchased .purchase-toggle > span {
    background: var(--shop-green);
    border-color: var(--shop-green);
    color: #fff;
}

.is-purchased .purchase-toggle svg {
    opacity: 1;
}

.product-link {
    color: var(--shop-muted);
    line-height: 0;
}

.product-link svg {
    display: block;
}

.product-link:hover {
    color: var(--shop-accent);
}

.empty-state,
.no-results {
    align-items: center;
    background: var(--shop-primary-container);
    border: 1px dashed #c7cad1;
    border-radius: 26px;
    display: flex;
    flex-direction: column;
    padding: 70px 24px;
    text-align: center;
}

.empty-visual {
    align-items: center;
    background: var(--shop-primary-container);
    border-radius: 50%;
    color: var(--shop-green);
    display: flex;
    height: 92px;
    justify-content: center;
    margin-bottom: 28px;
    position: relative;
    width: 92px;
}

.empty-visual svg {
    height: 37px;
    width: 37px;
}

.empty-visual span {
    align-items: center;
    background: var(--shop-accent);
    border: 4px solid var(--shop-paper);
    border-radius: 50%;
    bottom: -1px;
    color: #fff;
    display: flex;
    font-size: 1rem;
    height: 31px;
    justify-content: center;
    position: absolute;
    right: -1px;
    width: 31px;
}

.empty-state .eyebrow {
    margin-bottom: 10px;
}

.empty-state h2 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -.045em;
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--shop-muted);
    font-size: .88rem;
    margin-bottom: 24px;
}

.no-results {
    color: var(--shop-muted);
    margin-top: 16px;
    padding: 35px;
}

.shopping-modal .modal-dialog {
    box-sizing: border-box;
    max-width: min(800px, calc(100vw - 2rem));
    margin-bottom: 1rem;
    margin-top: 1rem;
    width: calc(100% - 2rem);
}

.shopping-modal .modal-content {
    background: var(--shop-card);
    border: 0;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(26, 31, 25, .22);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 2rem);
    max-width: 100%;
    overflow: hidden;
    width: 100%;
}

.shopping-modal .modal-content > form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    margin: 0;
    min-height: 0;
}

.shopping-modal .modal-header {
    align-items: flex-start;
    border-bottom: 1px solid var(--shop-line);
    flex: 0 0 auto;
    padding: 26px 28px 22px;
}

.shopping-modal .modal-step {
    margin-bottom: 7px;
}

.shopping-modal .modal-title {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -.045em;
}

.shopping-modal .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 26px 28px;
    overscroll-behavior: contain;
}

.shopping-modal .modal-footer {
    background: #f6f3ec;
    border-top: 1px solid var(--shop-line);
    flex: 0 0 auto;
    padding: 17px 28px;
}

.modal-copy {
    color: var(--shop-muted);
    font-size: .85rem;
    line-height: 1.65;
    margin-bottom: 22px;
}

.add-method-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, 1fr);
}

.catalog-picker-search { margin-bottom: 18px; max-width: none; }
#catalogPickerModal .modal-body {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
#catalogPickerModal .catalog-picker-search {
    flex: none;
}
.catalog-picker-grid { display: grid; flex: 1 1 auto; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 0; overflow-y: auto; }
.catalog-picker-grid button { align-items: center; background: #fff; border: 1px solid var(--shop-line); border-radius: 12px; color: var(--shop-ink); display: flex; gap: 12px; padding: 10px; text-align: left; }
.catalog-picker-grid button:hover, .catalog-picker-grid button:focus-visible { border-color: var(--shop-ink); outline: none; }
.catalog-picker-grid img { border-radius: 9px; height: 52px; object-fit: cover; width: 52px; }
.catalog-picker-grid span { display: flex; flex-direction: column; min-width: 0; }
.catalog-picker-grid strong { font-size: .72rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.catalog-picker-grid small { color: var(--shop-muted); font-size: .6rem; margin-top: 4px; }
.catalog-picker-grid .picker-load-more {
    align-items: center;
    background: var(--shop-container);
    border: 0;
    border-radius: 12px;
    color: var(--shop-ink);
    display: flex;
    font-size: .78rem;
    font-weight: 700;
    grid-column: 1 / -1;
    justify-content: center;
    min-height: 46px;
    text-align: center;
}

.catalog-picker-grid .picker-load-more:hover,
.catalog-picker-grid .picker-load-more:focus-visible {
    background: var(--shop-container-high);
    border: 0;
}

.catalog-picker-grid .picker-load-more:disabled {
    opacity: .6;
}

.add-method-option {
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--shop-line);
    border-radius: 16px;
    color: var(--shop-ink);
    display: flex;
    flex-direction: column;
    min-height: 190px;
    padding: 22px;
    text-align: left;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.add-method-option:hover,
.add-method-option:focus-visible {
    border-color: var(--shop-ink);
    box-shadow: 0 12px 28px rgba(32, 37, 31, .08);
    outline: none;
    transform: translateY(-2px);
}

.add-method-icon {
    align-items: center;
    background: var(--shop-paper);
    border-radius: 50%;
    display: flex;
    height: 46px;
    justify-content: center;
    margin-bottom: 28px;
    width: 46px;
}

.add-method-option strong {
    font-size: .92rem;
    letter-spacing: -.02em;
}

.add-method-option small {
    color: var(--shop-muted);
    font-size: .7rem;
    line-height: 1.55;
    margin-top: 7px;
}

.shopping-modal .form-label {
    color: var(--shop-ink);
    font-size: .7rem;
    font-weight: 800;
    margin-bottom: 7px;
}

.shopping-modal .form-control,
.shopping-modal .form-select {
    background-color: #fff;
    border: 1px solid var(--shop-line);
    border-radius: 11px;
    color: var(--shop-ink);
    font-size: .82rem;
    min-height: 45px;
    padding: 10px 13px;
}

.shopping-modal .form-control:focus,
.shopping-modal .form-select:focus {
    border-color: var(--shop-green);
    box-shadow: 0 0 0 3px rgba(93, 115, 88, .12);
}

.shopping-modal textarea.url-input {
    line-height: 1.55;
    min-height: 116px;
    resize: vertical;
}

.supported-note {
    align-items: center;
    background: #f2f2f0;
    border-radius: 12px;
    display: flex;
    gap: 12px;
    margin-top: 17px;
    padding: 13px 15px;
}

.supported-note > span {
    background: var(--shop-green);
    border: 4px solid #d8ded2;
    border-radius: 50%;
    flex: 0 0 13px;
    height: 13px;
}

.supported-note p {
    color: var(--shop-muted);
    font-size: .68rem;
    line-height: 1.45;
    margin: 0;
}

.supported-note strong {
    color: var(--shop-ink);
    display: block;
    font-size: .72rem;
}

.analysis-status {
    background: #fce9e8;
    border-radius: 10px;
    color: #a9332f;
    font-size: .75rem;
    line-height: 1.5;
    margin-top: 14px;
    padding: 11px 13px;
}

.analysis-status ul {
    margin: 0;
    padding-left: 17px;
}

.analysis-status li + li {
    margin-top: 4px;
}

.analysis-status.is-warning {
    background: #f6f0dc;
    color: #6b5c10;
}

.shopping-modal [data-product-warning]:not([hidden]) {
    margin-bottom: 18px;
}

.editor-grid {
    display: grid;
    gap: 26px;
    grid-template-columns: 220px minmax(0, 1fr);
    min-width: 0;
}

.editor-grid > *,
.fields-grid > *,
.image-editor,
.field-full {
    min-width: 0;
}

.editor-preview {
    align-items: center;
    aspect-ratio: 1;
    background: #ecece9;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
    overflow: hidden;
    position: relative;
}

.editor-preview img {
    height: 100%;
    object-fit: cover;
    position: relative;
    width: 100%;
    z-index: 1;
}

.editor-preview > div {
    align-items: center;
    color: #a29f96;
    display: flex;
    flex-direction: column;
    font-size: .65rem;
    gap: 7px;
    inset: 0;
    justify-content: center;
    position: absolute;
}

.editor-preview svg {
    height: 34px;
    width: 34px;
}

.fields-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr 1fr;
}

.field-full {
    grid-column: 1 / -1;
}

.purchase-check {
    align-items: center;
    display: flex;
    gap: 9px;
    margin: 3px 0 0 2px;
}

.purchase-check .form-check-input {
    margin: 0;
}

.purchase-check .form-check-label {
    color: var(--shop-muted);
    font-size: .75rem;
    font-weight: 600;
}

.nutrition-fields {
    background: #f6f3ec;
    border-radius: 12px;
    padding: 13px 15px;
}

.nutrition-fields summary {
    color: var(--shop-ink);
    cursor: pointer;
    font-size: .7rem;
    font-weight: 800;
}

.nutrition-fields summary span {
    color: var(--shop-muted);
    font-weight: 600;
    margin-left: 4px;
}

.nutrition-fields[open] summary {
    margin-bottom: 14px;
}

.nutrition-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.food-info-grid {
    border-top: 1px solid var(--shop-line);
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 16px;
    padding-top: 16px;
}

.nutrition-source {
    color: var(--shop-muted);
    display: block;
    font-size: .62rem;
    margin-top: 10px;
}

.food-detail {
    display: grid;
    gap: 25px;
    grid-template-columns: 230px 1fr;
}

.food-detail > img {
    border-radius: 16px;
    height: 230px;
    object-fit: cover;
    width: 230px;
}

.food-detail h3 {
    font-size: .7rem;
    font-weight: 800;
    margin: 18px 0 6px;
    text-transform: uppercase;
}

.food-detail p {
    color: var(--shop-muted);
    font-size: .75rem;
    line-height: 1.6;
    margin: 0;
}

.detail-macros {
    background: #f6f3ec;
    border-radius: 12px;
    font-size: .72rem;
    font-weight: 700;
    margin: 14px 0;
    padding: 13px;
}

.nutrition-selector {
    background: #f6f3ec;
    border-radius: 12px;
    margin: 14px 0;
    padding: 13px;
}

.nutrition-selector [data-custom-quantity] {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr 100px;
    margin-top: 10px;
}

.nutrition-selector [data-custom-quantity][hidden] {
    display: none;
}

.detail-nutrients {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 14px;
}

.detail-nutrients span {
    background: #f6f3ec;
    border-radius: 999px;
    color: var(--shop-muted);
    font-size: .62rem;
    padding: 5px 8px;
}

@media (max-width: 1220px) {
    .products-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 1020px) {
    .products-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .module-nav {
        position: static;
        transform: none;
    }

    .list-intro-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 28px;
    }

    .list-intro-side {
        align-items: flex-start;
        width: 100%;
    }

    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .card-actions {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 620px) {
    .app-container {
        padding-inline: 17px;
    }

    .header-inner {
        height: 68px;
    }

    .brand-mark {
        height: 36px;
        width: 36px;
    }

    .header-actions {
        gap: 4px;
    }

.header-actions .btn {
        min-height: 40px;
        padding: 8px 9px;
    }

    .header-user {
        max-width: 130px;
        min-height: 40px;
        padding: 8px 9px;
    }

    .module-nav {
        padding: 3px;
    }

    .module-nav a {
        font-size: .66rem;
        padding: 7px 8px;
    }

    .list-intro {
        padding-bottom: 32px;
        padding-top: 30px;
    }

    .list-intro-row {
        gap: 24px;
    }

    .list-intro-copy h1 {
        font-size: clamp(2.25rem, 11vw, 3rem);
    }

    .summary-card {
        justify-content: space-between;
        width: 100%;
    }

    .summary-card div {
        align-items: flex-start;
        flex: 1;
        min-width: 0;
        padding: 1px 13px;
    }

    .summary-card strong {
        font-size: 1.25rem;
    }

    .summary-card span {
        font-size: .58rem;
    }

    .product-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .grouping-select {
        max-width: none;
        width: 100%;
    }

    .view-modes {
        overflow-x: auto;
        width: 100%;
    }

    .view-list .product-body,
    .view-list .food-card-body {
        padding-right: 115px;
    }

.filter-pills {
        display: grid;
        gap: 6px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .search-box {
        max-width: none;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-image {
        aspect-ratio: 1.25;
    }

    .shopping-modal .modal-dialog {
        margin: .75rem auto;
        max-width: calc(100vw - 1.5rem);
        min-height: calc(100% - 1.5rem);
        padding-inline: 10px;
        width: calc(100% - 1.5rem);
    }

    .shopping-modal .modal-content {
        border-radius: 23px;
        max-height: calc(100vh - 24px);
    }

    .shopping-modal .modal-body {
        overflow-y: auto;
        padding: 22px 19px;
    }

    .shopping-modal .modal-header,
    .shopping-modal .modal-footer {
        padding-left: 19px;
        padding-right: 19px;
    }

    .shopping-modal .modal-footer {
        flex-wrap: nowrap;
    }

    .shopping-modal .modal-footer .btn {
        flex: 1;
        padding-inline: 10px;
    }

    .editor-grid {
        grid-template-columns: 1fr;
    }

    .image-editor {
        display: grid;
        gap: 0 14px;
        grid-template-columns: 108px 1fr;
    }

    .editor-preview {
        grid-row: 1 / 3;
        margin: 0;
    }

    .fields-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 620px) {
    .add-method-grid {
        grid-template-columns: 1fr;
    }

    .catalog-picker-grid { grid-template-columns: 1fr; }

    .food-detail {
        grid-template-columns: 1fr;
    }

    .food-detail > img {
        height: auto;
        max-height: 260px;
        width: 100%;
    }

    .add-method-option {
        min-height: 0;
    }

    .add-method-icon {
        margin-bottom: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-card,
    .product-image > img {
        transition: none;
    }
}

@media (max-width: 360px) {
    .module-nav a {
        font-size: .63rem;
        padding-inline: 6px;
    }

    .header-actions .btn {
        padding-inline: 8px;
    }
}

@media (max-width: 400px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.summary-card {
    flex-wrap: wrap;
}

@media (max-width: 620px) {
    .list-summary div {
        border-left: 0;
        flex: 1 1 50%;
        min-width: 0;
        padding: 12px 14px;
    }

    .list-summary div:first-child {
        padding-left: 14px;
    }

    .list-summary div:nth-child(even) {
        border-left: 1px solid var(--shop-line);
    }

    .list-summary div:nth-child(n + 3) {
        border-top: 1px solid var(--shop-line);
    }
}

/* ------------------------------------------------------------------
   Material 3 neutral surface (shared por Consumo)
------------------------------------------------------------------- */
.shopping-app,
.catalog-app,
.menus-app {
    --m3-primary: var(--shop-ink);
    --m3-on-primary: #fff;
    --m3-primary-container: #e6e6ea;
    --m3-on-primary-container: #212126;
    --m3-surface: var(--shop-card);
--m3-surface-container: #eef0f2;
    --m3-surface-container-high: #e9ebed;
    --m3-outline: #797982;
    --m3-outline-variant: var(--shop-line);
    --m3-text: var(--shop-ink);
    --m3-muted: var(--shop-muted);
}

.shopping-app .shopping-header,
.catalog-app .shopping-header,
.menus-app .shopping-header,
.hub-app .shopping-header {
    background: rgba(255, 255, 255, .78);
    border-bottom: 1px solid rgba(29, 29, 34, .07);
}

.shopping-app .module-nav,
.catalog-app .module-nav,
.menus-app .module-nav,
.hub-app .module-nav {
    background: rgba(255, 255, 255, .58);
    border: 1px solid rgba(32, 37, 31, .1);
    box-shadow: none;
}

.shopping-app .module-nav a.active,
.catalog-app .module-nav a.active,
.menus-app .module-nav a.active,
.hub-app .module-nav a.active {
    background: var(--shop-ink);
    color: #fff;
}

.btn-ink {
    --bs-btn-bg: var(--shop-primary);
    --bs-btn-border-color: var(--shop-primary);
    --bs-btn-color: #fff;
    --bs-btn-hover-bg: #35353c;
    --bs-btn-hover-border-color: #35353c;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: #35353c;
    --bs-btn-active-border-color: #35353c;
    --bs-btn-active-color: #fff;
    --bs-btn-focus-shadow-rgb: 53, 53, 60;
    background: var(--shop-primary);
    border-color: var(--shop-primary);
    border-radius: 16px;
    box-shadow: 0 2px 5px rgba(29, 29, 34, .18);
    color: #fff;
}

.btn-ink:hover,
.btn-ink:focus-visible,
.btn-ink:active,
.btn-ink.active,
.btn-ink:focus:active,
.header-actions .btn-ink:active,
.header-actions .btn-ink.active,
.header-actions .btn-ink:focus:active {
    background: #35353c !important;
    border-color: #35353c !important;
    box-shadow: 0 4px 10px rgba(29, 29, 34, .22) !important;
    color: #fff !important;
}

.btn-ghost {
    background: #fff;
    border-color: var(--shop-line);
    border-radius: 16px;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    background: var(--shop-paper);
    border-color: var(--shop-ink);
}

.shopping-app .brand-mark:not(.brand-mark-img),
.catalog-app .brand-mark:not(.brand-mark-img),
.menus-app .brand-mark:not(.brand-mark-img),
.hub-app .brand-mark:not(.brand-mark-img) {
    background: var(--shop-primary-container);
    color: var(--shop-on-primary-container);
}

.shopping-app .app-brand > span:last-child span,
.catalog-app .app-brand > span:last-child span,
.menus-app .app-brand > span:last-child span {
    color: var(--shop-primary);
}

.shopping-app .list-tab {
    background: #fff;
}

.shopping-app .list-tab.active {
    background: var(--shop-primary);
    border-color: var(--shop-primary);
}

.shopping-app .list-tab small {
    background: rgba(29, 29, 34, .12);
}

.shopping-app .list-tab.active small {
    background: rgba(255, 255, 255, .18);
}

.shopping-app .list-intro {
    padding-bottom: 26px;
    padding-top: 26px;
}

.shopping-app .list-intro-copy h1 {
    font-size: clamp(1.9rem, 3.6vw, 3rem);
}

.shopping-app .list-intro-copy p {
    font-size: .85rem;
    margin-top: 10px;
}

.shopping-app .summary-card div {
    border-left-color: var(--shop-line);
}

.shopping-app .summary-card strong {
    font-size: 1.15rem;
}

.shopping-app .summary-card span {
    font-size: .6rem;
}

.shopping-app .grouping-select,
.menus-app .grouping-select {
    border-color: var(--shop-line);
    border-radius: 14px;
}

.shopping-app .search-box input,
.menus-app .search-box input {
    background: #fff;
    border-color: var(--shop-line);
    border-radius: 14px;
}

.shopping-app .search-box input:focus,
.menus-app .search-box input:focus {
    border-color: var(--shop-primary);
    box-shadow: 0 0 0 3px rgba(70, 70, 77, .12);
}

.shopping-app .filter-pills button.active {
    background: var(--shop-primary);
    color: #fff;
}

.shopping-app .view-modes button.active {
    background: var(--shop-primary);
    border-color: var(--shop-primary);
    color: #fff;
}

.shopping-app .product-card {
    background: #fff;
    border: 0;
    border-radius: 22px;
    box-shadow: 0 1px 2px rgba(29, 29, 34, .14), 0 2px 7px rgba(29, 29, 34, .06);
}

.shopping-app .product-card:hover {
    box-shadow: 0 4px 12px rgba(29, 29, 34, .15), 0 10px 24px rgba(29, 29, 34, .07);
}

.shopping-app .product-image {
    background: #ecece9;
}

.shopping-app .product-meta span {
    color: var(--shop-accent);
}

.shopping-app .purchase-toggle > span {
    border-color: #a5a5ad;
}

.shopping-app .is-purchased .purchase-toggle > span {
    background: var(--shop-green);
    border-color: var(--shop-green);
}

.shopping-app .product-footer {
    border-top-color: var(--shop-line);
}

.shopping-app .empty-state,
.shopping-app .no-results {
    background: var(--shop-primary-container);
    border: 0;
    border-radius: 28px;
}

.shopping-app .empty-visual {
    background: var(--shop-container);
    color: var(--shop-green);
}

.shopping-app .empty-visual span {
    background: var(--shop-ink);
    border-color: var(--shop-container);
}

.shopping-modal .modal-content {
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(29, 29, 34, .2);
}

.shopping-modal .modal-footer {
    background: #f5f5f3;
}

.shopping-modal .form-control,
.shopping-modal .form-select {
    border-radius: 12px;
}

.shopping-modal .form-control:focus,
.shopping-modal .form-select:focus {
    border-color: var(--shop-primary);
    box-shadow: 0 0 0 3px rgba(70, 70, 77, .12);
}

/* Galería de fotos y visor ampliado */
.detail-gallery {
    min-width: 0;
}

.detail-gallery-main {
    aspect-ratio: 1.1;
    background: var(--shop-container);
    border: 0;
    border-radius: 20px;
    display: block;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 100%;
}

.detail-gallery-main img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.detail-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.detail-thumb {
    background: var(--shop-container);
    border: 2px solid transparent;
    border-radius: 10px;
    flex: 0 0 62px;
    height: 62px;
    overflow: hidden;
    padding: 0;
}

.detail-thumb.active {
    border-color: var(--shop-primary);
}

.detail-thumb img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.photo-lightbox {
    align-items: center;
    background: rgba(22, 22, 26, .96);
    display: flex;
    inset: 0;
    justify-content: center;
    position: fixed;
    z-index: 1100;
}

.photo-lightbox[hidden] {
    display: none;
}

.photo-lightbox svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.photo-lightbox-bar {
    align-items: center;
    display: flex;
    gap: 14px;
    left: 0;
    padding: 14px 18px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
}

.photo-lightbox-name {
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.photo-lightbox-counter {
    color: rgba(255, 255, 255, .55);
    flex: none;
    font-size: .7rem;
    font-variant-numeric: tabular-nums;
    margin-left: auto;
}

.photo-lightbox-close {
    align-items: center;
    background: #14141a;
    border: 2px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    color: #fff;
    display: flex;
    flex: none;
    height: 40px;
    justify-content: center;
    line-height: 0;
    padding: 0;
    width: 40px;
}

.photo-lightbox-close svg {
    height: 16px;
    width: 16px;
}

.photo-lightbox-close:hover {
    background: #2e2e38;
}

.photo-lightbox-nav {
    align-items: center;
    background: #14141a;
    border: 2px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .45);
    color: #fff;
    display: none;
    height: 46px;
    justify-content: center;
    line-height: 0;
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    z-index: 2;
}

.photo-lightbox-nav svg {
    height: 22px;
    width: 22px;
}

.photo-lightbox-nav:hover {
    background: #2e2e38;
}

.photo-lightbox-prev {
    left: 20px;
}

.photo-lightbox-next {
    right: 20px;
}

.photo-lightbox-stage {
    align-items: center;
    display: flex;
    inset: 56px 72px 96px;
    justify-content: center;
    overflow: auto;
    position: absolute;
}

.photo-lightbox-stage img {
    border-radius: 10px;
    display: block;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transform-origin: center center;
    transition: transform .22s ease, opacity .18s ease;
}

.photo-lightbox-footer {
    align-items: center;
    bottom: 0;
    display: flex;
    gap: 18px;
    justify-content: center;
    left: 0;
    padding: 14px 18px;
    position: absolute;
    right: 0;
    z-index: 2;
}

.photo-lightbox-thumbs {
    display: flex;
    gap: 8px;
    justify-content: center;
    max-width: calc(100% - 190px);
    overflow-x: auto;
    padding-bottom: 2px;
}

.photo-lightbox-thumb {
    background: rgba(255, 255, 255, .1);
    border: 2px solid transparent;
    border-radius: 10px;
    flex: 0 0 58px;
    height: 58px;
    overflow: hidden;
    padding: 0;
}

.photo-lightbox-thumb.active {
    border-color: #fff;
}

.photo-lightbox-thumb img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.photo-lightbox-zoom {
    align-items: center;
    background: #14141a;
    border: 2px solid rgba(255, 255, 255, .9);
    border-radius: 999px;
    display: flex;
    flex: none;
    gap: 2px;
    padding: 3px;
}

.photo-lightbox-zoom button {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 50%;
    color: #fff;
    display: flex;
    height: 34px;
    justify-content: center;
    line-height: 0;
    padding: 0;
    width: 34px;
}

.photo-lightbox-zoom button svg {
    height: 16px;
    width: 16px;
}

.photo-lightbox-zoom button:hover {
    background: rgba(255, 255, 255, .24);
}

@media (max-width: 620px) {
    .photo-lightbox-stage {
        inset: 56px 12px 92px;
    }

    .photo-lightbox-prev {
        left: 8px;
    }

    .photo-lightbox-next {
        right: 8px;
    }

    .photo-lightbox-thumbs {
        max-width: calc(100% - 150px);
    }
}

.add-method-option {
    background: #fff;
    border-color: var(--shop-line);
    border-radius: 20px;
}

.add-method-icon {
    background: var(--shop-paper);
}

.nutrition-fields,
.detail-macros,
.nutrition-selector {
    background: #f2f2f0;
}

.detail-nutrients span {
    background: #f2f2f0;
}

.catalog-picker-grid button {
    background: #fff;
    border-color: var(--shop-line);
    border-radius: 14px;
}

.toast-region .app-toast {
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    background: rgba(29, 29, 34, .82);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
}

.toast-region .app-toast.is-danger {
    background: rgba(169, 49, 47, .82);
}

/* ------------------------------------------------------------------
   Bandas hero Listas y Menús (Material 3 neutral)
------------------------------------------------------------------- */
.platform-overline {
    color: var(--shop-primary);
    display: block;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .12em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.lists-hero,
.menus-hero {
    background:
        radial-gradient(circle at 93% 16%, rgba(214, 214, 214, .55) 0 11%, transparent 11.2%),
        radial-gradient(circle at 85% 78%, rgba(233, 233, 231, .9) 0 13%, transparent 13.2%),
        var(--shop-primary-container);
    border-radius: 0 0 28px 28px;
    margin-inline: auto;
    max-width: 1280px;
    min-height: 150px;
    padding: 26px 32px;
    width: 100%;
}

.lists-hero {
    align-items: center;
    display: flex;
    gap: 28px;
    justify-content: space-between;
}

.lists-hero-copy {
    max-width: 520px;
}

.lists-hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -.06em;
    line-height: 1;
    margin: 0;
}

.lists-hero p {
    color: var(--shop-muted);
    font-size: .88rem;
    line-height: 1.5;
    margin: 12px 0 0;
}

.lists-hero p em {
    color: var(--shop-green);
    font-style: normal;
    font-weight: 800;
}

.lists-hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 18px;
}

.lists-hero-actions button {
    background: transparent;
    border: 0;
    color: var(--shop-muted);
    font-size: .72rem;
    font-weight: 700;
    padding: 0;
}

.lists-hero-actions button:hover,
.lists-hero-actions button:focus-visible {
    color: var(--shop-ink);
    outline: none;
    text-decoration: underline;
}

.list-summary {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 18px rgba(29, 29, 34, .1);
    padding: 4px 6px;
}

.list-summary div {
    padding: 14px 18px;
}

.lists-nav-section {
    padding-top: 24px;
}

.menus-nav-row {
    padding-top: 20px;
}

.menus-nav-row .day-nav {
    margin-bottom: 0;
}

.menus-hero .menus-title-row {
    align-items: center;
    gap: 32px;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr);
}

.menus-title-copy h1 + p {
    margin-top: 10px;
}

/* Barra de herramientas de productos (Listas) — como Catálogo */
.product-toolbar {
    align-items: center;
    background: var(--shop-container);
    border: 0;
    border-radius: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 12px;
}

.product-toolbar-side {
    align-items: center;
    display: flex;
    flex: 1;
    gap: 10px;
    justify-content: flex-end;
    margin-left: auto;
    max-width: 460px;
}

.shopping-app .product-toolbar .filter-pills button {
    min-height: 38px;
    padding: 8px 13px;
}

.shopping-app .product-toolbar .search-box {
    flex: 1;
    max-width: 440px;
}

.shopping-app .product-toolbar .search-box input {
    font-size: .84rem;
}

.shopping-app .product-toolbar .grouping-select {
    max-width: 150px;
}

.shopping-app .product-toolbar .view-modes {
    background: var(--shop-container-high);
    border-radius: 14px;
    gap: 0;
    padding: 4px;
}

.shopping-app .product-toolbar .view-modes button {
    border-radius: 10px;
    min-height: 40px;
    padding-inline: 13px;
}

.shopping-app .product-toolbar .view-modes button:hover,
.shopping-app .product-toolbar .view-modes button:focus-visible {
    background: rgba(29, 29, 34, .07);
    color: var(--shop-on-primary-container);
    outline: none;
}

@media (max-width: 820px) {
    .lists-hero,
    .menus-hero {
        padding: 24px 32px;
    }

    .menus-hero .menus-title-row {
        grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
        gap: 24px;
    }

    .product-toolbar-side {
        flex-wrap: wrap;
        margin-left: 0;
        width: 100%;
    }
}

@media (max-width: 620px) {
    .lists-hero {
        align-items: stretch;
        flex-direction: column;
        gap: 18px;
        min-height: 0;
        padding: 22px 20px;
    }

    .lists-hero h1 {
        font-size: clamp(1.85rem, 9vw, 2.5rem);
    }

    .lists-hero p {
        font-size: .82rem;
    }

    .list-summary {
        width: 100%;
    }

    .list-summary div {
        padding: 10px 13px;
    }

    .list-summary div:first-child {
        padding-left: 13px;
    }

    .menus-hero {
        min-height: 0;
        padding: 20px 20px;
    }

    .menus-hero .menus-title-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .menus-hero .menus-stats {
        max-width: none;
        width: 100%;
    }

    .product-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 18px;
        padding: 10px;
    }

    .product-toolbar-side {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .shopping-app .product-toolbar .search-box {
        flex: 1 1 100%;
        max-width: none;
    }

    .shopping-app .product-toolbar .grouping-select {
        flex: 0 1 150px;
        max-width: none;
        min-width: 0;
        width: auto;
    }

    .shopping-app .product-toolbar .view-modes {
        flex: 0 1 auto;
        min-width: 0;
        overflow-x: auto;
        width: auto;
    }

.product-toolbar .filter-pills {
        display: grid;
        gap: 6px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.header-actions .btn.btn-ink:active,
.header-actions .btn.btn-ink.active {
    background: #35353c !important;
    border-color: #35353c !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(29, 29, 34, .22) !important;
}


/* ===== Hub (/consumo) ===== */
body.app-inicio {
    background: var(--shop-paper);
    color: var(--shop-ink);
    font-family: 'Plus Jakarta Sans', sans-serif;
    min-width: 320px;
}
.hub-app {
    min-height: 100vh;
}
.shopping-app .standalone-hero {
    border-radius: 0 0 28px 28px;
    margin-top: 0;
    min-height: 150px;
}
.hub-stats-card {
    background: var(--shop-line);
    border-radius: 20px;
    box-shadow: 0 4px 18px rgba(29, 29, 34, .1);
    display: grid;
    flex: 0 0 auto;
    gap: 1px;
    grid-template-columns: repeat(2, 1fr);
    min-width: 248px;
    overflow: hidden;
}
.hub-stat {
    align-items: center;
    background: #fff;
    display: flex;
    flex-direction: column;
    padding: 16px 20px;
    text-align: center;
}
.hub-stat strong {
    color: var(--shop-ink);
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1;
}
.hub-stat span {
    color: var(--shop-muted);
    font-size: .66rem;
    font-weight: 700;
    margin-top: 6px;
}
.hub-sections {
    display: grid;
    gap: 18px;
    margin-top: 28px;
    padding-bottom: 48px;
}
.hub-card {
    align-items: center;
    background: #fff;
    border: 0;
    border-radius: 22px;
    box-shadow: 0 1px 2px rgba(29, 29, 34, .14), 0 2px 7px rgba(29, 29, 34, .06);
    display: flex;
    gap: 20px;
    padding: 22px 24px;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}
.hub-card:hover {
    box-shadow: 0 10px 26px rgba(29, 29, 34, .16);
    transform: translateY(-2px);
}
.hub-card-icon {
    align-items: center;
    background: var(--shop-primary-container);
    border-radius: 14px;
    display: flex;
    flex: 0 0 auto;
    height: 52px;
    justify-content: center;
    width: 52px;
}
.hub-card-icon svg {
    fill: none;
    height: 26px;
    stroke: var(--shop-primary);
    stroke-width: 1.8;
    width: 26px;
}
.hub-card-copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 4px;
}
.hub-card-copy strong {
    color: var(--shop-ink);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -.02em;
}
.hub-card-copy span {
    color: var(--shop-muted);
    font-size: .92rem;
    line-height: 1.5;
}
.hub-card-arrow {
    color: var(--shop-green);
    display: flex;
    flex: 0 0 auto;
    transition: transform .15s ease;
}
.hub-card-arrow svg {
    fill: none;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2;
    width: 22px;
}
.hub-card:hover .hub-card-arrow {
    transform: translateX(3px);
}
@media (max-width: 820px) {
    .standalone-hero {
        flex-direction: column;
    }
    .standalone-hero .lists-hero-copy {
        max-width: none;
    }
    .hub-stats-card {
        min-width: 0;
        width: 100%;
    }
}
.brand-mark-img {
    background: transparent;
    border-radius: 0;
    height: 56px;
    overflow: visible;
    padding: 0;
    width: auto;
}
.brand-mark-img img {
    display: block;
    height: 100%;
    object-fit: contain;
    width: auto;
}
.brand-mark-img .brand-img-icon {
    display: none;
}
@media (max-width: 620px) {
    .brand-mark-img {
        height: 46px;
    }
}

/* ===== Navbar flotante inferior (movil) ===== */
.bottom-nav {
    align-items: center;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(29, 29, 34, .08);
    border-radius: 999px;
    box-shadow: 0 8px 28px rgba(29, 29, 34, .18);
    backdrop-filter: blur(14px);
    bottom: 14px;
    display: none;
    gap: 2px;
    left: 50%;
    padding: 6px;
    position: fixed;
    transform: translateX(-50%);
    width: min(calc(100% - 28px), 430px);
    z-index: 1030;
}
.bottom-nav-item {
    align-items: center;
    border-radius: 999px;
    color: var(--shop-muted);
    display: flex;
    flex: 1;
    flex-direction: column;
    font-size: .58rem;
    font-weight: 700;
    gap: 3px;
    min-width: 0;
    padding: 7px 8px;
    text-decoration: none;
}
.bottom-nav .bottom-nav-item svg {
    fill: none;
    height: 21px;
    stroke: currentColor;
    stroke-width: 1.8;
    width: 21px;
}
.bottom-nav-item.active {
    background: var(--shop-primary-container);
    color: var(--shop-ink);
}
.floating-action {
    align-items: center;
    background: var(--shop-ink);
    border: 0;
    border-radius: 50%;
    bottom: 90px;
    box-shadow: 0 8px 24px rgba(29, 29, 34, .25);
    color: #fff;
    display: none;
    height: 48px;
    justify-content: center;
    padding: 0;
    position: fixed;
    right: 22px;
    width: 48px;
    z-index: 1030;
}
body .floating-action svg {
    fill: none;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2;
    width: 22px;
}
.floating-action .btn {
    align-items: center;
    background: transparent !important;
    border: 0 !important;
    border-radius: 50%;
    box-shadow: none !important;
    color: #fff !important;
    display: flex;
    height: 100%;
    justify-content: center;
    min-height: 0;
    padding: 0;
    width: 100%;
}
.floating-action .btn span {
    display: none;
}
.lists-hero,
.menus-hero {
    border-radius: 28px;
    margin-top: 30px;
}
@media (max-width: 620px) {
    body {
        padding-bottom: 96px;
    }
    .desktop-nav {
        display: none;
    }
    .bottom-nav {
        display: flex;
    }
    .floating-action {
        display: flex;
    }
}
@media (min-width: 621px) {
    .mobile-menu {
        display: none;
    }
}

/* ===== Navbar con hamburguesa ===== */
.nav-menu-wrap {
    position: relative;
}
.nav-menu-btn {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: var(--shop-ink);
    display: flex;
    height: 44px;
    justify-content: center;
    padding: 0;
    width: 44px;
}
.nav-menu-btn:hover {
    color: var(--shop-primary);
}
.shopping-header .nav-menu-btn svg {
    fill: none;
    height: 22px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 2;
    width: 22px;
}
.nav-menu {
    background: rgba(255, 255, 255, .98);
    border: 1px solid rgba(29, 29, 34, .08);
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(29, 29, 34, .16);
    max-width: min(calc(100vw - 28px), 320px);
    opacity: 0;
    overflow: hidden;
    padding: 6px;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    transform: translateY(-6px) scale(.97);
    transition: opacity .16s ease, transform .16s ease;
    visibility: hidden;
    width: max-content;
    z-index: 1040;
}
.nav-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    visibility: visible;
}
.nav-menu form {
    margin: 0;
}
.nav-menu-item {
    background: transparent;
    border: 0;
    border-radius: 10px;
    color: var(--shop-ink);
    cursor: pointer;
    display: block;
    font-size: .88rem;
    font-weight: 700;
    padding: 11px 14px;
    text-align: left;
    width: 100%;
}
.nav-menu-item:hover {
    background: var(--shop-container);
}

/* ===== Acento decorativo del hero (personalidad) ===== */
.hero-decor {
    position: relative;
}
.hero-decor::before {
    background:
        radial-gradient(circle at 6% 18%, rgba(255, 255, 255, .45) 0 14%, transparent 14.2%),
        radial-gradient(circle at 97% 8%, rgba(255, 255, 255, .35) 0 10%, transparent 10.2%),
        radial-gradient(circle at 90% 88%, rgba(29, 29, 34, .05) 0 12%, transparent 12.2%);
    border-radius: inherit;
    content: '';
    inset: 0;
    pointer-events: none;
    position: absolute;
}
.hero-decor > * {
    position: relative;
    z-index: 1;
}
.hub-target {
    align-items: center;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 2px 10px rgba(29, 29, 34, .1);
    display: inline-flex;
    font-size: .76rem;
    font-weight: 700;
    gap: 7px;
    margin-top: 16px;
    padding: 8px 15px;
}
.hub-target strong {
    color: var(--shop-primary);
}

/* ===== Listas: resumen ===== */
.list-summary {
    position: relative;
}
