/**
 * IRBXCORP PTE. LTD. — Mobile App Experience Stylesheet
 * Native iOS / Android Mobile App UI (Exclusively for max-width: 768px).
 * Desktop mode (min-width: 769px) is strictly preserved and completely untouched.
 */

/* ==============================================================
   1. DESKTOP PRESERVATION GUARD (Never affect desktop screens)
   ============================================================== */
@media (min-width: 769px) {
  .mobile-app-screen,
  .mobile-app-dock,
  .mobile-backdrop,
  .mobile-drawer-header,
  .mobile-drawer-quick,
  .mobile-drawer-footer,
  .mobile-only {
    display: none !important;
  }

  .desktop-web-view {
    display: block !important;
  }
}

/* ==============================================================
   2. MOBILE APP EXPERIENCE (Mobile devices: max-width 768px)
   ============================================================== */
@media (max-width: 768px) {
  /* Hide desktop website view entirely on mobile */
  .desktop-web-view {
    display: none !important;
  }

  .mobile-app-screen {
    display: block !important;
  }

  /* Global mobile touch polish */
  * {
    -webkit-tap-highlight-color: transparent;
  }

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

  body {
    background: #f4f2ec !important;
    color: #111827 !important;
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  }

  /* --- APP TOP BAR --- */
  .topbar {
    display: none !important;
  }

  .navbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 900 !important;
    background: rgba(7, 21, 34, 0.96) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 0 !important;
  }

  .nav-shell {
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 14px !important;
  }

  .brand {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
  }

  .brand-mark {
    width: 32px !important;
    height: 32px !important;
    border-radius: 9px !important;
    display: grid !important;
    place-items: center !important;
  }

  .brand-mark svg {
    width: 22px !important;
    height: 22px !important;
  }

  .brand-text strong {
    font-size: 0.88rem !important;
    letter-spacing: 0.04em !important;
    color: #ffffff !important;
    line-height: 1.1 !important;
  }

  .brand-text span {
    font-size: 0.54rem !important;
    color: #c9a45c !important;
    letter-spacing: 0.12em !important;
    line-height: 1 !important;
  }

  .nav-cta {
    display: flex !important;
    align-items: center !important;
  }

  .nav-cta .btn-primary {
    display: none !important;
  }

  .nav-toggle {
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 3.5px !important;
    padding: 0 !important;
    cursor: pointer !important;
  }

  .nav-toggle span {
    width: 15px !important;
    height: 1.8px !important;
    background: #ffffff !important;
    border-radius: 2px !important;
    transition: all 0.25s ease !important;
  }

  .nav-toggle.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg) !important; }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0 !important; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg) !important; }

  /* --- APP DRAWER & BACKDROP --- */
  .mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(7, 21, 34, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 950;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-panel {
    position: fixed !important;
    inset: 0 0 0 auto !important;
    width: min(86vw, 340px) !important;
    background: #081726 !important;
    z-index: 960 !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.5) !important;
    transform: translateX(105%) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-panel.is-open {
    transform: translateX(0) !important;
  }

  .mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
  }

  .mobile-drawer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .drawer-logo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #c9a45c;
    box-shadow: 0 0 10px rgba(201, 164, 92, 0.6);
  }

  .mobile-drawer-brand strong {
    display: block;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
  }

  .mobile-drawer-brand span {
    display: block;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.55);
  }

  .mobile-drawer-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #ffffff;
    display: grid;
    place-items: center;
    cursor: pointer;
  }

  .mobile-drawer-quick {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .quick-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 12px;
    border-radius: 12px;
    font-size: 0.76rem;
    font-weight: 700;
    text-decoration: none;
  }

  .quick-pill-primary {
    background: linear-gradient(135deg, #c9a45c, #b38e42);
    color: #0b1f33;
  }

  .quick-pill-whatsapp {
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.4);
    color: #25d366;
  }

  .mobile-nav-list {
    flex: 1;
    overflow-y: auto;
    list-style: none;
    margin: 0;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .mobile-nav-list li { border: none !important; }

  .mobile-nav-list a,
  .mobile-nav-list .mobile-expand-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px !important;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    text-decoration: none;
    background: transparent;
    border: none;
    width: 100%;
  }

  .mobile-nav-list a:active,
  .mobile-nav-list .mobile-expand-btn:active {
    background: rgba(255, 255, 255, 0.08);
  }

  .mobile-nav-list a.active {
    background: rgba(201, 164, 92, 0.12);
    color: #c9a45c !important;
    font-weight: 700 !important;
  }

  .nav-item-title {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .nav-item-title svg {
    color: #c9a45c;
  }

  .item-arrow {
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.2rem;
  }

  .mobile-sub {
    padding-left: 10px !important;
    margin: 4px 0 10px !important;
    list-style: none;
  }

  .mobile-sub-overview a {
    color: #c9a45c !important;
    font-size: 0.82rem !important;
    padding: 8px 12px !important;
    display: block !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin-bottom: 8px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
  }

  .mobile-cat-group {
    margin-bottom: 10px !important;
    list-style: none !important;
  }

  .mobile-cat-group-title a {
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    padding: 5px 8px !important;
    display: block !important;
    text-decoration: none !important;
  }

  .mobile-cat-items {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    padding: 4px 8px 8px !important;
  }

  .mobile-prod-item {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    padding: 4px 9px !important;
    font-size: 0.72rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: background 0.2s ease !important;
  }

  .mobile-prod-item:active {
    background: #c9a45c !important;
    color: #0b1f33 !important;
  }

  .mobile-drawer-footer {
    padding: 14px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
    text-align: center;
  }

  .mobile-drawer-footer span {
    display: block;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 600;
  }

  .mobile-drawer-footer small {
    display: block;
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.35);
  }

  /* --- APP BOTTOM NAVIGATION DOCK --- */
  .mobile-app-dock {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: calc(62px + env(safe-area-inset-bottom, 0px)) !important;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    background: rgba(7, 21, 34, 0.96) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-around !important;
    z-index: 920 !important;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.35) !important;
  }

  .app-dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: 1;
    height: 100%;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.65rem;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: transform 0.15s ease;
  }

  .app-dock-item:active {
    transform: scale(0.92);
  }

  .app-dock-item.active {
    color: #c9a45c !important;
  }

  .app-dock-item.active svg {
    stroke: #c9a45c !important;
    filter: drop-shadow(0 2px 6px rgba(201, 164, 92, 0.45));
  }

  .app-dock-item.active::after {
    content: '';
    position: absolute;
    top: 4px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #c9a45c;
    box-shadow: 0 0 6px #c9a45c;
  }

  .app-dock-item.app-dock-wa {
    color: #25d366;
  }

  .app-dock-item.app-dock-highlight .dock-badge-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c9a45c, #b38e42);
    color: #0b1f33;
    display: grid;
    place-items: center;
    margin-top: -14px;
    box-shadow: 0 4px 16px rgba(201, 164, 92, 0.45);
    border: 3px solid #081726;
  }

  .app-dock-item.app-dock-highlight span {
    font-weight: 700;
    color: #c9a45c;
  }

  /* ==========================================================
     NATIVE APP SCREEN COMPONENTS (True App UI)
     ========================================================== */
  .mobile-app-screen {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  /* 1. App Top Header & Search Bar */
  .app-top-header {
    background: linear-gradient(180deg, #071522 0%, #0b1f33 100%);
    padding: 16px 16px 20px;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 8px 24px rgba(7, 21, 34, 0.2);
    color: white;
  }

  .app-greeting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .app-user-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
  }

  .app-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 0 8px #25d366;
  }

  .app-bell-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
    display: grid;
    place-items: center;
    text-decoration: none;
  }

  .app-headline-box {
    margin-top: 12px;
  }

  .app-headline-box h1 {
    font-size: 1.55rem;
    font-weight: 800;
    color: white;
    margin: 0 0 3px;
    line-height: 1.15;
  }

  .app-headline-box h1 span {
    color: #c9a45c;
  }

  .app-headline-box p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
  }

  .app-search-bar {
    margin-top: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 999px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
  }

  .app-search-bar svg {
    color: #c9a45c;
    flex-shrink: 0;
  }

  .app-search-bar input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 0.84rem;
    outline: none;
    font-family: inherit;
  }

  .app-search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.55);
  }

  .app-search-badge {
    background: #c9a45c;
    color: #0b1f33;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 999px;
    letter-spacing: 0.04em;
  }

  /* 2. Category Story Bubbles */
  .app-stories-wrap {
    padding: 16px 0 6px;
  }

  .app-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px 10px;
  }

  .app-section-title span {
    font-size: 0.92rem;
    font-weight: 800;
    color: #0b1f33;
    letter-spacing: -0.01em;
  }

  .app-section-title a {
    font-size: 0.74rem;
    color: #c9a45c;
    font-weight: 700;
    text-decoration: none;
  }

  .app-counter {
    font-size: 0.7rem !important;
    background: rgba(11, 31, 51, 0.08);
    padding: 2px 8px;
    border-radius: 999px;
    color: #52606d !important;
  }

  .app-stories-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding: 2px 16px 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .app-stories-scroll::-webkit-scrollbar {
    display: none;
  }

  .app-story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    flex: 0 0 64px;
    scroll-snap-align: start;
    transition: transform 0.15s ease;
  }

  .app-story-item:active {
    transform: scale(0.92);
  }

  .app-story-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 2.5px;
    background: white;
    box-shadow: 0 4px 10px rgba(11, 31, 51, 0.08);
    display: grid;
    place-items: center;
  }

  .app-story-circle img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
  }

  .ring-gold { border: 2px solid #c9a45c; }
  .ring-teal { border: 2px solid #1a8a91; }
  .ring-pink { border: 2px solid #e06d9f; }
  .ring-blue { border: 2px solid #3b82f6; }
  .ring-purple { border: 2px solid #8b5cf6; }
  .ring-navy { border: 2px solid #0b1f33; background: #0b1f33; color: #c9a45c; }

  .app-story-item span {
    font-size: 0.68rem;
    font-weight: 700;
    color: #0b1f33;
    margin-top: 6px;
    text-align: center;
    white-space: nowrap;
  }

  /* 3. Featured Promo Banner Card */
  .app-banner-card {
    margin: 8px 16px 14px;
    background: linear-gradient(135deg, #071522 0%, #122b45 100%);
    border-radius: 20px;
    padding: 18px 18px 14px;
    color: white;
    box-shadow: 0 10px 24px rgba(7, 21, 34, 0.22);
    border: 1px solid rgba(201, 164, 92, 0.28);
    position: relative;
    overflow: hidden;
  }

  .app-banner-card::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 164, 92, 0.22), transparent 70%);
    pointer-events: none;
  }

  .app-banner-badge {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c9a45c;
    background: rgba(201, 164, 92, 0.15);
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
  }

  .app-banner-card h2 {
    font-size: 1.15rem;
    line-height: 1.24;
    color: white;
    margin: 0 0 6px;
    font-weight: 800;
  }

  .app-banner-card p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.4;
    margin: 0 0 14px;
  }

  .app-banner-actions {
    display: flex;
    gap: 8px;
  }

  .app-btn-solid {
    background: linear-gradient(135deg, #c9a45c, #b38e42);
    color: #0b1f33;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 9px 16px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
  }

  .app-btn-solid:active { transform: scale(0.96); }

  .app-btn-glass {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 9px 14px;
    border-radius: 12px;
    text-decoration: none;
  }

  .app-btn-glass:active { transform: scale(0.96); }

  .app-banner-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
  }

  .app-banner-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
  }

  .app-banner-dots span.active {
    width: 18px;
    border-radius: 999px;
    background: #c9a45c;
  }

  /* 4. Quick Actions 4-Tile Bento Grid */
  .app-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 8px 16px 16px;
  }

  .app-tile {
    background: #ffffff;
    border: 1px solid rgba(11, 31, 51, 0.08);
    border-radius: 18px;
    padding: 14px 14px;
    box-shadow: 0 4px 12px rgba(11, 31, 51, 0.04);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 0.15s ease;
  }

  .app-tile:active {
    transform: scale(0.96);
  }

  .tile-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
  }

  .tile-quote .tile-icon { background: rgba(201, 164, 92, 0.18); color: #b38e42; }
  .tile-whatsapp .tile-icon { background: rgba(37, 211, 102, 0.18); color: #17a75c; }
  .tile-catalog .tile-icon { background: rgba(26, 138, 145, 0.18); color: #1a8a91; }
  .tile-call .tile-icon { background: rgba(11, 31, 51, 0.1); color: #0b1f33; }

  .app-tile strong {
    font-size: 0.9rem;
    color: #0b1f33;
    margin-top: 10px;
    margin-bottom: 2px;
    font-weight: 800;
  }

  .app-tile small {
    font-size: 0.68rem;
    color: #52606d;
    font-weight: 500;
  }

  /* 5. Product Feed & Filter Pills */
  .app-feed-section {
    margin: 10px 16px 18px;
  }

  .app-filter-pills {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .app-filter-pills::-webkit-scrollbar {
    display: none;
  }

  .filter-pill {
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(11, 31, 51, 0.1);
    background: #ffffff;
    font-size: 0.76rem;
    font-weight: 700;
    color: #0b1f33;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .filter-pill:active { transform: scale(0.95); }

  .filter-pill.active {
    background: #0b1f33;
    color: #ffffff;
    border-color: #0b1f33;
    box-shadow: 0 4px 12px rgba(11, 31, 51, 0.2);
  }

  .app-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
  }

  .app-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(11, 31, 51, 0.08);
    box-shadow: 0 4px 14px rgba(11, 31, 51, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.15s ease;
  }

  .app-card:active {
    transform: scale(0.98);
  }

  .app-card-media {
    position: relative;
    height: 110px;
    overflow: hidden;
    background: #eeebe3;
  }

  .app-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .app-card-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    border-radius: 999px;
    text-transform: uppercase;
  }

  .tag-gold { background: #c9a45c; color: #0b1f33; }
  .tag-teal { background: #1a8a91; color: white; }
  .tag-pink { background: #e06d9f; color: white; }
  .tag-blue { background: #3b82f6; color: white; }
  .tag-purple { background: #8b5cf6; color: white; }

  .app-card-info {
    padding: 10px 10px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .app-card-sub {
    font-size: 0.6rem;
    font-weight: 800;
    color: #c9a45c;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 2px;
  }

  .app-card-info h3 {
    font-size: 0.92rem;
    line-height: 1.22;
    color: #0b1f33;
    margin: 0 0 4px;
    font-weight: 800;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .app-card-info p {
    font-size: 0.72rem;
    line-height: 1.35;
    color: #52606d;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .app-card-foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(11, 31, 51, 0.06);
  }

  .app-badge-moq {
    font-size: 0.6rem;
    font-weight: 700;
    color: #52606d;
    background: #f0efe8;
    padding: 2px 6px;
    border-radius: 6px;
  }

  .app-action-btn {
    font-size: 0.72rem;
    font-weight: 800;
    color: #c9a45c;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 2px;
  }

  /* 6. How Sourcing Works: 3-Step App Stepper */
  .app-stepper-box {
    margin: 10px 16px 18px;
    background: #ffffff;
    border-radius: 18px;
    padding: 16px 16px 14px;
    border: 1px solid rgba(11, 31, 51, 0.06);
    box-shadow: 0 4px 14px rgba(11, 31, 51, 0.04);
  }

  .app-badge-pill {
    font-size: 0.65rem;
    font-weight: 800;
    color: #c9a45c;
    background: rgba(201, 164, 92, 0.15);
    padding: 2px 8px;
    border-radius: 999px;
  }

  .app-step-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .app-step-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8f6f0;
    padding: 10px 12px;
    border-radius: 12px;
  }

  .step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #0b1f33;
    color: #c9a45c;
    font-size: 0.75rem;
    font-weight: 800;
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }

  .app-step-mini strong {
    display: block;
    font-size: 0.8rem;
    color: #0b1f33;
    font-weight: 700;
  }

  .app-step-mini small {
    display: block;
    font-size: 0.68rem;
    color: #52606d;
  }

  /* 7. Verified Trust Chips */
  .app-trust-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 16px 16px;
  }

  .trust-chip {
    flex: 1 1 calc(50% - 6px);
    background: #ffffff;
    padding: 9px 12px;
    border-radius: 12px;
    border: 1px solid rgba(11, 31, 51, 0.08);
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #0b1f33;
  }

  .trust-chip svg {
    color: #25d366;
    flex-shrink: 0;
  }

  /* 8. Compact App Mini Footer */
  .app-mini-footer {
    margin: 16px 16px 10px;
    padding: 16px;
    background: rgba(11, 31, 51, 0.04);
    border-radius: 16px;
    text-align: center;
  }

  .app-corp-info strong {
    display: block;
    font-size: 0.82rem;
    color: #0b1f33;
    font-weight: 800;
  }

  .app-corp-info address {
    font-style: normal;
    font-size: 0.68rem;
    color: #52606d;
    margin-top: 2px;
  }

  .app-legal-pills {
    margin-top: 8px;
    font-size: 0.7rem;
    color: #52606d;
  }

  .app-legal-pills a {
    color: #0b1f33;
    text-decoration: none;
    font-weight: 600;
  }

  .app-ver-tag {
    font-size: 0.62rem;
    color: rgba(11, 31, 51, 0.4);
    margin-top: 6px;
    font-weight: 600;
    letter-spacing: 0.04em;
  }

  /* --- CATEGORY TABS SYSTEM (FOOD & AGRICULTURE / SUBPAGES) --- */
  .category-tabs-container {
    gap: 12px !important;
    margin-top: 18px !important;
    margin-bottom: 22px !important;
  }

  .category-tabs-sidebar {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 8px !important;
    padding: 2px 2px 8px !important;
    scrollbar-width: none !important; /* Hide Firefox scrollbar */
    -ms-overflow-style: none !important; /* Hide IE/Edge scrollbar */
  }

  .category-tabs-sidebar::-webkit-scrollbar {
    display: none !important; /* Hide Chrome/Safari/Android native scrollbar */
    width: 0 !important;
    height: 0 !important;
  }

  .category-tab {
    flex: 0 0 auto !important;
    scroll-snap-align: start !important;
    background: #ffffff !important;
    border: 1px solid rgba(11, 31, 51, 0.1) !important;
    border-radius: 12px !important;
    padding: 8px 14px !important; /* Slightly smaller size as requested ("halka chhota") */
    font-size: 0.84rem !important; /* Reduced from 1.1rem */
    font-weight: 700 !important;
    color: #0b1f33 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 6px rgba(11, 31, 51, 0.04) !important;
    transition: all 0.2s ease !important;
  }

  .category-tab:active {
    transform: scale(0.96) !important;
  }

  .category-tab.active {
    background: #0b1f33 !important;
    color: #ffffff !important;
    border-color: #0b1f33 !important;
    box-shadow: 0 4px 14px rgba(11, 31, 51, 0.2) !important;
  }

  .category-tab .tab-arrow {
    display: inline-block !important;
    opacity: 0.75 !important;
    transform: none !important;
    font-size: 0.85em !important;
    margin-left: 2px !important;
  }

  .category-tab.active .tab-arrow {
    opacity: 1 !important;
    color: #c9a45c !important;
  }

  .category-tabs-content {
    padding: 16px 14px !important;
    border-radius: 18px !important;
    min-height: auto !important;
    box-shadow: 0 6px 20px rgba(11, 31, 51, 0.05) !important;
    border: 1px solid rgba(11, 31, 51, 0.08) !important;
    background: #ffffff !important;
  }

  .category-tabs-content h3 {
    font-size: 1.25rem !important;
    margin-bottom: 12px !important;
    color: #0b1f33 !important;
  }

  /* --- NON-CLICKABLE VARIETY SPECIFICATIONS --- */
  .category-list,
  .category-list.non-clickable {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .category-list li,
  .category-list.non-clickable li {
    background: #f8f6f0 !important;
    padding: 8px 10px !important;
    border-radius: 10px !important;
    font-size: 0.76rem !important;
    color: #0b1f33 !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    border: 1px solid rgba(11, 31, 51, 0.05) !important;
    pointer-events: none !important;
    cursor: default !important;
    user-select: none !important;
    transform: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .category-list li:hover,
  .category-list li:active,
  .category-list.non-clickable li:hover,
  .category-list.non-clickable li:active {
    transform: none !important;
    box-shadow: none !important;
    color: #0b1f33 !important;
    border-color: rgba(11, 31, 51, 0.05) !important;
  }

  .category-list li::before {
    content: '•';
    color: #c9a45c !important;
    font-size: 1.1rem !important;
    line-height: 1 !important;
  }

  .variety-spec-label {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    color: #6b7280 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    margin: 12px 0 8px !important;
    display: block !important;
  }

  /* --- DIRECT PRODUCT EXPLORE BUTTONS (FOOD & AGRICULTURE TABS) --- */
  .category-pane-top {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid rgba(11, 31, 51, 0.06) !important;
  }

  .category-pane-desc {
    font-size: 0.8rem !important;
    color: #4b5563 !important;
    margin: 4px 0 0 !important;
    line-height: 1.4 !important;
  }

  .btn-pane-explore {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    background: #0b1f33 !important;
    color: #ffffff !important;
    padding: 10px 16px !important;
    border-radius: 12px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(11, 31, 51, 0.15) !important;
    margin-top: 6px !important;
  }

  .btn-pane-explore:active {
    background: #c9a45c !important;
    color: #0b1f33 !important;
    transform: scale(0.98) !important;
  }

  .subcat-link {
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    color: #0b1f33 !important;
    background: rgba(201, 164, 92, 0.15) !important;
    padding: 9px 14px !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    text-decoration: none !important;
    margin-top: 14px !important;
  }

  .subcat-link:active {
    background: #c9a45c !important;
    color: #ffffff !important;
  }

  /* --- PRODUCT CHIPS ON PRODUCTS.PHP (MOBILE APP) --- */
  .card-prod-chips {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin: 12px 0 14px !important;
  }

  .prod-chip {
    background: #f1ede4 !important;
    border: 1px solid rgba(11, 31, 51, 0.08) !important;
    border-radius: 8px !important;
    padding: 6px 10px !important;
    font-size: 0.74rem !important;
    font-weight: 600 !important;
    color: #0b1f33 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: background 0.2s ease !important;
  }

  .prod-chip:active {
    background: #c9a45c !important;
    color: #ffffff !important;
  }

  /* --- COMPACT INNER PAGE HERO & SECTION SPACING (MOBILE APP) --- */
  .page-hero {
    padding: 24px 0 20px !important;
    margin: 0 !important;
  }

  .page-hero .eyebrow {
    margin-bottom: 6px !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.12em !important;
    gap: 6px !important;
  }

  .page-hero .eyebrow::before {
    width: 18px !important;
  }

  .page-hero h1 {
    font-size: 1.85rem !important;
    line-height: 1.15 !important;
    margin: 0 0 8px 0 !important;
    letter-spacing: -0.02em !important;
  }

  .page-hero p {
    font-size: 0.88rem !important;
    line-height: 1.45 !important;
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    max-width: 100% !important;
  }

  .page-hero .legal-meta {
    font-size: 0.74rem !important;
    margin: 0 !important;
    opacity: 0.75 !important;
  }

  /* Compact Product Shell (Healthcare, Beauty, Consumer, Industrial) */
  .product-detail-shell {
    padding: 16px 0 10px !important;
  }

  .breadcrumbs {
    margin-bottom: 12px !important;
    font-size: 0.7rem !important;
    gap: 6px !important;
  }

  .product-hero {
    padding: 16px !important;
    border-radius: 20px !important;
    margin-bottom: 14px !important;
    gap: 16px !important;
  }

  .product-main-image {
    border-radius: 14px !important;
  }

  .product-meta h1 {
    font-size: 1.55rem !important;
    line-height: 1.2 !important;
    margin-bottom: 6px !important;
  }

  .product-subtitle {
    font-size: 0.84rem !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
  }

  /* Compact section padding after hero */
  .section-pad {
    padding: 26px 0 !important;
  }

  .section-head {
    margin-bottom: 18px !important;
  }

  .section-head h2 {
    font-size: 1.45rem !important;
    line-height: 1.22 !important;
    margin-bottom: 6px !important;
  }

  .section-head p {
    font-size: 0.86rem !important;
    line-height: 1.45 !important;
  }

  .section-head .eyebrow {
    margin-bottom: 6px !important;
  }

  /* Split layout on mobile (About us, etc.) */
  .split {
    gap: 18px !important;
  }

  .split-copy h2 {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
    margin-bottom: 10px !important;
  }

  .split-copy p {
    font-size: 0.86rem !important;
    line-height: 1.48 !important;
    margin-bottom: 12px !important;
  }

  .split-copy .eyebrow {
    margin-bottom: 6px !important;
  }

  /* --- FOOTER BEHAVIOR ON MOBILE --- */
  /* Hide standard footer on homepage because mobile-app-screen has its own app mini-footer */
  body:has(.mobile-app-screen) .site-footer {
    display: none !important;
  }

  /* On subpages without mobile-app-screen, keep footer clean and compact */
  .site-footer {
    background: #071522 !important;
    padding: 24px 16px calc(86px + env(safe-area-inset-bottom, 0px)) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    padding-bottom: 16px !important;
  }
  .footer-brand {
    grid-column: span 2 !important;
  }
  .footer-col h4 {
    font-size: 0.72rem !important;
    margin-bottom: 6px !important;
    color: #c9a45c !important;
  }
  .footer-col ul {
    gap: 4px !important;
  }
  .footer-col a, .footer-col address {
    font-size: 0.74rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    gap: 8px !important;
    align-items: center !important;
    text-align: center !important;
    padding-top: 12px !important;
    font-size: 0.7rem !important;
  }

  .floating-contact {
    display: none !important;
  }

  /* --- CHATBOT POPUP ABOVE DOCK --- */
  .chatbot-wrapper {
    position: fixed !important;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    right: 12px !important;
    z-index: 910 !important;
  }

  .chatbot-prompt {
    display: none !important;
  }

  .chatbot-toggle {
    width: 48px !important;
    height: 48px !important;
    border-width: 2px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
  }

  .chatbot-mark {
    width: 22px !important;
    height: 22px !important;
  }

  .chatbot-window {
    position: fixed !important;
    inset: auto 10px calc(70px + env(safe-area-inset-bottom, 0px)) 10px !important;
    width: auto !important;
    max-width: none !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35) !important;
  }

  /* --- CLEAN 2-COLUMN APP GALLERY (MOBILE) --- */
  .product-more-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .product-more-card {
    border-radius: 14px !important;
    aspect-ratio: 1 / 1 !important;
    background: #ffffff !important;
    border: 1px solid rgba(11, 31, 51, 0.08) !important;
    box-shadow: 0 4px 14px rgba(11, 31, 51, 0.05) !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
  }

  .product-more-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 14px !important;
    margin: 0 !important;
  }
}
