/* ==========================================================================
   Nexfood theme (Website Panel redesign, phase 1)
   Tokens, base type and shared components from the "Nexfood Redesign" boards.
   Loaded last in layouts/app.blade.php so it wins over Bootstrap and the
   older page sheets. Use logical properties so LTR and RTL share one file.
   ========================================================================== */

:root {
    /* Color */
    --nf-page: #F3F3F1;
    --nf-surface: #FFFFFF;
    --nf-surface-2: #ECECE8;
    --nf-ink: #111111;
    --nf-stage: #141414;
    --nf-stage-2: #1F1F1F;
    --nf-stage-line: #2E2E2E;
    --nf-accent: #FF6A2B;
    --nf-accent-soft: #FF8A55;
    --nf-accent-text: #C2410C;
    --nf-muted: #5F5F5A;
    --nf-muted-on-dark: #9A9A94;
    --nf-line: #D6D6D0;
    --nf-line-strong: #BDBDB6;
    --nf-rating: #F5B800;
    --nf-open: #1FA463;
    --nf-open-soft: #E6F4EC;
    --nf-logo-nex: #0F6E62;
    --nf-logo-food: #E8590C;

    /* Type */
    --nf-font-head: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
    --nf-font-serif: 'Instrument Serif', Georgia, serif;
    --nf-font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    /* Shape */
    --nf-radius-pill: 999px;
    --nf-radius-stage: 40px;
    --nf-radius-card: 28px;
    --nf-radius-tile: 22px;
    --nf-radius-sm: 14px;

    /* Layout */
    --nf-max: 1320px;
    --nf-gutter: 32px;

    /* Depth and motion */
    --nf-shadow-lift: 0 18px 40px rgba(17, 17, 17, .10);
    --nf-shadow-float: 0 20px 40px rgba(0, 0, 0, .28);
    --nf-ease: cubic-bezier(.4, 0, .2, 1);
}

html[dir="rtl"] {
    --nf-font-head: 'Cairo', 'Bricolage Grotesque', system-ui, sans-serif;
    --nf-font-body: 'Cairo', 'Inter', system-ui, sans-serif;
    --nf-font-serif: 'Cairo', 'Instrument Serif', serif;
}

