/*
Theme Name: Dapoer Ibu Nusantara
Description: Theme katalog kuliner UMKM dengan keranjang pesanan yang dikirim lewat WhatsApp. Menu, harga, foto, dan semua teks bisa diatur dari dashboard (Menu Kuliner).
Author: Seminority Studio
Version: 1.2.1
Requires at least: 5.8
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dapoer-ibu-nusantara
Tags: food-and-drink, one-column, custom-logo, custom-menu, featured-images, translation-ready
*/

    /* =====================================================================
       DESIGN TOKENS & RESET ("Light Technical Blueprint" Warm Culinary)
    ====================================================================== */
    :root {
      --bg-canvas: #FAF9F6;
      --bg-surface: #FFFFFF;
      --bg-subtle: #F2EFE9;
      --bg-hero: #F4F1EA;
      --navy: #1F2544;
      --navy-hover: #2E3661;
      --terracotta: #C85A32;
      --terracotta-dark: #A64623;
      --terracotta-soft: #FDF2ED;
      --lime: #A3E600;
      --lime-hover: #92CE00;
      --ink-primary: #1A1D24;
      --ink-secondary: #525866;
      --ink-muted: #767D8C;
      --border-hairline: #E6E4DD;
      --border-strong: #D6D2C7;
      --shadow-sm: 0 1px 2px rgba(26, 29, 36, 0.04);
      --shadow-md: 0 8px 24px rgba(26, 29, 36, 0.06);
      --shadow-lg: 0 20px 44px rgba(26, 29, 36, 0.12);
      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 16px;
      --radius-pill: 9999px;
    }

    *, *::before, *::after {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      -webkit-text-size-adjust: 100%;
    }

    body {
      margin: 0;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      background-color: var(--bg-canvas);
      color: var(--ink-primary);
      line-height: 1.55;
      overflow-x: hidden;
    }

    h1, h2, h3, h4, .font-display {
      font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
      letter-spacing: -0.02em;
    }

    .font-mono-num {
      font-family: 'JetBrains Mono', monospace;
      font-variant-numeric: tabular-nums;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button, input, textarea {
      font-family: inherit;
    }

    button {
      cursor: pointer;
    }

    img {
      display: block;
      max-width: 100%;
    }

    /* =====================================================================
       1. TOP PROMO BAR (SINGLE-LINE)
    ====================================================================== */
    .top-promo-bar {
      background-color: var(--navy);
      color: #FFFFFF;
      min-height: 36px;
      padding: 6px 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.01em;
    }

    .top-promo-bar .promo-inner {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 100%;
    }

    .top-promo-bar .promo-highlight {
      color: var(--lime);
      font-weight: 700;
    }

    /* =====================================================================
       2. STICKY HEADER & SINGLE-ROW NAVBAR
    ====================================================================== */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      background-color: rgba(250, 249, 246, 0.96);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border-hairline);
    }

    .header-container {
      max-width: 1320px;
      height: 74px;
      margin: 0 auto;
      padding: 0 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    /* Left Brand Mark */
    .brand-link {
      display: inline-flex;
      align-items: center;
      gap: 11px;
      flex-shrink: 0;
      white-space: nowrap;
    }

    .brand-mark {
      width: 40px;
      height: 40px;
      border-radius: 11px;
      background-color: var(--terracotta);
      color: #FFFFFF;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      box-shadow: var(--shadow-sm);
      transition: background-color 0.18s ease, transform 0.18s ease;
    }

    .brand-link:hover .brand-mark {
      background-color: var(--terracotta-dark);
      transform: translateY(-1px);
    }

    .brand-text-group {
      display: flex;
      flex-direction: column;
      flex-shrink: 0;
      white-space: nowrap;
    }

    .brand-title {
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 16px;
      font-weight: 800;
      line-height: 1.15;
      color: var(--ink-primary);
      white-space: nowrap;
      flex-shrink: 0;
    }

    .brand-subtitle {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--terracotta);
      line-height: 1.2;
      margin-top: 2px;
      white-space: nowrap;
      flex-shrink: 0;
    }

    /* Center Navigation Links */
    .center-nav {
      display: flex;
      align-items: center;
      gap: 24px;
      flex-shrink: 0;
    }

    .nav-item-link {
      font-size: 13.5px;
      font-weight: 600;
      color: var(--ink-secondary);
      white-space: nowrap;
      flex-shrink: 0;
      padding: 6px 2px;
      position: relative;
      transition: color 0.18s ease;
    }

    .nav-item-link:hover,
    .nav-item-link:focus-visible {
      color: var(--terracotta);
      outline: none;
    }

    .nav-item-link::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 2px;
      background-color: var(--terracotta);
      border-radius: 2px;
      transform: scaleX(0);
      transform-origin: center;
      transition: transform 0.2s ease;
    }

    .nav-item-link:hover::after {
      transform: scaleX(1);
    }

    /* Right Actions */
    .header-actions {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-shrink: 0;
    }

    .header-search-wrap {
      position: relative;
      width: 190px;
      height: 40px;
      flex-shrink: 0;
    }

    .header-search-icon {
      position: absolute;
      left: 13px;
      top: 50%;
      transform: translateY(-50%);
      width: 15px;
      height: 15px;
      color: var(--ink-muted);
      pointer-events: none;
    }

    .header-search-input {
      width: 190px;
      height: 40px;
      border-radius: var(--radius-pill);
      border: 1px solid var(--border-hairline);
      background-color: var(--bg-surface);
      padding: 0 14px 0 35px;
      font-size: 12.5px;
      color: var(--ink-primary);
      transition: border-color 0.18s ease, box-shadow 0.18s ease;
    }

    .header-search-input::placeholder {
      color: var(--ink-muted);
    }

    .header-search-input:focus {
      outline: none;
      border-color: var(--terracotta);
      box-shadow: 0 0 0 3px rgba(200, 90, 50, 0.12);
    }

    .pill-fav-btn {
      height: 40px;
      padding: 0 14px;
      border-radius: var(--radius-pill);
      border: 1px solid var(--border-hairline);
      background-color: var(--bg-surface);
      color: var(--ink-primary);
      font-size: 12.5px;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      white-space: nowrap;
      flex-shrink: 0;
      transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
    }

    .pill-fav-btn:hover {
      border-color: var(--terracotta);
      color: var(--terracotta);
    }

    .pill-fav-btn.is-active {
      background-color: var(--terracotta-soft);
      border-color: var(--terracotta);
      color: var(--terracotta-dark);
    }

    .pill-cart-btn {
      height: 40px;
      padding: 0 16px;
      border-radius: var(--radius-pill);
      border: none;
      background-color: var(--navy);
      color: #FFFFFF;
      font-size: 12.5px;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap;
      flex-shrink: 0;
      box-shadow: var(--shadow-sm);
      transition: background-color 0.18s ease, transform 0.15s ease;
    }

    .pill-cart-btn:hover {
      background-color: var(--navy-hover);
      transform: translateY(-1px);
    }

    .cart-lime-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 20px;
      height: 20px;
      padding: 0 6px;
      border-radius: var(--radius-pill);
      background-color: var(--lime);
      color: var(--navy);
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      font-weight: 700;
      line-height: 1;
    }

    /* Mobile Hamburger Button (< 1180px) */
    .hamburger-btn {
      display: none;
      width: 40px;
      height: 40px;
      border-radius: var(--radius-pill);
      border: 1px solid var(--border-hairline);
      background-color: var(--bg-surface);
      color: var(--ink-primary);
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      transition: border-color 0.18s ease, background-color 0.18s ease;
    }

    .hamburger-btn:hover {
      border-color: var(--terracotta);
      background-color: var(--terracotta-soft);
    }

    /* Mobile Drawer */
    .mobile-drawer {
      display: none;
      border-top: 1px solid var(--border-hairline);
      background-color: var(--bg-surface);
      padding: 16px 24px 20px;
      box-shadow: var(--shadow-md);
    }

    .mobile-drawer.is-open {
      display: block;
    }

    .mobile-drawer-inner {
      max-width: 1320px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .mobile-drawer-search {
      position: relative;
      width: 100%;
    }

    .mobile-drawer-search input {
      width: 100%;
      height: 42px;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-hairline);
      background-color: var(--bg-canvas);
      padding: 0 14px 0 38px;
      font-size: 13.5px;
      color: var(--ink-primary);
    }

    .mobile-drawer-search input:focus {
      outline: none;
      border-color: var(--terracotta);
    }

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

    .mobile-nav-link {
      padding: 10px 14px;
      border-radius: var(--radius-md);
      background-color: var(--bg-canvas);
      border: 1px solid var(--border-hairline);
      font-size: 13px;
      font-weight: 600;
      color: var(--ink-primary);
      white-space: nowrap;
      transition: border-color 0.15s ease, color 0.15s ease;
    }

    .mobile-nav-link:hover {
      border-color: var(--terracotta);
      color: var(--terracotta);
    }

    /* Responsive Breakpoint Below 1180px */
    @media (max-width: 1179px) {
      .center-nav,
      .header-search-wrap {
        display: none;
      }

      .hamburger-btn {
        display: inline-flex;
      }
    }

    @media (max-width: 640px) {
      .header-container {
        padding: 0 14px;
        gap: 10px;
        height: 68px;
      }

      .brand-title {
        font-size: 14.5px;
      }

      .brand-subtitle {
        font-size: 9px;
        letter-spacing: 0.05em;
      }

      .pill-fav-btn .fav-label,
      .pill-cart-btn .cart-label {
        display: none;
      }

      .pill-fav-btn,
      .pill-cart-btn {
        padding: 0 11px;
      }
    }

    /* =====================================================================
       3. HERO SECTION
    ====================================================================== */
    .hero-section {
      background: linear-gradient(180deg, var(--bg-hero) 0%, var(--bg-canvas) 100%);
      border-bottom: 1px solid var(--border-hairline);
      padding: 40px 24px 36px;
    }

    .hero-container {
      max-width: 1320px;
      margin: 0 auto;
    }

    .hero-top-row {
      display: flex;
      flex-wrap: wrap;
      align-items: flex-end;
      justify-content: space-between;
      gap: 24px;
      margin-bottom: 24px;
    }

    .hero-copy {
      max-width: 690px;
    }

    .hero-kicker {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 11.5px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--terracotta);
      background-color: var(--terracotta-soft);
      border: 1px solid rgba(200, 90, 50, 0.22);
      padding: 5px 12px;
      border-radius: var(--radius-pill);
      margin-bottom: 12px;
    }

    .hero-headline {
      margin: 0 0 10px;
      font-size: clamp(28px, 4vw, 44px);
      font-weight: 800;
      line-height: 1.12;
      color: var(--ink-primary);
    }

    .hero-headline .accent-word {
      color: var(--terracotta);
    }

    .hero-description {
      margin: 0;
      font-size: 15px;
      color: var(--ink-secondary);
      max-width: 610px;
    }

    /* Hero Search Bar */
    .hero-search-box {
      position: relative;
      width: 100%;
      max-width: 360px;
      flex: 1 1 280px;
    }

    .hero-search-icon {
      position: absolute;
      left: 16px;
      top: 50%;
      transform: translateY(-50%);
      width: 18px;
      height: 18px;
      color: var(--ink-muted);
      pointer-events: none;
    }

    .hero-search-input {
      width: 100%;
      height: 48px;
      border-radius: var(--radius-pill);
      border: 1px solid var(--border-strong);
      background-color: var(--bg-surface);
      padding: 0 42px 0 44px;
      font-size: 14px;
      color: var(--ink-primary);
      box-shadow: var(--shadow-sm);
      transition: border-color 0.18s ease, box-shadow 0.18s ease;
    }

    .hero-search-input::placeholder {
      color: var(--ink-muted);
    }

    .hero-search-input:focus {
      outline: none;
      border-color: var(--terracotta);
      box-shadow: 0 0 0 4px rgba(200, 90, 50, 0.12);
    }

    .hero-search-clear {
      position: absolute;
      right: 12px;
      top: 50%;
      transform: translateY(-50%);
      width: 24px;
      height: 24px;
      border-radius: 50%;
      border: none;
      background-color: var(--bg-subtle);
      color: var(--ink-secondary);
      font-size: 13px;
      display: none;
      align-items: center;
      justify-content: center;
    }

    .hero-search-clear.visible {
      display: inline-flex;
    }

    /* Category Filter Pills */
    .category-pills-row {
      display: flex;
      align-items: center;
      gap: 10px;
      overflow-x: auto;
      padding-bottom: 4px;
      scrollbar-width: none;
    }

    .category-pills-row::-webkit-scrollbar {
      display: none;
    }

    .category-pill {
      height: 38px;
      padding: 0 18px;
      border-radius: var(--radius-pill);
      border: 1px solid var(--border-hairline);
      background-color: var(--bg-surface);
      color: var(--ink-secondary);
      font-size: 13px;
      font-weight: 600;
      white-space: nowrap;
      flex-shrink: 0;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      transition: all 0.18s ease;
    }

    .category-pill:hover {
      border-color: var(--terracotta);
      color: var(--terracotta);
    }

    .category-pill.is-active {
      background-color: var(--navy);
      border-color: var(--navy);
      color: #FFFFFF;
      box-shadow: var(--shadow-sm);
    }

    .category-pill .pill-count {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      opacity: 0.78;
    }

    /* =====================================================================
       4. MAIN CATALOG + STICKY CART GRID
    ====================================================================== */
    .main-layout {
      max-width: 1320px;
      margin: 0 auto;
      padding: 32px 24px 64px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) 360px;
      gap: 28px;
      align-items: start;
    }

    @media (max-width: 1023px) {
      .main-layout {
        grid-template-columns: minmax(0, 1fr);
        padding: 24px 16px 56px;
        gap: 32px;
      }
    }

    .catalog-toolbar {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 20px;
    }

    .catalog-heading-group {
      display: flex;
      align-items: baseline;
      gap: 10px;
      flex-wrap: wrap;
    }

    .catalog-section-title {
      margin: 0;
      font-size: 20px;
      font-weight: 800;
      color: var(--ink-primary);
    }

    .catalog-result-meta {
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      color: var(--ink-muted);
    }

    .reset-filter-btn {
      border: 1px solid var(--border-strong);
      background-color: var(--bg-surface);
      color: var(--ink-secondary);
      font-size: 12px;
      font-weight: 600;
      padding: 6px 12px;
      border-radius: var(--radius-pill);
      transition: all 0.15s ease;
    }

    .reset-filter-btn:hover {
      border-color: var(--terracotta);
      color: var(--terracotta);
    }

    /* Menu Cards Grid */
    .menu-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 20px;
    }

    .menu-card {
      background-color: var(--bg-surface);
      border: 1px solid var(--border-hairline);
      border-radius: var(--radius-lg);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      box-shadow: var(--shadow-sm);
      transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }

    .menu-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-md);
      border-color: var(--border-strong);
    }

    .menu-media {
      position: relative;
      aspect-ratio: 4 / 3;
      width: 100%;
      background-color: var(--bg-subtle);
      overflow: hidden;
    }

    .menu-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.35s ease;
    }

    .menu-card:hover .menu-media img {
      transform: scale(1.04);
    }

    .menu-badge {
      position: absolute;
      top: 10px;
      left: 10px;
      padding: 4px 10px;
      border-radius: var(--radius-pill);
      font-size: 10.5px;
      font-weight: 700;
      letter-spacing: 0.02em;
      background-color: var(--navy);
      color: #FFFFFF;
      box-shadow: var(--shadow-sm);
    }

    .menu-badge.is-bestseller {
      background-color: var(--terracotta);
      color: #FFFFFF;
    }

    .menu-badge.is-signature {
      background-color: var(--lime);
      color: var(--navy);
    }

    .wishlist-toggle-btn {
      position: absolute;
      top: 10px;
      right: 10px;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      border: 1px solid rgba(26, 29, 36, 0.1);
      background-color: rgba(255, 255, 255, 0.94);
      color: var(--ink-secondary);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      line-height: 1;
      transition: transform 0.15s ease, color 0.15s ease, background-color 0.15s ease;
    }

    .wishlist-toggle-btn:hover {
      transform: scale(1.06);
      color: var(--terracotta);
    }

    .wishlist-toggle-btn.is-liked {
      color: var(--terracotta);
      background-color: var(--terracotta-soft);
      border-color: rgba(200, 90, 50, 0.35);
    }

    .menu-body {
      padding: 15px 16px 16px;
      display: flex;
      flex-direction: column;
      flex: 1;
    }

    .menu-category-tag {
      font-size: 11px;
      font-weight: 600;
      color: var(--terracotta);
      text-transform: uppercase;
      letter-spacing: 0.04em;
      margin-bottom: 4px;
    }

    .menu-title {
      margin: 0 0 6px;
      font-size: 16px;
      font-weight: 700;
      color: var(--ink-primary);
      line-height: 1.3;
    }

    .menu-desc {
      margin: 0 0 14px;
      font-size: 12.5px;
      color: var(--ink-secondary);
      line-height: 1.48;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .menu-footer {
      margin-top: auto;
      padding-top: 12px;
      border-top: 1px dashed var(--border-hairline);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }

    .menu-price-block {
      display: flex;
      flex-direction: column;
    }

    .menu-price {
      font-family: 'JetBrains Mono', monospace;
      font-size: 14.5px;
      font-weight: 700;
      color: var(--ink-primary);
      line-height: 1.2;
    }

    .menu-unit {
      font-size: 11px;
      color: var(--ink-muted);
    }

    .menu-card-actions {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .btn-detail-sm {
      height: 34px;
      padding: 0 10px;
      border-radius: var(--radius-sm);
      border: 1px solid var(--border-hairline);
      background-color: var(--bg-canvas);
      color: var(--ink-secondary);
      font-size: 12px;
      font-weight: 600;
      transition: all 0.15s ease;
    }

    .btn-detail-sm:hover {
      border-color: var(--navy);
      color: var(--navy);
    }

    .btn-add-menu {
      height: 34px;
      padding: 0 12px;
      border-radius: var(--radius-sm);
      border: none;
      background-color: var(--terracotta);
      color: #FFFFFF;
      font-size: 12px;
      font-weight: 700;
      white-space: nowrap;
      transition: background-color 0.15s ease, transform 0.12s ease;
    }

    .btn-add-menu:hover {
      background-color: var(--terracotta-dark);
    }

    .btn-add-menu:active {
      transform: scale(0.97);
    }

    /* Empty Catalog State */
    .empty-catalog-box {
      background-color: var(--bg-surface);
      border: 1px dashed var(--border-strong);
      border-radius: var(--radius-lg);
      padding: 40px 24px;
      text-align: center;
    }

    .empty-catalog-box h3 {
      margin: 0 0 6px;
      font-size: 17px;
      color: var(--ink-primary);
    }

    .empty-catalog-box p {
      margin: 0 0 16px;
      font-size: 13.5px;
      color: var(--ink-secondary);
    }

    /* =====================================================================
       5. STICKY CART SIDEBAR
    ====================================================================== */
    .cart-sidebar {
      position: sticky;
      top: 92px;
      background-color: var(--bg-surface);
      border: 1px solid var(--border-hairline);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-md);
      overflow: hidden;
    }

    @media (max-width: 1023px) {
      .cart-sidebar {
        position: static;
      }
    }

    .cart-header {
      background-color: var(--navy);
      color: #FFFFFF;
      padding: 16px 18px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .cart-header-title {
      margin: 0;
      font-size: 15.5px;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .cart-clear-btn {
      background: transparent;
      border: 1px solid rgba(255, 255, 255, 0.25);
      color: rgba(255, 255, 255, 0.85);
      font-size: 11px;
      font-weight: 600;
      padding: 4px 10px;
      border-radius: var(--radius-pill);
      transition: all 0.15s ease;
    }

    .cart-clear-btn:hover {
      background-color: rgba(255, 255, 255, 0.12);
      color: #FFFFFF;
    }

    .cart-body {
      padding: 16px 18px 18px;
    }

    .cart-items-list {
      display: flex;
      flex-direction: column;
      gap: 12px;
      max-height: 320px;
      overflow-y: auto;
      padding-right: 2px;
    }

    .cart-empty-state {
      padding: 28px 12px;
      text-align: center;
      border: 1px dashed var(--border-hairline);
      border-radius: var(--radius-md);
      background-color: var(--bg-canvas);
    }

    .cart-empty-state p {
      margin: 0;
      font-size: 13px;
      color: var(--ink-muted);
    }

    .cart-item-row {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 10px;
      padding-bottom: 12px;
      border-bottom: 1px solid var(--border-hairline);
    }

    .cart-item-row:last-child {
      padding-bottom: 0;
      border-bottom: none;
    }

    .cart-item-thumb {
      width: 48px;
      height: 48px;
      border-radius: var(--radius-sm);
      object-fit: cover;
      flex-shrink: 0;
      background-color: var(--bg-subtle);
    }

    .cart-item-info {
      flex: 1;
      min-width: 0;
    }

    .cart-item-name {
      font-size: 13px;
      font-weight: 700;
      color: var(--ink-primary);
      line-height: 1.3;
      margin-bottom: 2px;
    }

    .cart-item-sub {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11.5px;
      color: var(--ink-secondary);
    }

    .cart-qty-controls {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      margin-top: 6px;
    }

    .qty-btn {
      width: 24px;
      height: 24px;
      border-radius: 6px;
      border: 1px solid var(--border-strong);
      background-color: var(--bg-canvas);
      color: var(--ink-primary);
      font-size: 13px;
      font-weight: 700;
      line-height: 1;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: all 0.14s ease;
    }

    .qty-btn:hover {
      border-color: var(--terracotta);
      color: var(--terracotta);
    }

    .qty-val {
      min-width: 20px;
      text-align: center;
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      font-weight: 700;
    }

    .remove-item-btn {
      margin-left: 4px;
      border: none;
      background: transparent;
      color: var(--ink-muted);
      font-size: 12px;
      padding: 2px 5px;
      border-radius: 4px;
    }

    .remove-item-btn:hover {
      color: #B91C1C;
      background-color: #FEF2F2;
    }

    .cart-subtotal-box {
      margin-top: 14px;
      padding-top: 14px;
      border-top: 1.5px solid var(--border-hairline);
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .cart-subtotal-label {
      font-size: 13px;
      font-weight: 600;
      color: var(--ink-secondary);
    }

    .cart-subtotal-value {
      font-family: 'JetBrains Mono', monospace;
      font-size: 17px;
      font-weight: 700;
      color: var(--terracotta-dark);
    }

    .checkout-form-fields {
      margin-top: 14px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .field-group label {
      display: block;
      font-size: 11.5px;
      font-weight: 700;
      color: var(--ink-secondary);
      margin-bottom: 4px;
    }

    .field-input,
    .field-textarea {
      width: 100%;
      border: 1px solid var(--border-hairline);
      border-radius: var(--radius-sm);
      background-color: var(--bg-canvas);
      color: var(--ink-primary);
      font-size: 12.5px;
      padding: 8px 11px;
      transition: border-color 0.15s ease, background-color 0.15s ease;
    }

    .field-input:focus,
    .field-textarea:focus {
      outline: none;
      border-color: var(--terracotta);
      background-color: var(--bg-surface);
    }

    .field-textarea {
      min-height: 62px;
      resize: vertical;
    }

    .btn-wa-checkout {
      margin-top: 14px;
      width: 100%;
      height: 44px;
      border-radius: var(--radius-md);
      border: none;
      background-color: var(--lime);
      color: var(--navy);
      font-size: 13.5px;
      font-weight: 800;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      box-shadow: var(--shadow-sm);
      transition: background-color 0.16s ease, transform 0.12s ease;
    }

    .btn-wa-checkout:hover {
      background-color: var(--lime-hover);
      transform: translateY(-1px);
    }

    .cart-helper-note {
      margin: 8px 0 0;
      font-size: 11px;
      color: var(--ink-muted);
      text-align: center;
    }

    /* =====================================================================
       6. INFO BANDS & FOOTER
    ====================================================================== */
    .info-section-wrap {
      max-width: 1320px;
      margin: 0 auto;
      padding: 0 24px 56px;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 20px;
    }

    @media (max-width: 820px) {
      .info-section-wrap {
        grid-template-columns: minmax(0, 1fr);
        padding: 0 16px 48px;
      }
    }

    .info-card {
      background-color: var(--bg-surface);
      border: 1px solid var(--border-hairline);
      border-radius: var(--radius-lg);
      padding: 22px 24px;
    }

    .info-card h3 {
      margin: 0 0 8px;
      font-size: 17px;
      font-weight: 800;
      color: var(--ink-primary);
    }

    .info-card p {
      margin: 0 0 12px;
      font-size: 13.5px;
      color: var(--ink-secondary);
    }

    .info-tag-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .info-chip {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      font-weight: 600;
      color: var(--navy);
      background-color: var(--bg-subtle);
      padding: 5px 10px;
      border-radius: var(--radius-sm);
    }

    .site-footer {
      background-color: var(--navy);
      color: rgba(255, 255, 255, 0.82);
      padding: 28px 24px;
      font-size: 12.5px;
    }

    .footer-inner {
      max-width: 1320px;
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .footer-inner strong {
      color: #FFFFFF;
    }

    .footer-accent {
      color: var(--lime);
      font-weight: 600;
    }

    /* =====================================================================
       7. MODAL (DETAIL MENU & WHATSAPP ORDER PREVIEW)
    ====================================================================== */
    .modal-backdrop {
      position: fixed;
      inset: 0;
      z-index: 80;
      background-color: rgba(26, 29, 36, 0.58);
      backdrop-filter: blur(3px);
      display: none;
      align-items: center;
      justify-content: center;
      padding: 16px;
    }

    .modal-backdrop.is-open {
      display: flex;
    }

    .modal-dialog {
      width: 100%;
      max-width: 540px;
      background-color: var(--bg-surface);
      border-radius: var(--radius-lg);
      border: 1px solid var(--border-hairline);
      box-shadow: var(--shadow-lg);
      overflow: hidden;
      animation: modalPop 0.18s ease-out;
    }

    @keyframes modalPop {
      from {
        opacity: 0;
        transform: translateY(8px) scale(0.98);
      }
      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    .modal-top {
      padding: 14px 18px;
      border-bottom: 1px solid var(--border-hairline);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .modal-top h3 {
      margin: 0;
      font-size: 16px;
      font-weight: 800;
    }

    .modal-close-btn {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      border: 1px solid var(--border-hairline);
      background-color: var(--bg-canvas);
      color: var(--ink-primary);
      font-size: 15px;
      line-height: 1;
    }

    .modal-content {
      padding: 18px;
    }

    .modal-food-img {
      width: 100%;
      aspect-ratio: 16 / 9;
      object-fit: cover;
      border-radius: var(--radius-md);
      margin-bottom: 14px;
      background-color: var(--bg-subtle);
    }

    .wa-preview-box {
      background-color: var(--bg-canvas);
      border: 1px solid var(--border-strong);
      border-radius: var(--radius-md);
      padding: 14px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      line-height: 1.55;
      color: var(--ink-primary);
      white-space: pre-wrap;
      max-height: 240px;
      overflow-y: auto;
      margin-bottom: 14px;
    }

    .modal-footer-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: flex-end;
    }

    .btn-secondary-modal {
      height: 40px;
      padding: 0 16px;
      border-radius: var(--radius-sm);
      border: 1px solid var(--border-strong);
      background-color: var(--bg-surface);
      color: var(--ink-primary);
      font-size: 13px;
      font-weight: 600;
    }

    .btn-primary-modal {
      height: 40px;
      padding: 0 18px;
      border-radius: var(--radius-sm);
      border: none;
      background-color: var(--terracotta);
      color: #FFFFFF;
      font-size: 13px;
      font-weight: 700;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .btn-lime-modal {
      height: 40px;
      padding: 0 18px;
      border-radius: var(--radius-sm);
      border: none;
      background-color: var(--lime);
      color: var(--navy);
      font-size: 13px;
      font-weight: 800;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    /* Toast Notification */
    .toast-banner {
      position: fixed;
      bottom: 22px;
      left: 50%;
      transform: translate(-50%, 16px);
      z-index: 95;
      background-color: var(--navy);
      color: #FFFFFF;
      padding: 10px 18px;
      border-radius: var(--radius-pill);
      font-size: 12.5px;
      font-weight: 600;
      box-shadow: var(--shadow-lg);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s ease, transform 0.2s ease;
      white-space: nowrap;
    }

    .toast-banner.is-visible {
      opacity: 1;
      transform: translate(-50%, 0);
    }

/* =====================================================================
   TAMBAHAN THEME WORDPRESS
====================================================================== */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important;
  width: 1px; word-wrap: normal !important;
}
.admin-bar .site-header { top: 32px; }
.admin-bar .cart-sidebar { top: 124px; }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
@media (max-width: 1023px) {
  .admin-bar .cart-sidebar { top: auto; }
}

/* Logo kustom menggantikan ikon bawaan */
.brand-mark.has-logo { background-color: transparent; box-shadow: none; }
.brand-mark.has-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }

.footer-inner em { color: var(--lime); font-style: normal; font-weight: 600; }
.top-promo-bar .promo-inner { white-space: normal; }

/* Menu habis */
.menu-card.is-soldout .menu-media img { filter: grayscale(0.85); opacity: 0.7; }
.menu-badge.is-soldout { background-color: #6B7280; color: #FFFFFF; }
.btn-add-menu:disabled, .btn-add-menu.is-soldout {
  background-color: var(--border-strong); color: var(--ink-muted); cursor: not-allowed;
}
a.btn-primary-modal, a.btn-lime-modal, a.btn-secondary-modal { text-decoration: none; justify-content: center; }
a.btn-secondary-modal { display: inline-flex; align-items: center; }

/* Halaman umum (page / post / 404) */
.dim-page { max-width: 820px; margin: 0 auto; padding: 40px 20px 72px; }
.dim-entry { margin-bottom: 40px; }
.dim-entry h1, .dim-entry h2 { margin: 0 0 12px; line-height: 1.2; }
.dim-entry h1 { font-size: clamp(26px, 4vw, 36px); }
.dim-entry h2 { font-size: 22px; }
.dim-entry h2 a:hover { color: var(--terracotta); }
.dim-content { font-size: 16px; color: var(--ink-secondary); }
.dim-content a { color: var(--terracotta); text-decoration: underline; }
.dim-content img { height: auto; border-radius: var(--radius-md); }
.dim-content h2, .dim-content h3 { color: var(--ink-primary); margin: 1.6em 0 0.5em; }
.dim-content .alignleft { float: left; margin: 0 1.2em 1em 0; }
.dim-content .alignright { float: right; margin: 0 0 1em 1.2em; }
.dim-content .aligncenter { margin-left: auto; margin-right: auto; }
.dim-pagination { display: flex; gap: 8px; flex-wrap: wrap; }
.dim-pagination .page-numbers {
  padding: 6px 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-pill);
  background: var(--bg-surface); font-size: 13px; font-weight: 600;
}
.dim-pagination .page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Halaman detail satu menu */
.dim-single { max-width: 1100px; margin: 0 auto; padding: 36px 24px 72px; }
.dim-back-link { display: inline-block; margin-bottom: 18px; font-size: 13px; font-weight: 600; color: var(--ink-secondary); }
.dim-back-link:hover { color: var(--terracotta); }
.dim-single-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
@media (max-width: 820px) { .dim-single-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; } }
.dim-single-media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3;
  background: var(--bg-subtle); border: 1px solid var(--border-hairline);
}
.dim-single-media img { width: 100%; height: 100%; object-fit: cover; }
.dim-single-title { margin: 6px 0 10px; font-size: clamp(26px, 4vw, 38px); font-weight: 800; line-height: 1.15; }
.dim-single-price { font-family: 'JetBrains Mono', monospace; font-size: 22px; font-weight: 700; color: var(--terracotta-dark); margin-bottom: 16px; }
.dim-single-price small { font-size: 13px; color: var(--ink-muted); font-weight: 500; }
.dim-single-desc { font-size: 15px; color: var(--ink-secondary); margin-bottom: 22px; }
.dim-single-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dim-single-actions .btn-lime-modal, .dim-single-actions .btn-secondary-modal { height: 46px; padding: 0 22px; font-size: 14px; }

/* Galeri foto menu */
.dim-thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.modal-food-img + .dim-thumbs { margin: -4px 0 14px; }
.dim-thumb {
  width: 64px; height: 64px; padding: 0; border-radius: var(--radius-sm); overflow: hidden;
  border: 2px solid transparent; background: var(--bg-subtle); opacity: 0.75; transition: opacity 0.15s ease, border-color 0.15s ease;
}
.dim-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dim-thumb:hover { opacity: 1; }
.dim-thumb.is-active { border-color: var(--terracotta); opacity: 1; }
.dim-single-media [data-gmain] { cursor: zoom-in; }
.dim-lightbox {
  position: fixed; inset: 0; z-index: 120; background: rgba(26, 29, 36, 0.88);
  display: flex; align-items: center; justify-content: center; padding: 20px; cursor: zoom-out;
}
.dim-lightbox img { max-width: 100%; max-height: 100%; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }

/* Bagian Paket Nasi Box (dipisah dari menu biasa) */
.box-section {
  margin-top: 56px; padding: 32px; border-radius: var(--radius-lg);
  background: var(--navy); color: #FAF9F6;
}
.box-section[hidden] { display: none; }
.box-section-head { margin-bottom: 24px; }
.box-section-head .catalog-section-title { color: #FFFFFF; }
.box-section-head .catalog-section-title::before {
  content: "PAKET"; display: inline-block; margin-right: 12px; padding: 4px 10px; border-radius: var(--radius-pill);
  background: var(--lime); color: #1A1D24; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; vertical-align: middle;
}
.box-section-head p { margin: 8px 0 0; font-size: 14px; color: #D8DAE6; max-width: 640px; }
.menu-card.is-box .menu-category-tag { color: var(--navy); font-weight: 700; }
@media (max-width: 640px) { .box-section { padding: 20px 16px; } }

/* Harga & tombol kartu menu: harga satu baris, tombol di bawahnya */
.menu-footer { flex-direction: column; align-items: stretch; gap: 12px; }
.menu-price-block { flex-direction: row; align-items: baseline; flex-wrap: nowrap; gap: 6px; }
.menu-price { font-size: 17px; white-space: nowrap; }
.menu-unit { font-size: 12px; white-space: nowrap; }
.menu-card-actions { width: 100%; gap: 8px; }
.menu-card-actions .btn-detail-sm { flex: 0 0 auto; padding: 0 16px; }
.menu-card-actions .btn-add-menu { flex: 1 1 auto; }
