/* Ordering and account screens. Uses the shared Netfoodish design tokens. */
/* Cart and other top-level navigation links share this treatment on every customer page. */
.nf-customer-ui :is(#top-nav, #top-navigation) .top-menu a,
.nf-customer-ui :is(#top-nav, #top-navigation) .top-menu a:is(:hover, :focus, :active, :visited) { text-decoration: none !important; }
.nf-customer-ui :is(#top-nav, #top-navigation) .top-menu a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
/* Account top bar has its own markup, separate from the storefront header. */
.nf-customer-ui.controller-account #top-nav a,
.nf-customer-ui.controller-account #top-nav a:is(:hover, :focus, :active, :visited) { text-decoration: none !important; }
.nf-customer-ui.controller-account #top-nav a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.nf-customer-ui.controller-account #top-nav > .row { align-items: center; flex-wrap: nowrap; margin-inline: 0; }
.nf-customer-ui.controller-account #top-nav > .row > .col { min-width: 0; padding-inline: 0; }
.nf-customer-ui.controller-account #top-nav .top-logo { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; vertical-align: middle; }
.nf-customer-ui.controller-account :is(#top-nav, #sidebar) .top-logo img { display: block; width: 160px; max-width: 100%; height: auto; max-height: 44px; object-fit: contain; object-position: left center; }
.nf-customer-ui.controller-account #top-nav .top-menu { display: flex; align-items: center; margin: 0; }
@media (max-width: 991.98px) {
  .nf-customer-ui.controller-account #top-nav > .row > .col:first-child { flex: 0 1 160px; margin-inline-end: 12px; }
}
/* Account navigation and profile actions are controls, not inline prose links. */
.nf-customer-ui.controller-account :is(#sidebar a, .attributes-menu-wrap a, #vue-profile-menu a, #vue-update-profile .btn-link, .preview-image a.handle),
.nf-customer-ui.controller-account :is(#sidebar a, .attributes-menu-wrap a, #vue-profile-menu a, #vue-update-profile .btn-link, .preview-image a.handle):is(:hover, :focus, :active, :visited) {
  text-decoration: none !important;
}
.nf-customer-ui.controller-account :is(#sidebar a, .attributes-menu-wrap a, #vue-profile-menu a, #vue-update-profile .btn-link, .preview-image a.handle):focus-visible {
  outline: 2px solid var(--nf-accent-dark); outline-offset: 3px;
}
.nf-customer-ui .nf-page-heading { margin: 0 0 24px; }
.nf-customer-ui .nf-page-heading h1 { font-size: clamp(25px,3vw,34px); line-height: 1.2; font-weight: 800; letter-spacing: -.035em; color: var(--nf-ink); margin: 6px 0 8px; }
.nf-customer-ui .nf-page-heading p { font-size: 14px; color: var(--nf-text-muted); line-height: 1.5; margin: 0; }
.nf-customer-ui .menu-info-card { padding: 16px; border: 1px solid var(--nf-line); background: #fff; box-shadow: none; border-radius: 14px; }
.nf-customer-ui .menu-info-card__header { cursor: pointer; list-style: none; margin: 0; min-height: 44px; }
.nf-customer-ui .menu-info-card__header::-webkit-details-marker { display: none; }
.nf-customer-ui .menu-info-card__header::after { content: '+'; margin-inline-start: auto; font-size: 22px; color: var(--nf-accent-dark); }
.nf-customer-ui .menu-info-card[open] .menu-info-card__header::after { content: '−'; }
.nf-customer-ui .menu-info-card__list { margin-top: 16px; }
.nf-customer-ui .menu-info-card__icon { background: var(--nf-accent-tint); color: var(--nf-accent-dark); }
.nf-customer-ui #vue-merchant-menu .menu-items-modern .menu-item-card { border-color: var(--nf-line) !important; border-radius: 16px !important; margin-bottom: 12px !important; }
.nf-customer-ui #vue-merchant-menu .menu-items-modern .menu-item-content { padding: 16px !important; }
.nf-customer-ui #vue-merchant-menu .menu-items-modern .item-name { font-size: 16px !important; font-weight: 600 !important; line-height: 1.45 !important; -webkit-line-clamp: 2; line-clamp: 2; text-align: start; }
.nf-customer-ui #vue-merchant-menu .menu-items-modern .item-description { color: var(--nf-text-muted) !important; line-height: 1.5 !important; }
.nf-customer-ui #vue-merchant-menu .menu-items-modern .menu-item-actions .el-button { min-height: 44px; border-radius: 10px; color: var(--nf-accent-dark); background: var(--nf-accent-tint); border: 1px solid #f7cfdd; font-weight: 700; }
.nf-customer-ui #vue-merchant-menu .menu-items-modern .accordion-category-title { font-size: 20px !important; font-weight: 600 !important; }
.nf-customer-ui #vue-merchant-menu .menu-items-modern .el-collapse-item__header { min-height: 52px; }
.nf-customer-ui .cart-checkout-btn,
.nf-customer-ui .place-order-footer .btn { background: var(--nf-accent-dark) !important; color: #fff !important; border-color: var(--nf-accent-dark) !important; border-radius: 12px !important; min-height: 48px; box-shadow: none !important; }
.nf-customer-ui .cart-checkout-btn.btn-disabled { opacity: .55; cursor: not-allowed; }
.nf-customer-ui .cart-line { padding-block: 16px; border-color: var(--nf-line); }
.nf-customer-ui .cart-title { color: var(--nf-ink); font-weight: 750; letter-spacing: -.025em; }
.nf-customer-ui .cart-summary { padding-top: 16px; border-color: var(--nf-line); }
.nf-customer-ui .cart-summary-line { min-height: 30px; font-size: 13px; gap: 12px; }
.nf-customer-ui .cart-summary-line > :last-child { flex-shrink: 0; }
.nf-customer-ui .cart-summary-line.is-total { border-top: 1px solid var(--nf-line); margin-top: 10px; padding-top: 14px; font-weight: 750; }
.nf-customer-ui .empty-bag-icon { color: var(--nf-accent-dark); background: var(--nf-accent-tint); box-shadow: none; }
.nf-customer-ui .qty-controls { border: 1px solid #f7cfdd; border-radius: 10px; background: var(--nf-accent-tint); }
.nf-customer-ui .qty-controls :is(button,a) { min-width: 36px; min-height: 40px; color: var(--nf-accent-dark); }
.nf-customer-ui.action-checkout .page-grey { background: #f8f8fa; padding-top: 32px; }
.nf-customer-ui.action-checkout .page-grey > .container > .row > div > .card,
.nf-customer-ui.action-checkout #vue-cart > .card { border: 1px solid var(--nf-line); border-radius: 18px; box-shadow: none; overflow: visible; }
.nf-customer-ui.action-checkout .page-grey .card-body { padding: 22px; }
.nf-customer-ui.action-checkout .page-grey .section-title { font-size: 18px; color: var(--nf-ink); }
.nf-customer-ui.action-checkout .page-grey .badge.badge-dark { background: var(--nf-accent-tint); color: var(--nf-accent-dark); box-shadow: none; }
.nf-customer-ui.action-checkout .checkout-cart-content { min-width: 0; }
.nf-customer-ui.action-checkout .checkout-top-navigation .checkout-back-link { min-height: 44px; display: inline-flex; align-items: center; color: white; font-size: 13px; }
.nf-customer-ui.column2-layout { background: #f8f8fa; }
.nf-customer-ui.column2-layout #sidebar { background: #fff; border-color: var(--nf-line) !important; padding: 28px 20px; }
.nf-customer-ui.column2-layout #sidebar > .mb-5 { background: var(--nf-accent); padding: 14px; border-radius: 14px; margin-bottom: 24px !important; }
.nf-customer-ui.column2-layout #top-nav { background: var(--nf-accent); border: 0; min-height: 70px; padding: 14px 24px; }
.nf-customer-ui.column2-layout #main-container { padding-top: 28px; }
.nf-customer-ui.column2-layout #main-container .card { border: 1px solid var(--nf-line); border-radius: 16px; box-shadow: none; }
.nf-customer-ui #vue-my-order .order-toolbar-row { gap: 12px; }
.nf-customer-ui #vue-my-order .order-toolbar-row > .col-3 { display: none !important; }
.nf-customer-ui #vue-my-order .order-search-wrap { margin-inline-start: auto; max-width: 460px; }
.nf-customer-ui #vue-my-order .order-item-row { border: 1px solid var(--nf-line); background: #fff; border-radius: 16px !important; padding: 18px !important; margin-bottom: 14px !important; box-shadow: none; }
.nf-customer-ui #vue-my-order .order-empty-card { background: #fff; padding: 24px !important; }
.nf-customer-ui #vue-my-order .order-empty-box { background: transparent; }
.nf-customer-ui .order-track-page .track-card { background: #fff; border: 1px solid var(--nf-line); border-radius: 18px; box-shadow: none; }
.nf-customer-ui .order-track-page .track-status-time { color: var(--nf-ink); letter-spacing: -.035em; }
.nf-customer-ui .order-track-page .track-step.is-active .track-step__dot { background: var(--nf-accent-dark); color: white; }
.nf-customer-ui .el-dialog { border-radius: 20px; max-width: calc(100vw - 32px); }
.nf-customer-ui .el-drawer { max-width: 100vw; }
.nf-customer-ui .el-dialog__headerbtn,
.nf-customer-ui .el-drawer__close-btn { min-width: 44px; min-height: 44px; }
@media (max-width: 991.98px) {
  .nf-customer-ui #vue-merchant-menu .menu-items-modern .menu-item-content { display: grid !important; grid-template-columns: minmax(0,1fr) 96px; align-items: start !important; gap: 12px !important; padding: 14px !important; }
  .nf-customer-ui #vue-merchant-menu .menu-items-modern .menu-item-content--no-image { grid-template-columns: minmax(0,1fr); }
  .nf-customer-ui #vue-merchant-menu .menu-items-modern .menu-item-main { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; align-items: stretch; width: auto; min-width: 0; gap: 10px; }
  .nf-customer-ui #vue-merchant-menu .menu-items-modern .menu-item-image { grid-column: 2; grid-row: 1; width: 96px !important; height: 96px !important; min-width: 0; }
  .nf-customer-ui #vue-merchant-menu .menu-items-modern .menu-item-image :is(.image-container,.food-image,.el-image) { width: 96px !important; height: 96px !important; max-width: 96px; min-height: 0; border-radius: 12px !important; }
  .nf-customer-ui #vue-merchant-menu .menu-items-modern .menu-item-details { width: 100%; min-width: 0; }
  .nf-customer-ui #vue-merchant-menu .menu-items-modern .menu-item-actions { border: 0 !important; padding: 0 !important; width: 100%; min-width: 0; }
  .nf-customer-ui #vue-merchant-menu .menu-items-modern .menu-item-actions .el-button { min-width: 90px; }
  .nf-customer-ui.column2-layout #top-nav { padding: 10px 16px; min-height: 64px; }
  .nf-customer-ui.column2-layout #main-container { margin-inline: 0; padding: 24px 4px; }
  .nf-customer-ui.column2-layout #main-container > .container-fluid { padding-inline: 16px; }
  .nf-customer-ui #vue-my-order .order-search-wrap { flex: 0 0 100%; max-width: 100%; padding-inline: 0; }
  .nf-customer-ui #vue-my-order .order-toolbar-row { margin-inline: 0; }
  .nf-customer-ui #vue-my-order .order-item-row { padding: 14px !important; }
  .nf-customer-ui.action-checkout .page-grey { padding: 24px 16px 32px; }
  .nf-customer-ui.action-checkout .page-grey > .container { padding: 0; }
  .nf-customer-ui.action-checkout .page-grey > .container > .row { margin-inline: 0; }
  .nf-customer-ui.action-checkout .page-grey .card-body { padding: 18px; }
  .nf-customer-ui.action-checkout #vue-cart.sticky-cart { position: static !important; height: auto !important; max-height: none !important; }
  .nf-customer-ui.action-checkout #vue-cart .cart-items-container { max-height: none; overflow: visible; }
  .nf-customer-ui.action-checkout .place-order-footer { position: static; padding-block: 12px; background: #fff; }
  .nf-customer-ui.action-checkout .nf-checkout-heading h1 { font-size: 28px; }
  .nf-customer-ui .el-dialog { margin-inline: auto; width: calc(100vw - 24px); max-width: calc(100vw - 24px); }
  .nf-customer-ui .order-track-page { padding: 16px; }
}
.nf-customer-ui .nf-feed-card { border: 1px solid var(--nf-line); border-radius: 16px; box-shadow: none; color: var(--nf-ink); text-decoration: none; }
.nf-customer-ui .nf-feed-card .restaurant-name { font-weight: 700; font-size: 17px; }
@media (max-width: 575.98px) {
  .nf-customer-ui .nf-feed-card { display: flex !important; flex-direction: row; gap: 12px; padding: 12px; min-height: 136px !important; }
  .nf-customer-ui .nf-feed-card > .position-relative { flex: 0 0 100px; width: 100px; border-radius: 12px; overflow: hidden; }
  .nf-customer-ui .nf-feed-card > .position-relative :is(.el-image,img) { width: 100px; height: 110px; min-height: 0; max-height: 110px; border-radius: 12px; object-fit: cover; }
  .nf-customer-ui .nf-feed-card > .p-2 { flex: 1; min-width: 0; padding: 2px 0 !important; }
  .nf-customer-ui .nf-feed-card .restaurant-name { white-space: normal; font-size: 16px; line-height: 1.35; }
  .nf-customer-ui .nf-feed-card .restaurant-next-opening { font-size: 9px; padding: 4px; border-radius: 6px; }
  .nf-customer-ui .nf-feed-card .restaurant-next-opening span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}
.nf-customer-ui .floating-cart :is(a,button) { background: var(--nf-accent-dark) !important; border-color: var(--nf-accent-dark) !important; color: #fff !important; min-height: 54px; border-radius: 14px; }
.nf-customer-ui .floating-cart :is(p,span,h5) { letter-spacing: 0; }
.nf-customer-ui .nf-feed-empty { padding: 40px 24px; margin-block: 24px; border: 1px solid var(--nf-line); border-radius: 18px; background: #fff; text-align: center; }
.nf-customer-ui .nf-feed-empty h3 { font-size: clamp(21px,3vw,28px); font-weight: 700; color: var(--nf-ink); }
.nf-customer-ui .nf-feed-empty p { color: var(--nf-text-muted); line-height: 1.6; margin: 12px auto 24px; max-width: 440px; }
.nf-customer-ui .nf-feed-empty .btn { padding: 12px 22px; }

/* Profile: one content card, compact navigation and shared header baseline. */
body.nf-customer-ui.action-profile #sidebar { padding: 0 20px 28px; box-shadow: none; border: 0 !important; }
body.nf-customer-ui.action-profile #sidebar > .mb-5 { display: flex; align-items: center; height: 72px; margin: 0 -20px 24px !important; padding: 0 20px; border-radius: 0; }
body.nf-customer-ui.action-profile #sidebar .top-logo { display: flex; align-items: center; }
body.nf-customer-ui.action-profile #top-nav { display: flex; align-items: center; min-height: 72px; padding-block: 0; }
body.nf-customer-ui.action-profile #top-nav > .row { width: 100%; }
.nf-profile-page { width: 100%; max-width: 1040px; margin-inline: auto; padding-block: 8px 32px; }
.nf-profile-heading { margin-bottom: 24px; }
.nf-profile-heading h1 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 32px); font-weight: 600; letter-spacing: -.025em; color: var(--nf-ink); }
.nf-profile-heading p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--nf-text-muted); }
.nf-customer-ui .nf-profile-tabs { margin: 0; padding: 0 28px; overflow-x: auto; border-bottom: 1px solid var(--nf-line); }
.nf-customer-ui .nf-profile-tabs .sub-menu { display: flex; gap: 8px; margin: 0; padding: 0; width: max-content; min-width: 100%; }
.nf-customer-ui .nf-profile-tabs .sub-menu li { flex: none; margin: 0; }
.nf-customer-ui .nf-profile-tabs .sub-menu a { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 12px 16px; border-radius: 0; border-bottom: 2px solid transparent; font-size: 14px; font-weight: 500; white-space: nowrap; }
.nf-customer-ui .nf-profile-tabs .sub-menu li.active a { color: var(--nf-accent-dark); background: transparent; border-bottom-color: var(--nf-accent-dark); }
.nf-profile-card { background: #fff; border: 1px solid var(--nf-line); border-radius: 18px; overflow: visible; }
.nf-profile-cover { height: 96px; border-radius: 18px 18px 0 0; background: linear-gradient(110deg, #fce4ed, #fff4e9); }
.nf-profile-identity { position: relative; padding: 0 28px 24px; margin-top: -28px; }
.nf-profile-identity #vue-profile-photo { display: flex; align-items: center; gap: 20px; width: auto; }
.nf-profile-identity .account-profile-photo-target { flex: 0 0 104px; width: 104px; height: 104px; padding: 4px; border-radius: 50%; background: #fff; }
.nf-profile-photo-copy { min-width: 0; padding-top: 40px; }
.nf-profile-photo-copy h2 { margin: 0 0 6px; font-size: clamp(22px, 2.5vw, 28px); font-weight: 600; letter-spacing: -.025em; overflow-wrap: anywhere; }
.nf-profile-photo-copy p { margin: 0; color: var(--nf-text-muted); font-size: 13px; line-height: 1.5; }
.nf-profile-photo-button { min-height: 44px; padding: 8px 0; color: var(--nf-accent-dark); font-size: 14px; font-weight: 600; }
.nf-profile-photo-button:hover { color: var(--nf-accent-dark); }
.nf-profile-form { padding: 28px; }
.nf-profile-form-title { margin: 0 0 24px; font-size: 20px; font-weight: 600; letter-spacing: -.015em; }
.nf-profile-form fieldset { min-width: 0; }
.nf-profile-form .form-text { display: block; margin-top: 8px; font-size: 13px; line-height: 1.6; color: var(--nf-text-muted); }
.nf-profile-form .form-label-group { margin-bottom: 12px; }
.nf-profile-form .form-control { font-size: 16px; border-radius: 12px; }
.nf-profile-form .nf-profile-contact-action { display: flex; align-items: center; min-height: 44px; margin-top: 4px; color: var(--nf-accent-dark); font-size: 14px; font-weight: 600; }
.nf-profile-form .nf-profile-save { min-height: 48px; width: auto; min-width: 160px; padding: 12px 24px; border-radius: 12px; font-size: 15px; font-weight: 600; }
.nf-profile-page :is(a, button, input):focus-visible { outline: 2px solid var(--nf-accent-dark); outline-offset: 3px; }
@media (max-width: 767.98px) {
  body.nf-customer-ui.action-profile #top-nav { min-height: 64px; }
  .nf-profile-heading { margin-bottom: 20px; }
  .nf-profile-form { padding: 20px; }
  .nf-profile-identity { padding: 0 20px 20px; }
  .nf-customer-ui .nf-profile-tabs { padding-inline: 8px; }
  .nf-profile-identity #vue-profile-photo { gap: 16px; }
  .nf-profile-form .nf-profile-save { width: 100%; }
  .nf-profile-form .row > div { margin-bottom: 12px; }
}