@media (max-width: 640px) {
    :root { --nf-gutter: 16px; }
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
body {
    background: var(--nf-page);
    color: var(--nf-ink);
    font-family: var(--nf-font-body);
    -webkit-font-smoothing: antialiased;
}
body, button, input, select, textarea {
    font-family: var(--nf-font-body);
}
::selection { background: var(--nf-accent); color: var(--nf-ink); }
:focus-visible { outline: 2px solid var(--nf-accent); outline-offset: 2px; }

.nf-head { font-family: var(--nf-font-head); letter-spacing: -.02em; }
.nf-serif { font-family: var(--nf-font-serif); font-style: italic; font-weight: 400; }
html[dir="rtl"] .nf-serif { font-style: normal; font-weight: 700; }
.nf-muted { color: var(--nf-muted); }
.nf-accent-text { color: var(--nf-accent-text); }
.nf-container {
    max-width: var(--nf-max);
    margin-inline: auto;
    padding-inline: var(--nf-gutter);
    box-sizing: border-box;
    width: 100%;
}
.nf-sr-only {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Components
   -------------------------------------------------------------------------- */

/* Buttons */
.nf-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 48px; padding: 0 22px;
    border: 0; border-radius: var(--nf-radius-pill);
    font: 600 14px/1 var(--nf-font-body);
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: transform .18s var(--nf-ease), background .18s var(--nf-ease), color .18s var(--nf-ease);
}
.nf-btn:hover { transform: translateY(-1px); text-decoration: none; }
.nf-btn:active { transform: none; }
.nf-btn--ink { background: var(--nf-ink); color: #fff; }
.nf-btn--ink:hover { background: #000; color: #fff; }
.nf-btn--accent { background: var(--nf-accent); color: var(--nf-ink); }
.nf-btn--accent:hover { background: var(--nf-accent-soft); color: var(--nf-ink); }
.nf-btn--surface { background: var(--nf-surface); color: var(--nf-ink); }
.nf-btn--surface:hover { background: var(--nf-surface-2); color: var(--nf-ink); }
.nf-btn--sm { height: 40px; padding: 0 16px; font-size: 13px; }
.nf-btn--lg { height: 60px; padding: 0 28px; font-size: 16px; }

/* Round icon button */
.nf-icon-btn {
    position: relative; flex: none;
    width: 48px; height: 48px;
    border: 0; border-radius: var(--nf-radius-pill);
    background: var(--nf-surface); color: var(--nf-ink);
    display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none; cursor: pointer; padding: 0;
    transition: background .18s var(--nf-ease), transform .18s var(--nf-ease);
}
.nf-icon-btn:hover { background: var(--nf-surface-2); color: var(--nf-ink); text-decoration: none; }
.nf-icon-btn--ink { background: var(--nf-ink); color: #fff; }
.nf-icon-btn--ink:hover { background: #000; color: #fff; }
.nf-icon-btn i, .nf-icon-btn svg { font-size: 18px; line-height: 1; }

/* Count badge on an icon button */
.nf-badge {
    position: absolute; top: -2px; inset-inline-end: -2px;
    min-width: 22px; height: 22px; padding: 0 5px; box-sizing: border-box;
    border-radius: var(--nf-radius-pill); border: 2px solid var(--nf-page);
    background: var(--nf-accent); color: var(--nf-ink);
    font: 800 12px/1 var(--nf-font-body);
    display: inline-flex; align-items: center; justify-content: center;
    pointer-events: none;
}
.nf-dot {
    position: absolute; top: 11px; inset-inline-end: 13px;
    width: 8px; height: 8px; border-radius: 9px; background: var(--nf-accent);
}

/* Pills and chips */
.nf-pill {
    display: inline-flex; align-items: center; gap: 8px;
    height: 34px; padding: 0 14px;
    border-radius: var(--nf-radius-pill);
    background: var(--nf-surface); color: var(--nf-ink);
    font-size: 13px; font-weight: 600;
}
.nf-pill__dot { width: 8px; height: 8px; border-radius: 9px; background: var(--nf-open); }
.nf-chip {
    display: inline-flex; align-items: center; gap: 8px;
    height: 44px; padding: 0 18px;
    border: 0; border-radius: var(--nf-radius-pill);
    background: var(--nf-surface); color: var(--nf-ink);
    font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap;
    text-decoration: none;
}
.nf-chip:hover { background: var(--nf-surface-2); color: var(--nf-ink); text-decoration: none; }
.nf-chip.is-active, .nf-chip[aria-pressed="true"] { background: var(--nf-ink); color: #fff; }

/* Cards and stages */
.nf-card {
    background: var(--nf-surface);
    border-radius: var(--nf-radius-card);
    overflow: hidden;
}
.nf-lift { transition: transform .18s ease, box-shadow .18s ease; }
.nf-lift:hover { transform: translateY(-4px); box-shadow: var(--nf-shadow-lift); }
.nf-stage {
    position: relative; overflow: hidden;
    background: var(--nf-stage); color: #fff;
    border-radius: var(--nf-radius-stage);
}

/* Section heading row */
.nf-section-head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
    margin-bottom: 24px;
}
.nf-section-head h2 {
    margin: 0;
    font: 800 clamp(30px, 4vw, 48px)/1 var(--nf-font-head);
    letter-spacing: -1.5px;
}

/* Bottom sheet */
.nf-sheet {
    background: var(--nf-surface);
    border-radius: var(--nf-radius-card) var(--nf-radius-card) 0 0;
    box-shadow: 0 -10px 40px rgba(17, 17, 17, .12);
}
.nf-sheet--dark { background: var(--nf-stage); color: #fff; }

/* Marquee (announcement bar and ticker bands) */
@keyframes nfMarq { to { transform: translateX(-50%); } }
@keyframes nfMarqRtl { to { transform: translateX(50%); } }
.nf-marquee {
    background: var(--nf-ink); color: #fff;
    height: 40px; overflow: hidden;
    display: flex; align-items: center;
    font-size: 13px; font-weight: 600; letter-spacing: .4px;
}
.nf-marquee__track {
    display: flex; width: max-content;
    animation: nfMarq 40s linear infinite;
}
html[dir="rtl"] .nf-marquee__track { animation-name: nfMarqRtl; }
.nf-marquee:hover .nf-marquee__track { animation-play-state: paused; }
.nf-marquee__group {
    display: flex; gap: 28px; padding-inline-end: 28px; white-space: nowrap;
}
.nf-marquee__star { color: var(--nf-accent); }
.nf-marquee a { color: var(--nf-accent-soft); font-weight: 700; text-decoration: none; }
.nf-marquee a:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
    .nf-marquee__track { animation: none; }
    .nf-lift:hover, .nf-btn:hover { transform: none; }
}

/* Food card (Home grids, Restaurant menu) */
.nf-food-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.nf-food {
    background: var(--nf-surface);
    border-radius: 30px;
    padding: 10px 10px 18px;
    display: flex; flex-direction: column; gap: 14px;
    cursor: pointer; text-align: start;
}
.nf-food__media {
    position: relative; aspect-ratio: 5 / 4;
    border-radius: 24px; overflow: hidden; background: var(--nf-page);
}
.nf-food__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nf-food__off {
    position: absolute; top: 12px; inset-inline-start: 12px;
    height: 28px; padding: 0 10px; border-radius: var(--nf-radius-pill);
    background: var(--nf-ink); color: #fff;
    font-size: 12px; font-weight: 700; display: flex; align-items: center;
}
.nf-food__rating {
    position: absolute; top: 12px; inset-inline-end: 12px;
    height: 28px; padding: 0 10px; border-radius: var(--nf-radius-pill);
    background: rgba(255, 255, 255, .92); color: var(--nf-ink);
    font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 4px;
}
.nf-food__rating i { color: var(--nf-rating); font-size: 11px; }
.nf-food__body { padding: 0 10px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nf-food__name {
    margin: 0; font: 700 18px/1.25 var(--nf-font-body); letter-spacing: -.2px; color: var(--nf-ink);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nf-food__place {
    font-size: 13px; color: var(--nf-muted);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nf-food__save {
    align-self: flex-start; margin-top: 4px;
    height: 26px; padding: 0 10px; border-radius: 99px;
    background: var(--nf-open-soft); color: #0B5E35;
    font-size: 12px; font-weight: 700; display: flex; align-items: center;
}
.nf-food__foot {
    margin-top: auto; padding-inline: 10px 4px;
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.nf-food__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; min-width: 0; }
.nf-food__price b { font: 800 22px/1 var(--nf-font-head); letter-spacing: -.5px; color: var(--nf-ink); }
.nf-food__price s { font-size: 13px; color: var(--nf-muted); }
.nf-food__add {
    flex: none; width: 48px; height: 48px;
    border: 0; border-radius: 50%;
    background: var(--nf-ink); color: #fff;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    transition: background .18s var(--nf-ease);
}
.nf-food__add:hover { background: var(--nf-accent); color: var(--nf-ink); }

@keyframes nfPulse { 50% { opacity: .55; } }
.nf-skel { background: #E4E4DF; animation: nfPulse 1.4s ease-in-out infinite; }
.nf-skel--food { height: 360px; border-radius: 30px; }
@media (prefers-reduced-motion: reduce) { .nf-skel { animation: none; } }

@media (max-width: 640px) {
    .nf-food-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .nf-food { border-radius: 24px; padding: 8px 8px 12px; gap: 10px; }
    .nf-food__media { border-radius: 18px; aspect-ratio: 1; }
    .nf-food__body { padding: 0 4px; }
    .nf-food__name { font-size: 15px; }
    .nf-food__save { display: none; }
    .nf-food__foot { padding-inline: 4px 0; }
    .nf-food__price b { font-size: 17px; }
    .nf-food__add { width: 38px; height: 38px; }
    .nf-skel--food { height: 250px; }
}

/* --------------------------------------------------------------------------
   Shell: header
   -------------------------------------------------------------------------- */
.nf-header-wrap {
    position: sticky; top: 0; z-index: 1050;
    background: rgba(243, 243, 241, .92);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.nf-header {
    max-width: var(--nf-max); margin-inline: auto;
    padding: 16px var(--nf-gutter);
    display: flex; align-items: center; gap: 12px;
    box-sizing: border-box;
}
.nf-header__start { display: flex; align-items: center; gap: 8px; flex: none; }
.nf-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    white-space: nowrap;
    flex: none;
}
.nf-logo:hover { text-decoration: none; }
.nf-logo__img {
    height: 36px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nf-location {
    display: flex; align-items: center; gap: 10px; min-width: 0;
    height: 48px; padding-block: 0; padding-inline: 6px 16px;
    border-radius: var(--nf-radius-pill);
    background: var(--nf-surface); color: var(--nf-ink);
    text-decoration: none; text-align: start;
}
.nf-location:hover { background: var(--nf-surface); color: var(--nf-ink); text-decoration: none; box-shadow: 0 0 0 2px var(--nf-line); }
.nf-location__icon {
    flex: none; width: 36px; height: 36px; border-radius: 99px;
    background: var(--nf-ink); color: #fff;
    display: flex; align-items: center; justify-content: center;
}
.nf-location__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.nf-location__label { font-size: 11px; color: var(--nf-muted); }
.nf-location__value {
    font-size: 14px; font-weight: 600;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px;
}

.nf-nav {
    margin-inline: auto;
    display: flex; gap: 4px; padding: 5px;
    border-radius: var(--nf-radius-pill); background: var(--nf-surface);
}
.nf-nav a {
    height: 40px; padding: 0 18px;
    border-radius: var(--nf-radius-pill);
    display: flex; align-items: center;
    font-size: 14px; font-weight: 500; color: var(--nf-ink);
    text-decoration: none; white-space: nowrap;
}
.nf-nav a:hover { background: var(--nf-page); color: var(--nf-ink); text-decoration: none; }
.nf-nav a[aria-current="page"] { background: var(--nf-ink); color: #fff; font-weight: 600; }

.nf-header__end { display: flex; align-items: center; gap: 10px; flex: none; margin-inline-start: auto; }
.nf-nav + .nf-header__end { margin-inline-start: 0; }
.nf-avatar {
    display: block; width: 48px; height: 48px; border-radius: 99px; overflow: hidden;
    background: var(--nf-surface); flex: none;
}
.nf-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

html[dir="rtl"] .nf-flip { transform: scaleX(-1); }

/* The menu button stays at every width: the drawer holds wallet, gift cards,
   favourites and the language switch, which the pill nav does not. */
@media (max-width: 1100px) {
    .nf-nav { display: none; }
}
@media (max-width: 640px) {
    .nf-header { padding: 10px var(--nf-gutter); gap: 8px; }
    .nf-logo__img { height: 28px; }
    .nf-header .nf-icon-btn, .nf-avatar { width: 40px; height: 40px; }
    .nf-header .nf-icon-btn i { font-size: 16px; }
    .nf-location { height: 40px; padding-inline: 4px 12px; gap: 8px; }
    .nf-location__icon { width: 32px; height: 32px; }
    .nf-location__value { max-width: 120px; font-size: 13px; }
    .nf-header .nf-signin { display: none; }
    /* On phones the dock carries cart, alerts and profile */
    .nf-header .nf-hide-sm { display: none !important; } /* beats pwa-push.css */
}
@media (max-width: 420px) {
    .nf-logo { display: none; }
}

/* PWA status dot keeps working inside the new buttons */
.nf-icon-btn .pwa-push-status-dot { top: 10px; inset-inline-end: 12px; }

/* --------------------------------------------------------------------------
   Shell: footer (layouts/footer.blade.php)
   -------------------------------------------------------------------------- */
footer.modern-footer {
    background: var(--nf-stage);
    background-image: none;
    color: #fff;
    font-family: var(--nf-font-body);
    border-top: 0;
    border-radius: var(--nf-radius-stage) var(--nf-radius-stage) 0 0;
    margin-top: 72px;
}
footer.modern-footer::before { display: none; }
footer.modern-footer .footer-feature-item {
    background: var(--nf-stage-2);
    border: 0;
    border-radius: var(--nf-radius-tile);
}
footer.modern-footer .feature-icon-bubble,
footer.modern-footer .feature-icon-bubble.green,
footer.modern-footer .feature-icon-bubble.orange,
footer.modern-footer .feature-icon-bubble.blue,
footer.modern-footer .feature-icon-bubble.purple {
    background: rgba(255, 106, 43, .14);
    color: var(--nf-accent);
    border: 0;
    border-radius: var(--nf-radius-pill);
}
footer.modern-footer .feature-text-title,
footer.modern-footer .modern-footer-heading,
footer.modern-footer .app-card-heading {
    font-family: var(--nf-font-head);
    color: #fff;
}
footer.modern-footer .modern-footer-heading.orange { color: var(--nf-accent-soft); }
footer.modern-footer .modern-footer-heading::after { background: var(--nf-accent); }
footer.modern-footer .feature-text-sub,
footer.modern-footer .footer-brand-desc,
footer.modern-footer .app-card-desc,
footer.modern-footer .footer-copy-text { color: var(--nf-muted-on-dark); }
footer.modern-footer .modern-footer-links a { color: #E4E4DF; }
footer.modern-footer .modern-footer-links a:hover { color: var(--nf-accent-soft); }
footer.modern-footer .footer-meta-pill,
footer.modern-footer .payment-badge-pill,
footer.modern-footer .app-rating-pill {
    background: var(--nf-stage-2);
    border: 1px solid var(--nf-stage-line);
    border-radius: var(--nf-radius-pill);
    color: #E4E4DF;
}
footer.modern-footer .modern-social-btn {
    background: var(--nf-stage-2);
    border: 1px solid var(--nf-stage-line);
    border-radius: var(--nf-radius-pill);
    color: #fff;
}
footer.modern-footer .modern-social-btn:hover { background: var(--nf-accent); border-color: var(--nf-accent); color: var(--nf-ink); }
footer.modern-footer .footer-app-showcase-card {
    background: var(--nf-stage-2);
    background-image: none;
    border: 1px solid var(--nf-stage-line);
    border-radius: var(--nf-radius-card);
}
footer.modern-footer .app-card-tag {
    background: rgba(255, 106, 43, .14);
    color: var(--nf-accent-soft);
    border: 0;
    border-radius: var(--nf-radius-pill);
}
footer.modern-footer .app-rating-stars { color: var(--nf-rating); }
footer.modern-footer .modern-footer-bottom { border-top-color: var(--nf-stage-line); }

/* --------------------------------------------------------------------------
   Cart drawer (layouts/cart_offcanvas + restaurant/cart_item, phase 5)
   Scoped to .cart-offcanvas: cart_item.blade.php carries its own inline
   <style>, so these selectors are one class stronger.
   -------------------------------------------------------------------------- */
.cart-offcanvas-overlay { background: rgba(17, 17, 17, .35); }
.cart-offcanvas {
    background: var(--nf-page); font-family: var(--nf-font-body); color: var(--nf-ink);
    box-shadow: -20px 0 50px rgba(17, 17, 17, .18);
}
.cart-offcanvas .cart-offcanvas-header {
    background: var(--nf-page); backdrop-filter: none; border: 0; padding: 22px 22px 10px;
}
.cart-offcanvas .cart-offcanvas-header h5 {
    font: 800 26px/1 var(--nf-font-head); letter-spacing: -.6px; color: var(--nf-ink);
}
.cart-offcanvas .cart-offcanvas-header h5 i { display: none; }
.cart-offcanvas .close-offcanvas {
    width: 44px; height: 44px; background: var(--nf-surface); color: var(--nf-ink);
}
.cart-offcanvas .close-offcanvas:hover { background: var(--nf-ink); color: #fff; }
.cart-offcanvas .cart-offcanvas-body { padding: 8px 16px 16px; }

/* Blocks inside the drawer become white cards */
.cart-offcanvas #cart-offcanvas-content > .bg-white,
.cart-offcanvas #cart-offcanvas-content .sidebar-item-list,
.cart-offcanvas #cart-offcanvas-content .btm-total {
    background: var(--nf-surface) !important; border-radius: var(--nf-radius-tile);
    margin-bottom: 10px; padding: 16px !important;
}
.cart-offcanvas #cart-offcanvas-content .btm-total > .p-3 { padding: 0 0 12px !important; }
.cart-offcanvas #cart-offcanvas-content .sidebar-header,
.cart-offcanvas #cart-offcanvas-content .siddhi-cart-item-profile { display: none !important; }
.cart-offcanvas #cart-offcanvas-content .border-bottom { border-bottom: 1px dashed var(--nf-line) !important; }
.cart-offcanvas #cart-offcanvas-content hr { border-top: 1px dashed var(--nf-line); margin: 10px 0; }
.cart-offcanvas #cart-offcanvas-content h6 { font-family: var(--nf-font-head); font-weight: 800; color: var(--nf-ink); }

/* Lines */
.cart-offcanvas .cart-item-premium {
    background: transparent !important; backdrop-filter: none;
    border: 0 !important; border-bottom: 1px dashed var(--nf-line) !important; border-radius: 0 !important;
    padding: 10px 0 !important; margin: 0 !important; gap: 0;
}
.cart-offcanvas .cart-item-premium:last-of-type { border-bottom: 0 !important; }
.cart-offcanvas .cart-item-premium:hover { background: transparent !important; box-shadow: none; transform: none; }
.cart-offcanvas .cart-item-img {
    width: 64px; height: 64px; border-radius: 18px; box-shadow: none; background: var(--nf-page);
}
.cart-offcanvas .cart-item-name { font: 700 14px/1.3 var(--nf-font-body); color: var(--nf-ink); }
.cart-offcanvas .cart-item-variant { color: var(--nf-muted); }
.cart-offcanvas .count-number-box-premium { background: var(--nf-page); border-radius: 99px; padding: 3px; }
.cart-offcanvas .count-number-box-premium .count-number-btn {
    width: 30px; height: 30px; border-radius: 50% !important;
    background: var(--nf-surface) !important; color: var(--nf-ink) !important;
}
.cart-offcanvas .count-number-box-premium .count-number-btn.inc { background: var(--nf-ink) !important; color: #fff !important; }
.cart-offcanvas .count-number-box-premium .count-number-btn:hover { filter: brightness(.9); }
.cart-offcanvas .cart-item-price { font: 800 15px var(--nf-font-head); color: var(--nf-ink); }
.cart-offcanvas .remove-btn-premium { color: var(--nf-muted); }
.cart-offcanvas .remove-btn-premium:hover { color: #B91C1C; }

/* Promo code: dashed pill */
.cart-offcanvas #cart-offcanvas-content .input-group {
    align-items: center; padding-block: 4px; padding-inline: 16px 4px;
    border: 1.5px dashed var(--nf-line); border-radius: var(--nf-radius-pill); background: var(--nf-surface);
}
.cart-offcanvas #coupon_code {
    border: 0 !important; box-shadow: none !important; background: transparent; height: 40px; padding: 0;
    font: 800 14px var(--nf-font-head); letter-spacing: .6px;
}
.cart-offcanvas #coupon_code::placeholder { font-family: var(--nf-font-body); font-weight: 400; letter-spacing: 0; color: var(--nf-muted); }
.cart-offcanvas #apply-coupon-code {
    height: 40px; padding: 0 16px; border: 0; border-radius: var(--nf-radius-pill) !important;
    background: var(--nf-accent); color: var(--nf-ink); font-weight: 700;
}

/* Tip, note, delivery options */
.cart-offcanvas #cart-offcanvas-content textarea.form-control {
    background: var(--nf-page); border: 0; border-radius: 18px; box-shadow: none;
}
.cart-offcanvas .custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--nf-ink); border-color: var(--nf-ink);
}
.cart-offcanvas .text-dark,
.cart-offcanvas #cart-offcanvas-content label.text-dark { color: var(--nf-ink) !important; }
.cart-offcanvas .tip-box .custom-control { border-bottom: 0 !important; }
.cart-offcanvas .delevery-partner .tip-box .custom-control.custom-radio .custom-control-label {
    border: 0; border-radius: var(--nf-radius-pill); background: var(--nf-page);
    color: var(--nf-ink); font-weight: 700; padding: 10px 6px;
}
.cart-offcanvas .delevery-partner .tip-box .custom-control.custom-radio .custom-control-label::before { border-radius: var(--nf-radius-pill); background: var(--nf-page); }
.cart-offcanvas .delevery-partner .tip-box .custom-control.custom-radio .custom-control-input:checked ~ .custom-control-label::before { background: var(--nf-ink); }
.cart-offcanvas .delevery-partner .tip-box .custom-control.custom-radio .custom-control-input:checked ~ .custom-control-label { background: var(--nf-ink); color: #fff; }
html[dir="rtl"] .cart-offcanvas .cart-offcanvas-footer .btn-success i { transform: scaleX(-1); margin-left: 0 !important; margin-right: .5rem; }

/* Totals */
.cart-offcanvas .btm-total p { color: var(--nf-muted); font-size: 14px; }
.cart-offcanvas .btm-total p .text-dark { color: var(--nf-ink) !important; font-weight: 600; }
.cart-offcanvas .btm-total > h6 { font-size: 16px; padding-top: 4px; }
.cart-offcanvas .btm-total > h6 p { font: 800 22px var(--nf-font-head); color: var(--nf-ink); margin: 0; }

/* Footer: summary and dark checkout pill */
.cart-offcanvas .cart-offcanvas-footer {
    background: var(--nf-surface); border: 0; box-shadow: none;
    border-radius: var(--nf-radius-card) var(--nf-radius-card) 0 0; padding: 18px 18px 20px;
}
.cart-offcanvas .cart-summary { background: transparent; padding: 0 4px; border-radius: 0; }
.cart-offcanvas .cart-summary .text-success { color: var(--nf-ink) !important; font: 800 24px var(--nf-font-head) !important; }
.cart-offcanvas .cart-offcanvas-footer .btn-success {
    height: 60px; border: 0; background: var(--nf-stage); color: #fff;
    font: 700 16px var(--nf-font-body); box-shadow: none !important;
}
.cart-offcanvas .cart-offcanvas-footer .btn-success i { color: var(--nf-accent); }
.cart-offcanvas .cart-offcanvas-footer .btn-success:hover { background: #000; }
.cart-offcanvas .cart-offcanvas-footer .btn-light {
    height: 48px; display: flex; align-items: center; justify-content: center;
    background: var(--nf-page); border: 0; color: var(--nf-ink) !important;
}
.cart-offcanvas .empty-cart-msg .btn {
    border: 0; background: var(--nf-ink); color: #fff; height: 44px; padding: 0 20px;
    display: inline-flex; align-items: center;
}
html[dir="rtl"] .cart-offcanvas-header h5 { letter-spacing: 0; }
