/* Global Distributor — design system
   Palette: deep blue primary (trust), amber accent (call-to-action), neutral greys. System font stack keeps pages fast on mobile data. */
:root {
  --gd-primary: #0e5a8a;
  --gd-primary-dark: #0a4468;
  --gd-primary-soft: #e6f0f7;
  --gd-accent: #f59e0b;
  --gd-accent-dark: #d97706;
  --gd-bg: #f5f7fa;
  --gd-surface: #ffffff;
  --gd-text: #1f2937;
  --gd-muted: #6b7280;
  --gd-border: #e3e7ed;
  --gd-success: #15803d;
  --gd-danger: #b91c1c;
  --gd-radius: 12px;
  --gd-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --bs-primary: #0e5a8a;
  --bs-primary-rgb: 14, 90, 138;
  --bs-link-color: #0e5a8a;
  --bs-link-color-rgb: 14, 90, 138;
  --bs-link-hover-color: #0a4468;
  --bs-body-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Telugu", "Helvetica Neue", Arial, sans-serif;
  --bs-body-color: #1f2937;
  --bs-border-radius: .55rem;
}
body { background: var(--gd-bg); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
a { text-decoration: none; }
a:hover { text-decoration: underline; }
.btn, .nav-link, .card a, .dropdown-item { text-decoration: none !important; }
:focus-visible { outline: 3px solid rgba(245, 158, 11, .7); outline-offset: 2px; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 2000; background: #fff; padding: .5rem 1rem; }
.skip-link:focus { left: 1rem; top: .5rem; }

.btn-primary { --bs-btn-bg: var(--gd-primary); --bs-btn-border-color: var(--gd-primary); --bs-btn-hover-bg: var(--gd-primary-dark); --bs-btn-hover-border-color: var(--gd-primary-dark); --bs-btn-active-bg: var(--gd-primary-dark); --bs-btn-disabled-bg: #7aa6c2; --bs-btn-disabled-border-color: #7aa6c2; }
.btn-outline-primary { --bs-btn-color: var(--gd-primary); --bs-btn-border-color: var(--gd-primary); --bs-btn-hover-bg: var(--gd-primary); --bs-btn-hover-border-color: var(--gd-primary); --bs-btn-active-bg: var(--gd-primary-dark); }
.btn-accent { --bs-btn-color: #1f2937; --bs-btn-bg: var(--gd-accent); --bs-btn-border-color: var(--gd-accent); --bs-btn-hover-bg: var(--gd-accent-dark); --bs-btn-hover-border-color: var(--gd-accent-dark); --bs-btn-hover-color: #111; --bs-btn-active-bg: var(--gd-accent-dark); font-weight: 600; }
.text-primary { color: var(--gd-primary) !important; }
.bg-primary-soft { background: var(--gd-primary-soft); }

/* ---------- top navigation (customer) */
.gd-topbar { background: var(--gd-primary); color: #fff; }
.gd-topbar .navbar-brand { color: #fff; font-weight: 700; letter-spacing: .2px; display: flex; align-items: center; gap: .5rem; }
.gd-topbar .navbar-brand img { width: 32px; height: 32px; }
.gd-topbar .nav-link { color: rgba(255,255,255,.9); }
.gd-topbar .nav-link:hover, .gd-topbar .nav-link:focus { color: #fff; }
.gd-search { max-width: 560px; }
.gd-search .form-control { border: 0; }
.gd-search .btn { background: var(--gd-accent); border-color: var(--gd-accent); color: #1f2937; }
.gd-cart-badge { position: absolute; top: 0; right: -4px; font-size: .68rem; background: var(--gd-accent); color: #111; }
.gd-catstrip { background: #fff; border-bottom: 1px solid var(--gd-border); overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.gd-catstrip::-webkit-scrollbar { display: none; }
.gd-catstrip a { display: inline-block; padding: .6rem .9rem; color: var(--gd-text); font-size: .92rem; }
.gd-catstrip a:hover, .gd-catstrip a.active { color: var(--gd-primary); box-shadow: inset 0 -3px 0 var(--gd-accent); text-decoration: none; }

/* ---------- surfaces */
.gd-card { background: var(--gd-surface); border: 1px solid var(--gd-border); border-radius: var(--gd-radius); box-shadow: var(--gd-shadow); }
.gd-card > .gd-card-header { padding: .85rem 1.1rem; border-bottom: 1px solid var(--gd-border); font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.gd-card > .gd-card-body { padding: 1.1rem; }
.page-title { font-size: 1.45rem; font-weight: 700; margin: 0; }
.page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1.1rem; }
.muted { color: var(--gd-muted); }
.small-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--gd-muted); font-weight: 600; }

/* ---------- hero */
.gd-hero { background: linear-gradient(120deg, var(--gd-primary) 0%, #11709f 60%, #158fb8 100%); color: #fff; border-radius: 0 0 24px 24px; }
.gd-hero h1 { font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.4rem); }
.gd-hero p { color: rgba(255,255,255,.88); }
.gd-hero .gd-search { max-width: 640px; }
.gd-feature { display: flex; gap: .7rem; align-items: flex-start; }
.gd-feature i { font-size: 1.5rem; color: var(--gd-accent); }
.group-tile { display: flex; align-items: center; gap: .75rem; padding: .9rem 1rem; border-radius: var(--gd-radius); background: #fff; border: 1px solid var(--gd-border); color: var(--gd-text); height: 100%; }
.group-tile:hover { border-color: var(--gd-primary); text-decoration: none; box-shadow: var(--gd-shadow); }
.group-tile .icon { width: 42px; height: 42px; border-radius: 10px; background: var(--gd-primary-soft); color: var(--gd-primary); display: grid; place-items: center; font-size: 1.3rem; flex: 0 0 auto; }

/* ---------- product card */
.product-card { background: #fff; border: 1px solid var(--gd-border); border-radius: var(--gd-radius); overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: box-shadow .15s, border-color .15s; }
.product-card:hover { box-shadow: 0 6px 18px rgba(16,24,40,.08); border-color: #cfd8e3; }
.product-card .thumb { aspect-ratio: 1 / 1; background: #f1f4f8; display: block; position: relative; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: .75rem .85rem .9rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.product-card .name { font-weight: 600; color: var(--gd-text); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.product-card .code { font-size: .78rem; color: var(--gd-muted); }
.price { font-weight: 700; font-size: 1.15rem; color: var(--gd-text); }
.mrp { color: var(--gd-muted); text-decoration: line-through; font-size: .85rem; }
.off { color: var(--gd-success); font-size: .82rem; font-weight: 600; }
.ribbon { position: absolute; top: .5rem; left: .5rem; font-size: .72rem; font-weight: 700; padding: .2rem .5rem; border-radius: 999px; }
.ribbon-off { background: var(--gd-success); color: #fff; }
.ribbon-disc { background: #374151; color: #fff; }
.stock-pill { display: inline-flex; align-items: center; gap: .3rem; font-size: .78rem; font-weight: 600; }
.stock-pill::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; }
.stock-in { color: var(--gd-success); }
.stock-low { color: #b45309; }
.stock-out { color: var(--gd-danger); }

/* ---------- gallery */
.gallery-main { aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--gd-border); border-radius: var(--gd-radius); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: .5rem; margin-top: .6rem; overflow-x: auto; }
.gallery-thumbs button { border: 2px solid transparent; border-radius: 8px; padding: 0; width: 64px; height: 64px; flex: 0 0 auto; overflow: hidden; background: #fff; }
.gallery-thumbs button.active { border-color: var(--gd-primary); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.spec-table th { width: 40%; color: var(--gd-muted); font-weight: 500; }

/* ---------- quantity stepper */
.qty-stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--gd-border); border-radius: 8px; overflow: hidden; background: #fff; }
.qty-stepper button { border: 0; background: #f3f5f8; width: 2.4rem; font-size: 1.1rem; line-height: 1; }
.qty-stepper button:hover { background: #e7ebf1; }
.qty-stepper input { width: 4rem; border: 0; text-align: center; -moz-appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- cart / checkout */
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: .9rem; padding: .9rem 0; border-bottom: 1px solid var(--gd-border); align-items: center; }
.cart-line:last-child { border-bottom: 0; }
.cart-line img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; background: #f1f4f8; }
.summary-row { display: flex; justify-content: space-between; padding: .3rem 0; }
.summary-total { border-top: 1px dashed var(--gd-border); margin-top: .4rem; padding-top: .6rem; font-size: 1.15rem; font-weight: 700; }
.method-option { display: block; border: 2px solid var(--gd-border); border-radius: var(--gd-radius); padding: .9rem 1rem; cursor: pointer; background: #fff; height: 100%; }
.method-option:has(input:checked) { border-color: var(--gd-primary); background: var(--gd-primary-soft); }
.method-option input { margin-right: .5rem; }
.steps { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; counter-reset: step; }
.steps .step { flex: 1 1 120px; padding: .5rem .75rem; border-radius: 8px; background: #eef1f5; color: var(--gd-muted); font-size: .88rem; font-weight: 600; }
.steps .step::before { counter-increment: step; content: counter(step) ". "; }
.steps .step.active { background: var(--gd-primary); color: #fff; }
.steps .step.done { background: #d7e8f3; color: var(--gd-primary-dark); }

/* ---------- maps */
.gd-map { height: 340px; border-radius: var(--gd-radius); border: 1px solid var(--gd-border); background: #e9eef3; z-index: 0; }
.gd-map.tall { height: 420px; }
.gd-map.short { height: 240px; }
.gps-status { font-size: .88rem; }
.dealer-option { display: flex; gap: .8rem; padding: .75rem; border: 2px solid var(--gd-border); border-radius: 10px; background: #fff; cursor: pointer; align-items: flex-start; }
.dealer-option:has(input:checked) { border-color: var(--gd-primary); background: var(--gd-primary-soft); }
.dealer-option img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; }
.nearest-tag { background: var(--gd-accent); color: #111; font-size: .7rem; font-weight: 700; padding: .1rem .45rem; border-radius: 999px; }

/* ---------- status */
.status-pill { display: inline-block; padding: .22rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 600; white-space: nowrap; }
.status-pending { background: #fef3c7; color: #92400e; }
.status-progress { background: #dbeafe; color: #1e40af; }
.status-ready { background: #e0e7ff; color: #3730a3; }
.status-done { background: #dcfce7; color: #166534; }
.status-stopped { background: #fee2e2; color: #991b1b; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { position: relative; padding: 0 0 1rem 1.6rem; }
.timeline li::before { content: ""; position: absolute; left: .35rem; top: .35rem; width: .7rem; height: .7rem; border-radius: 50%; background: var(--gd-primary); }
.timeline li::after { content: ""; position: absolute; left: .67rem; top: 1.1rem; bottom: 0; width: 2px; background: var(--gd-border); }
.timeline li:last-child::after { display: none; }

/* ---------- portal (admin / distributor / dealer) */
.portal { display: flex; min-height: 100vh; }
.portal-sidebar { width: 250px; background: #0b2d45; color: #cfe0ec; flex: 0 0 250px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.portal-sidebar .brand { display: flex; align-items: center; gap: .6rem; padding: 1rem 1.1rem; color: #fff; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.08); }
.portal-sidebar .brand img { width: 30px; height: 30px; }
.portal-sidebar .nav-section { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #7f9db3; padding: 1rem 1.1rem .3rem; }
.portal-sidebar .nav-link { color: #cfe0ec; padding: .5rem 1.1rem; display: flex; align-items: center; gap: .65rem; border-left: 3px solid transparent; }
.portal-sidebar .nav-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.portal-sidebar .nav-link.active { background: rgba(255,255,255,.1); color: #fff; border-left-color: var(--gd-accent); }
.portal-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.portal-topbar { background: #fff; border-bottom: 1px solid var(--gd-border); padding: .55rem 1rem; display: flex; align-items: center; gap: .75rem; position: sticky; top: 0; z-index: 1020; }
.portal-content { padding: 1.25rem; }
@media (max-width: 991.98px) {
  .portal-sidebar { position: fixed; left: -260px; z-index: 1045; transition: left .2s; }
  .portal-sidebar.open { left: 0; box-shadow: 0 0 0 100vmax rgba(0,0,0,.35); }
  .portal-content { padding: .9rem; }
}
.kpi { padding: 1rem 1.1rem; display: flex; gap: .9rem; align-items: center; }
.kpi .icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.35rem; flex: 0 0 auto; }
.kpi .value { font-size: 1.5rem; font-weight: 700; line-height: 1.1; }
.kpi .label { color: var(--gd-muted); font-size: .85rem; }
.kpi a { color: inherit; }
.icon-blue { background: #e0edf7; color: var(--gd-primary); }
.icon-amber { background: #fef3c7; color: #b45309; }
.icon-green { background: #dcfce7; color: #15803d; }
.icon-red { background: #fee2e2; color: #b91c1c; }
.icon-violet { background: #ede9fe; color: #6d28d9; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 140px; padding-top: .5rem; }
.bars .bar { flex: 1; background: var(--gd-primary); border-radius: 4px 4px 0 0; min-height: 2px; position: relative; }
.bars .bar:hover { background: var(--gd-accent); }
.bars-labels { display: flex; gap: 6px; font-size: .68rem; color: var(--gd-muted); }
.bars-labels span { flex: 1; text-align: center; overflow: hidden; }

/* ---------- tables */
.table-gd { --bs-table-bg: transparent; margin: 0; }
.table-gd thead th { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--gd-muted); background: #f8fafc; border-bottom: 1px solid var(--gd-border); white-space: nowrap; }
.table-gd td { vertical-align: middle; }
.table-gd th a { color: inherit; }
.table-responsive { border-radius: 0 0 var(--gd-radius) var(--gd-radius); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; align-items: end; }
.filters .form-control, .filters .form-select { min-width: 140px; }
.photo-box { border: 1px solid var(--gd-border); border-radius: 10px; overflow: hidden; background: #f1f4f8; aspect-ratio: 4/3; display: grid; place-items: center; }
.photo-box img { width: 100%; height: 100%; object-fit: cover; }
.upload-preview { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }
.upload-preview img { width: 88px; height: 88px; object-fit: cover; border-radius: 8px; border: 1px solid var(--gd-border); }
.code-chip { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: #eef2f7; padding: .1rem .45rem; border-radius: 6px; font-size: .88em; }

/* ---------- footer */
.gd-footer { background: #0b2d45; color: #b9cfde; margin-top: 2.5rem; }
.gd-footer a { color: #e2edf5; }

/* ---------- toasts & loading */
.gd-toast-wrap { position: fixed; bottom: 1rem; right: 1rem; z-index: 1090; display: flex; flex-direction: column; gap: .5rem; }
.btn .spinner-border { width: 1rem; height: 1rem; border-width: .15em; }
.is-loading { pointer-events: none; opacity: .75; }

/* ---------- print */
@media print {
  .no-print, .app-tabbar, .app-actionbar, .gd-topbar, .gd-catstrip, .gd-footer, .portal-sidebar, .portal-topbar, .btn { display: none !important; }
  body { background: #fff; }
  .gd-card { box-shadow: none; border: 0; }
  .portal-content { padding: 0; }
  a[href]::after { content: none; }
}

/* ---------- theme Bootstrap components that do not read --bs-primary */
.validation-summary-valid { display: none !important; }
.list-group { --bs-list-group-active-bg: var(--gd-primary); --bs-list-group-active-border-color: var(--gd-primary); }
.pagination { --bs-pagination-active-bg: var(--gd-primary); --bs-pagination-active-border-color: var(--gd-primary); --bs-pagination-color: var(--gd-primary); }
.form-check-input:checked { background-color: var(--gd-primary); border-color: var(--gd-primary); }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: #6aa3c7; box-shadow: 0 0 0 .2rem rgba(14, 90, 138, .2); }
.dropdown-item.active, .dropdown-item:active { background-color: var(--gd-primary); }
.table-report td, .table-report th { white-space: nowrap; }
/* sidebar background runs the full page height on desktop */
@media (min-width: 992px) { .portal { background: linear-gradient(to right, #0b2d45 250px, var(--gd-bg) 250px); } }
/* order item table: compact on phones */
@media (max-width: 575.98px) { .order-items .col-rate, .order-items .col-gst { display: none; } }
.portal-sidebar a, .portal-sidebar a:hover, .portal-sidebar a:focus { text-decoration: none !important; }
.min-w-0 { min-width: 0; }

/* ---------- phone "app" look: Home, Cart and Checkout opt in via ViewData["AppScreen"] (body.app-screen) */
.app-tabbar, .app-actionbar { display: none; }
@media (max-width: 767.98px) {
  .app-screen { --app-tabbar-h: 58px; --app-actionbar-h: 66px; --app-safe-b: env(safe-area-inset-bottom, 0px); -webkit-tap-highlight-color: transparent; }
  .app-screen header { position: sticky; top: 0; z-index: 1030; box-shadow: 0 1px 6px rgba(16, 24, 40, .18); }
  .app-screen .gd-topbar { padding-top: max(.5rem, env(safe-area-inset-top, 0px)) !important; }
  .app-screen .gd-topbar .navbar-brand { font-size: 1.05rem; }
  .app-screen .gd-topbar .navbar-brand img { width: 28px; height: 28px; }
  .app-screen .gd-catstrip, .app-screen .gd-footer { display: none; }
  .app-has-tabbar .gd-topbar .top-cart { display: none; }
  .app-screen main { padding-bottom: calc(1rem + var(--app-safe-b)) !important; }
  .app-has-tabbar main { padding-bottom: calc(var(--app-tabbar-h) + 1rem + var(--app-safe-b)) !important; }
  .app-has-actionbar main { padding-bottom: calc(var(--app-actionbar-h) + 1rem + var(--app-safe-b)) !important; }
  .app-has-tabbar.app-has-actionbar main { padding-bottom: calc(var(--app-tabbar-h) + var(--app-actionbar-h) + 1rem + var(--app-safe-b)) !important; }
  .app-screen .page-title { font-size: 1.2rem; }
  .app-screen .gd-card { border-radius: 14px; }
  .app-screen .btn { min-height: 44px; }
  .app-screen .btn-sm { min-height: 38px; }
  .app-screen .btn-link { min-height: 0; }

  /* bottom tab bar */
  .app-tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035; background: #fff; border-top: 1px solid var(--gd-border); box-shadow: 0 -2px 10px rgba(16, 24, 40, .06); padding-bottom: var(--app-safe-b); }
  .app-tabbar a { flex: 1 1 0; height: var(--app-tabbar-h); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; color: var(--gd-muted); font-size: .7rem; font-weight: 600; position: relative; text-decoration: none !important; }
  .app-tabbar a i { font-size: 1.35rem; line-height: 1; }
  .app-tabbar a.active { color: var(--gd-primary); }
  .app-tabbar a.active::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--gd-accent); }
  .app-tabbar .gd-cart-badge { top: .35rem; right: calc(50% - 1.3rem); }

  /* sticky action bar (cart total / place order) */
  .app-actionbar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1034; min-height: var(--app-actionbar-h); padding: .55rem 1rem calc(.55rem + var(--app-safe-b)); background: #fff; border-top: 1px solid var(--gd-border); box-shadow: 0 -4px 14px rgba(16, 24, 40, .08); }
  .app-has-tabbar .app-actionbar { bottom: calc(var(--app-tabbar-h) + var(--app-safe-b)); padding-bottom: .55rem; }
  .app-actionbar .btn { flex: 0 0 auto; min-width: 9.5rem; border-radius: 999px; padding-left: 1.25rem; padding-right: 1.25rem; }
  .app-screen .gd-toast-wrap { left: 1rem; right: 1rem; bottom: calc(1rem + var(--app-safe-b)); }
  .app-has-tabbar .gd-toast-wrap { bottom: calc(var(--app-tabbar-h) + 1rem + var(--app-safe-b)); }
  .app-has-actionbar .gd-toast-wrap { bottom: calc(var(--app-actionbar-h) + 1rem + var(--app-safe-b)); }
  .app-has-tabbar.app-has-actionbar .gd-toast-wrap { bottom: calc(var(--app-tabbar-h) + var(--app-actionbar-h) + 1rem + var(--app-safe-b)); }

  /* home */
  .app-home .gd-hero { padding: 1rem 0 1.1rem !important; margin-bottom: .75rem !important; border-radius: 0 0 20px 20px; }
  .app-home .gd-hero .row { --bs-gutter-y: .9rem; }
  .app-home .gd-hero h1 { font-size: 1.3rem; line-height: 1.25; }
  .app-home .gd-hero .hero-lead { display: none; }
  .app-home .gd-hero .input-group-lg > .form-control { font-size: 1rem; padding: .6rem .9rem; border-radius: 999px 0 0 999px; }
  .app-home .gd-hero .input-group-lg > .btn { border-radius: 0 999px 999px 0; padding: 0 1rem; }
  .app-home .hero-features { display: flex; flex-wrap: nowrap; gap: .5rem; margin: 0; overflow-x: auto; scrollbar-width: none; }
  .app-home .hero-features::-webkit-scrollbar { display: none; }
  .app-home .hero-features > .gd-feature { flex: 0 0 auto; width: auto; margin: 0; padding: .35rem .8rem; align-items: center; gap: .4rem; border-radius: 999px; background: rgba(255, 255, 255, .14); white-space: nowrap; }
  .app-home .hero-features .gd-feature i { font-size: 1rem; }
  .app-home .hero-features .feat-desc { display: none !important; }
  .app-home .app-cats { display: flex; flex-wrap: nowrap; gap: .6rem; margin: 0 calc(-.5 * var(--bs-gutter-x, 1.5rem)) 1.25rem; padding: 0 calc(.5 * var(--bs-gutter-x, 1.5rem)) .25rem; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .app-home .app-cats::-webkit-scrollbar { display: none; }
  .app-home .app-cats > * { flex: 0 0 78px; width: 78px; margin: 0; padding: 0; scroll-snap-align: start; }
  .app-home .app-cats .group-tile { flex-direction: column; justify-content: flex-start; text-align: center; gap: .4rem; padding: .3rem .1rem; border: 0; background: transparent; font-size: .76rem; }
  .app-home .app-cats .group-tile:hover { box-shadow: none; }
  .app-home .app-cats .group-tile .icon { width: 56px; height: 56px; border-radius: 50%; font-size: 1.5rem; background: #fff; border: 1px solid var(--gd-border); box-shadow: var(--gd-shadow); }
  .app-home .app-cats .group-tile .muted { display: none; }
  .app-home .product-card { border-radius: 14px; }
  .app-home .product-card .body { padding: .55rem .6rem .65rem; gap: .2rem; }
  .app-home .product-card .name { font-size: .9rem; }
  .app-home .product-card .price { font-size: 1rem; }
  .app-home .product-card .btn { border-radius: 999px; }

  /* cart: each line is its own card */
  .app-cart .cart-list { background: transparent; border: 0; box-shadow: none; }
  .app-cart .cart-list > .gd-card-body { padding: 0 !important; }
  .app-cart .cart-line { grid-template-columns: 68px 1fr; gap: .2rem .8rem; align-items: start; padding: .75rem; margin-bottom: .6rem; background: #fff; border: 1px solid var(--gd-border) !important; border-radius: 14px; box-shadow: var(--gd-shadow); }
  .app-cart .cart-line img { width: 68px; height: 68px; border-radius: 10px; }
  .app-cart .cart-line .line-total { grid-column: 2; text-align: start !important; font-size: 1.05rem; }
  .app-cart .qty-stepper { border-radius: 999px; }
  .app-cart .qty-stepper button { width: 2.6rem; height: 2.4rem; }

  /* checkout */
  .app-checkout .steps { flex-wrap: nowrap; gap: .3rem; margin-bottom: .75rem; }
  .app-checkout .steps .step { flex: 1 1 0; min-width: 0; padding: .4rem .3rem; text-align: center; font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-radius: 999px; }
  .app-checkout .gd-card > .gd-card-header { padding: .75rem .9rem; font-size: .95rem; }
  .app-checkout .gd-card > .gd-card-body { padding: .9rem; }
  .app-checkout .method-option { padding: .8rem .9rem; }
  .app-checkout .gd-map { height: 260px; }
  .app-checkout .gd-map.short { height: 200px; }
  .app-checkout [data-map-picker] .input-group { max-width: none !important; }
  .app-checkout [data-gps-capture] { width: 100%; }
  .app-checkout .position-sticky { position: static !important; }
}
