/* ═══════════════════════════════════════════════════
   delivery.css — Fusioon Delivery App Styles
   Mobile-first, Glovo-inspired delivery experience
   ═══════════════════════════════════════════════════ */

:root {
  --yellow: #FFC244;
  --yellow-dark: #E6A800;
  --yellow-light: #FFF3D6;
  --yellow-bg: #FFF8E7;
  --dark: #1a1a1a;
  --white: #ffffff;
  --gray: #6b7280;
  --gray-light: #9ca3af;
  --cream: #faf9f6;
  --green: #10b981;
  --green-bg: rgba(16,185,129,.1);
  --red: #ef4444;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --bottom-nav-h: 64px;
  --header-h: 56px;
  --transition: .2s ease;
}

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

html, body { overflow-x: hidden; max-width: 100vw; }

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--cream);
  color: var(--dark);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--bottom-nav-h);
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

/* ═══ HEADER ═══ */
.del-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 16px;
  background: var(--yellow);
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
}
.del-header-logo { flex-shrink: 0; display: flex; align-items: center; }
.del-logo { height: 36px; }
.del-logo-zona { height: 70px; }
.del-header-address {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,.08);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  cursor: pointer;
  transition: background var(--transition);
  min-width: 0;
}
.del-header-address:hover { background: rgba(0,0,0,.12); }
.del-header-address .fa-location-dot { font-size: 14px; color: var(--dark); flex-shrink: 0; }
.del-header-address .del-addr-chev { font-size: 10px; color: rgba(0,0,0,.4); flex-shrink: 0; }
#del-address-display {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: rgba(0,0,0,.5);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#del-address-display.has-value { color: var(--dark); }
.del-header-action {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--dark);
  flex-shrink: 0;
  transition: background var(--transition);
}
.del-header-action:hover { background: rgba(0,0,0,.14); }

/* ═══ ZONA HEADER (taller) ═══ */
.del-header-zona {
  padding: 38px 20px 18px;
  position: relative;
}

/* ═══ PROFILE PANEL ═══ */
.del-profile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 300;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 10px;
}
.del-profile-overlay.open {
  display: flex;
}
.del-profile-panel {
  background: #fff;
  border-radius: 18px;
  width: 300px;
  max-width: 90vw;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
  overflow: hidden;
  animation: delPanelSlide .25s ease;
  margin-top: 60px;
}
@keyframes delPanelSlide {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
.del-profile-header {
  background: var(--yellow);
  padding: 24px 20px 20px;
  text-align: center;
}
.del-profile-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 10px;
}
.del-profile-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--dark);
}
.del-profile-email {
  font-size: 13px;
  color: rgba(0,0,0,.55);
  margin-top: 2px;
}
.del-profile-body {
  padding: 14px 20px 4px;
}
.del-profile-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--dark);
  border-bottom: 1px solid #f0ede8;
}
.del-profile-item i {
  width: 18px;
  text-align: center;
  color: rgba(0,0,0,.4);
  font-size: 14px;
}
.del-profile-actions {
  padding: 10px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.del-profile-action-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  background: #f5f3ef;
  border: none;
  cursor: pointer;
  transition: background .2s;
  text-decoration: none;
}
.del-profile-action-btn:hover { background: #ebe8e2; }
.del-profile-action-btn i { width: 18px; text-align: center; color: rgba(0,0,0,.45); }
.del-profile-logout { color: #c0392b; }
.del-profile-logout i { color: #c0392b; }
.del-profile-login {
  padding: 24px 20px;
  text-align: center;
}
.del-profile-login p {
  font-size: 14px;
  color: rgba(0,0,0,.5);
  margin-bottom: 14px;
}
.del-profile-login-btn {
  display: inline-block;
  background: var(--dark);
  color: var(--yellow);
  padding: 12px 28px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: transform .2s;
}
.del-profile-login-btn:hover { transform: scale(1.04); }

/* ═══ SCHEDULE NOTICE ═══ */
.del-notice {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 16px;
  padding: 16px 18px;
  background: #fef9ec;
  border: 1.5px solid #f5dfa0;
  border-radius: 14px;
}
.del-notice-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--dark);
  flex-shrink: 0;
}
.del-notice p {
  font-size: 13.5px;
  line-height: 1.45;
  color: #3d3a34;
  margin: 0;
}
.del-notice strong {
  color: var(--dark);
}

/* ═══ SAVED LOCATION STRIP ═══ */
.del-saved-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--yellow-light);
  font-size: 12px;
  font-weight: 600;
  color: var(--dark);
}
.del-saved-strip .fa-map-marker-alt { color: var(--yellow-dark); font-size: 13px; }
.del-saved-strip span:first-of-type { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.del-history-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  transition: background var(--transition);
}
.del-history-toggle:hover { background: rgba(0,0,0,.14); }

/* ═══ HERO (operational) ═══ */
.del-hero {
  background: var(--yellow);
  padding: 20px 20px 180px;
  text-align: center;
  position: relative;
}
.del-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 180px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 120' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,90 Q400,110 720,100 T1440,60 L1440,120 L0,120 Z' fill='%23faf9f6'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 1;
}
.del-hero h1 {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 6px;
  letter-spacing: -.5px;
}
.del-hero-sub {
  font-size: 14px;
  font-weight: 500;
  color: rgba(0,0,0,.55);
  margin-bottom: 0;
}
.del-hero-address {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,.08);
  border-radius: var(--radius-full);
  padding: 10px 16px;
  cursor: pointer;
  transition: background var(--transition);
  margin: 14px auto 0;
  max-width: 360px;
}
.del-hero-address:hover { background: rgba(0,0,0,.12); }
.del-hero-address .fa-location-dot { font-size: 14px; color: var(--dark); flex-shrink: 0; }
.del-hero-address .del-addr-chev { font-size: 10px; color: rgba(0,0,0,.4); flex-shrink: 0; }
.del-hero-address #del-address-display {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: rgba(0,0,0,.5);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.del-hero-address #del-address-display.has-value { color: var(--dark); }
.del-address-msg {
  font-size: 12px;
  text-align: center;
  margin-top: 8px;
  min-height: 16px;
  color: rgba(0,0,0,.5);
}

/* ═══ ZONA LOCATION (inside hero) ═══ */
.del-zona-location {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,.08);
  border-radius: var(--radius-full);
  padding: 10px 18px;
  margin: 0 auto 18px;
  max-width: 400px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}
.del-zona-location i {
  color: var(--yellow-dark);
  flex-shrink: 0;
}

/* ═══ CATEGORIES GRID ═══ */
.del-categories {
  padding: 20px 16px 8px;
}
.del-categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}
.del-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 12px 16px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.del-cat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--cat-color, var(--yellow));
  opacity: 0;
  transition: opacity var(--transition);
}
.del-cat-card:hover::before, .del-cat-card:active::before { opacity: 1; }
.del-cat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.del-cat-card:active { transform: scale(.97); }
.del-cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cat-bg, var(--yellow-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--cat-color, var(--yellow-dark));
  transition: transform var(--transition);
}
.del-cat-card:hover .del-cat-icon { transform: scale(1.08); }
.del-cat-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}
.del-cat-count {
  font-size: 11px;
  color: var(--gray);
  font-weight: 500;
}

/* ═══ FERRETERÍAS BUTTON ═══ */
.del-ferr-btn {
  display: block;
  max-width: 220px;
  margin: 40px auto 0;
  transition: transform var(--transition);
  cursor: pointer;
}
.del-ferr-btn:hover { transform: scale(1.04); }
.del-ferr-btn:active { transform: scale(.96); }
.del-ferr-btn img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
}

/* ═══ STORES SECTION ═══ */
.del-stores-section {
  padding: 24px 0 16px;
}
.del-section-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  padding: 0 16px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.del-section-title i { color: var(--yellow-dark); font-size: 16px; }
.del-stores-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 16px 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}
.del-stores-scroll::-webkit-scrollbar { display: none; }
.del-store-card {
  flex: 0 0 260px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  transition: transform var(--transition), box-shadow var(--transition);
}
.del-store-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.del-store-cover {
  width: 100%;
  height: 110px;
  overflow: hidden;
  position: relative;
}
.del-store-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.del-store-cover .del-store-status {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0,0,0,.7);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}
.del-store-info {
  display: flex;
  gap: 10px;
  padding: 10px 12px 12px;
  align-items: flex-start;
}
.del-store-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid #f0f0f0;
  flex-shrink: 0;
  margin-top: -24px;
  background: #fff;
  position: relative;
  z-index: 1;
}
.del-store-meta { flex: 1; min-width: 0; }
.del-store-meta h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.del-store-badges { display: flex; flex-wrap: wrap; gap: 4px; }
.del-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: #f3f4f6;
  color: var(--gray);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.del-badge i { font-size: 9px; }
.del-badge-green { background: var(--green-bg); color: var(--green); }
.del-badge-yellow { background: var(--yellow-light); color: var(--yellow-dark); }

/* ═══ TRUST STRIP ═══ */
.del-trust {
  padding: 20px 16px;
}
.del-trust-grid {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.del-trust-grid::-webkit-scrollbar { display: none; }
.del-trust-item {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  background: var(--white);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.del-trust-item i { font-size: 18px; color: var(--yellow-dark); }
.del-trust-item span { font-size: 11px; font-weight: 600; color: var(--dark); line-height: 1.2; }

/* ═══ PARTNER CTA (compact) ═══ */
.del-partner-cta {
  padding: 0 16px 16px;
}
.del-partner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: var(--yellow);
  border-radius: var(--radius);
}
.del-partner-inner span { font-size: 14px; font-weight: 700; color: var(--dark); }
.del-partner-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--dark);
  color: var(--yellow);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform var(--transition);
}
.del-partner-btn:hover { transform: scale(1.03); }

/* ═══ FOOTER (compact) ═══ */
.del-footer {
  padding: 24px 16px 16px;
  background: var(--white);
  text-align: center;
}
.del-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}
.del-footer-links a {
  font-size: 13px;
  color: var(--gray);
  font-weight: 500;
  transition: color var(--transition);
}
.del-footer-links a:hover { color: var(--dark); }
.del-footer-copy {
  font-size: 12px;
  color: var(--gray-light);
}

/* ═══════════════════════════════════════
   EXPLORAR PAGE
   ═══════════════════════════════════════ */

/* Hero */
.del-exp-hero {
  background: var(--yellow);
  padding: 16px 20px 50px;
  position: relative;
  overflow: hidden;
}
.del-exp-address-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,.12);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  margin: 0 auto 16px;
  transition: background .2s;
}
.del-exp-address-pill:hover { background: rgba(0,0,0,.16); }
.del-exp-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--dark);
  margin: 0;
}
.del-exp-illustration {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  color: rgba(0,0,0,.15);
}

/* Search */
.del-exp-search-wrap {
  padding: 0 16px;
  margin-top: -22px;
  position: relative;
  z-index: 2;
  margin-bottom: 16px;
}

/* Suggestion card */
.del-exp-suggestion {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 16px 20px;
  padding: 16px;
  background: #f0faf4;
  border-radius: 14px;
  border: 1px solid #d1f0de;
}
.del-exp-sug-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--yellow-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--yellow-dark);
  flex-shrink: 0;
}
.del-exp-sug-text strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 2px;
}
.del-exp-sug-text p {
  font-size: 13px;
  color: var(--gray);
  margin: 0;
  line-height: 1.4;
}

/* Section layout */
.del-exp-section {
  padding: 0 16px;
  margin-bottom: 28px;
}
.del-exp-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}
.del-exp-section-header h2 {
  font-size: 20px;
  font-weight: 900;
  color: var(--dark);
  margin: 0;
}
.del-exp-section-sub {
  font-size: 13px;
  color: var(--gray);
  margin: 2px 0 0;
}
.del-exp-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 14px;
  flex-shrink: 0;
  transition: background .2s;
}
.del-exp-arrow:hover { background: #e5e7eb; }

/* Ranked list (horizontal scroll) */
.del-exp-ranked-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.del-exp-ranked-scroll::-webkit-scrollbar { display: none; }
.del-exp-ranked-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
  padding: 12px 16px;
  background: var(--white);
  border: 1.5px solid #f0ede8;
  border-radius: 14px;
  scroll-snap-align: start;
  text-decoration: none;
  transition: border-color .2s;
  flex-shrink: 0;
}
.del-exp-ranked-card:hover { border-color: var(--yellow); }
.del-exp-rank {
  font-size: 22px;
  font-weight: 900;
  color: var(--dark);
  min-width: 24px;
  text-align: center;
}
.del-exp-ranked-logo {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid #f0ede8;
}
.del-exp-ranked-info {
  min-width: 0;
}
.del-exp-ranked-info strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}
.del-exp-ranked-rating {
  font-size: 12px;
  font-weight: 600;
  color: var(--yellow-dark);
}
.del-exp-ranked-rating i { font-size: 11px; }

/* Big cards (horizontal scroll) */
.del-exp-big-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
}
.del-exp-big-scroll::-webkit-scrollbar { display: none; }
.del-exp-big-card {
  min-width: 280px;
  max-width: 300px;
  scroll-snap-align: start;
  text-decoration: none;
  flex-shrink: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  border: 1.5px solid #f0ede8;
  transition: border-color .2s;
}
.del-exp-big-card:hover { border-color: var(--yellow); }
.del-exp-big-img {
  position: relative;
  height: 160px;
  overflow: hidden;
}
.del-exp-big-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.del-exp-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--dark);
  cursor: pointer;
  transition: transform .2s;
}
.del-exp-fav:hover { transform: scale(1.1); }
.del-exp-big-body {
  padding: 12px 14px;
}
.del-exp-big-body strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.del-exp-big-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray);
  flex-wrap: wrap;
}
.del-exp-rating {
  color: var(--yellow-dark);
}
.del-exp-rating i { font-size: 11px; }
.del-exp-dot { color: rgba(0,0,0,.2); }
.del-exp-free-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--yellow-light);
  color: var(--yellow-dark);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}

/* Logo grid */
.del-exp-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.del-exp-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px 10px;
  background: var(--white);
  border: 1.5px solid #f0ede8;
  border-radius: 14px;
  text-decoration: none;
  transition: border-color .2s;
}
.del-exp-logo-card:hover { border-color: var(--yellow); }
.del-exp-logo-card img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
}
.del-exp-badge-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray);
  background: #f3f4f6;
  padding: 2px 8px;
  border-radius: 6px;
}

/* Category grid */
.del-exp-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.del-exp-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 4px 10px;
  background: var(--white);
  border: 1.5px solid #f0ede8;
  border-radius: 14px;
  text-decoration: none;
  transition: border-color .2s;
}
.del-exp-cat-card:hover { border-color: var(--yellow); }
.del-exp-cat-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--yellow-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--yellow-dark);
}
.del-exp-cat-card span {
  font-size: 11px;
  font-weight: 600;
  color: var(--dark);
  text-align: center;
}

/* ═══ BOTTOM NAV ═══ */
.del-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-nav-h);
  background: var(--white);
  display: flex;
  align-items: stretch;
  border-top: 1px solid rgba(0,0,0,.06);
  z-index: 300;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.del-bnav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 10px;
  font-weight: 600;
  color: var(--gray);
  transition: color var(--transition);
  position: relative;
}
.del-bnav-item i { font-size: 20px; transition: transform var(--transition); }
.del-bnav-item.active { color: var(--dark); }
.del-bnav-item.active i { transform: scale(1.1); }
.del-bnav-item.active::after {
  content: '';
  position: absolute;
  top: 0;
  width: 24px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--yellow);
}
.del-bnav-badge {
  position: absolute;
  top: 6px;
  right: calc(50% - 18px);
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ═══ LOCATION PANEL (bottom sheet) ═══ */
.del-loc-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 10000;
  align-items: flex-end;
  justify-content: center;
}
.del-loc-overlay.open { display: flex; }
.del-loc-panel {
  background: var(--white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  padding: 20px 20px 32px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: sheetUp .3s ease;
  overflow-y: auto;
}
@keyframes sheetUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.del-loc-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #f3f4f6;
  color: var(--dark);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.del-loc-close:hover { background: #e5e7eb; }
.del-loc-handle {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: #ddd;
  margin: 0 auto 16px;
}
.del-loc-panel-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--dark);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.del-loc-panel-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--dark);
  text-align: center;
  margin-bottom: 2px;
  letter-spacing: -.3px;
}
.del-loc-panel-sub {
  font-size: 15px;
  color: var(--yellow-dark);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}
.del-loc-input-wrap {
  display: flex;
  align-items: center;
  background: var(--cream);
  border: 2px solid rgba(0,0,0,.06);
  border-radius: var(--radius-full);
  padding: 4px 6px 4px 16px;
  transition: border-color var(--transition);
}
.del-loc-input-wrap:focus-within { border-color: var(--yellow); }
.del-loc-input-icon { font-size: 14px; color: var(--gray); margin-right: 8px; flex-shrink: 0; }
.del-loc-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--dark);
  background: transparent;
  padding: 10px 0;
  font-family: inherit;
}
.del-loc-input-wrap input::placeholder { color: #bbb; }
.del-geo-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: var(--green-bg);
  color: var(--green);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
}
.del-geo-btn:hover { background: rgba(16,185,129,.2); }
.del-loc-panel-msg {
  font-size: 12px;
  color: rgba(0,0,0,.4);
  margin-top: 8px;
  text-align: center;
  min-height: 16px;
}
.del-loc-panel .del-save-loc-btn { margin-top: 12px; }

/* ═══ SUGGESTIONS ═══ */
.del-suggestions {
  display: none;
  margin-top: 8px;
  background: var(--white);
  border-radius: var(--radius);
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid rgba(0,0,0,.06);
}
.del-suggestions.open { display: block; }
.del-sug-label {
  padding: 8px 14px 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--gray);
}
.del-sug-powered {
  padding: 8px 14px;
  font-size: 10px;
  color: var(--gray);
  text-align: right;
  border-top: 1px solid rgba(0,0,0,.06);
  letter-spacing: .2px;
}
.del-sug-powered strong {
  color: var(--dark);
  font-weight: 800;
}
.del-sug-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid rgba(0,0,0,.04);
  transition: background .15s;
  font-size: 13px;
  color: var(--dark);
}
.del-sug-item:last-child { border-bottom: none; }
.del-sug-item:hover { background: var(--yellow-light); }
.del-sug-item .sug-icon { color: var(--gray); font-size: 13px; flex-shrink: 0; }
.del-sug-item .sug-icon.local { color: var(--yellow-dark); }
.del-sug-item .sug-icon.street { color: var(--green); }
.del-sug-item .sug-text { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.del-sug-item .sug-cp { color: var(--gray); font-size: 11px; flex-shrink: 0; }

/* ═══ SAVE LOCATION BUTTON ═══ */
.del-save-loc-btn {
  display: block;
  width: 100%;
  background: var(--dark);
  color: var(--yellow);
  border: none;
  border-radius: var(--radius-full);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition: all var(--transition);
}
.del-save-loc-btn:hover { background: #333; transform: scale(1.01); }

/* ═══ MINI MAP ═══ */
.del-loc-map-wrap {
  width: 100%;
  margin-top: 14px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  animation: fadeUp .3s ease;
}
#del-loc-map { width: 100%; height: 180px; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.del-map-pin { position: relative; }
.del-pin-marker {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #e63946;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.3));
  animation: pinDrop .5s cubic-bezier(.3,1.5,.6,1);
}
.del-pin-pulse {
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 4px;
  background: rgba(0,0,0,.2);
  border-radius: 50%;
  animation: pulseShadow 1.5s ease infinite;
}
@keyframes pinDrop {
  from { transform: translateY(-30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes pulseShadow {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: .2; }
  50% { transform: translateX(-50%) scale(2); opacity: .06; }
}

/* ═══ LOCATION TYPE ═══ */
.del-loc-type-wrap {
  margin-top: 14px;
  animation: fadeUp .3s ease;
}
.del-loc-type-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  text-align: center;
}
.del-loc-type-grid {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.del-loc-type-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  border: 2px solid rgba(0,0,0,.08);
  border-radius: 14px;
  background: var(--white);
  transition: all var(--transition);
  min-width: 68px;
}
.del-loc-type-btn i { font-size: 18px; color: var(--gray); transition: color var(--transition); }
.del-loc-type-btn span { font-size: 11px; font-weight: 600; color: var(--gray); transition: color var(--transition); }
.del-loc-type-btn:hover { border-color: var(--yellow); }
.del-loc-type-btn.active { border-color: var(--yellow); background: var(--yellow); }
.del-loc-type-btn.active i, .del-loc-type-btn.active span { color: var(--dark); }

/* ═══ DETAIL FIELDS (planta/puerta) ═══ */
.del-loc-detail-wrap {
  margin-top: 14px;
  animation: fadeIn .25s ease;
}
.del-loc-detail-row {
  display: flex;
  gap: 12px;
}
.del-loc-detail-field {
  flex: 1;
}
.del-loc-detail-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 5px;
}
.del-loc-detail-field input {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid #e0ddd8;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  background: #faf9f6;
  outline: none;
  transition: border-color .2s;
  box-sizing: border-box;
}
.del-loc-detail-field input:focus {
  border-color: var(--yellow);
}

/* ═══ HISTORY OVERLAY ═══ */
.del-history-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 9999;
  align-items: flex-end;
  justify-content: center;
}
.del-history-overlay.open { display: flex; }
.del-history-panel {
  background: var(--white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  width: 100%;
  max-width: 500px;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: sheetUp .3s ease;
}
.del-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.del-history-header h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.del-history-header h3 i { color: var(--yellow-dark); }
.del-history-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #f3f4f6;
  font-size: 14px;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.del-history-close:hover { background: #e5e7eb; }
.del-history-list {
  overflow-y: auto;
  padding: 12px 14px;
  flex: 1;
}
.del-history-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #f0f0f0;
  margin-bottom: 8px;
  transition: border-color var(--transition);
}
.del-history-item:hover { border-color: var(--yellow); }
.del-history-item.active { border-color: var(--yellow); background: var(--yellow-light); }
.del-history-item .hi-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--yellow-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--yellow-dark);
  flex-shrink: 0;
}
.del-history-item.active .hi-icon { background: var(--yellow); color: var(--dark); }
.del-history-item .hi-info { flex: 1; min-width: 0; }
.del-history-item .hi-address {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.del-history-item .hi-meta { font-size: 10px; color: var(--gray); margin-top: 2px; }
.del-history-item .hi-active-badge {
  font-size: 9px;
  font-weight: 700;
  color: var(--yellow-dark);
  background: var(--yellow-light);
  padding: 2px 6px;
  border-radius: 8px;
  margin-left: 4px;
}
.del-history-use-btn {
  background: var(--dark);
  color: var(--yellow);
  border: none;
  border-radius: var(--radius-full);
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition);
}
.del-history-use-btn:hover { transform: scale(1.03); background: #333; }
.del-history-empty {
  text-align: center;
  padding: 28px 16px;
  color: #bbb;
}
.del-history-empty i { font-size: 32px; margin-bottom: 8px; display: block; color: #ddd; }

/* ═══════════════════════════════════════
   CATEGORY PAGE
   ═══════════════════════════════════════ */
.del-page-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--yellow);
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
}
.del-back-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,.08);
  color: var(--dark);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
}
.del-back-btn:hover { background: rgba(0,0,0,.14); }
.del-page-title {
  flex: 1;
  font-size: 16px;
  font-weight: 800;
  color: var(--dark);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Category hero */
.del-cat-hero {
  background: var(--yellow);
  padding: 0 16px 36px;
  position: relative;
}
.del-cat-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 60' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,40 C480,0 960,60 1440,20 L1440,60 L0,60 Z' fill='%23faf9f6'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 1;
}
.del-cat-hero h1 {
  font-size: 26px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 12px;
}

/* Search bar */
.del-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  box-shadow: var(--shadow-sm);
}
.del-search-bar i { color: var(--gray); font-size: 14px; flex-shrink: 0; }
.del-search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--dark);
  background: transparent;
  font-family: inherit;
}
.del-search-bar input::placeholder { color: #bbb; }

/* Subcategory row */
.del-subcats {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px 16px;
  scrollbar-width: none;
}
.del-subcats::-webkit-scrollbar { display: none; }
.del-subcat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  cursor: pointer;
}
.del-subcat-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--gray);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.del-subcat.active .del-subcat-icon,
.del-subcat:hover .del-subcat-icon {
  border-color: var(--yellow);
  background: var(--yellow-light);
  color: var(--yellow-dark);
}
.del-subcat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--dark);
  max-width: 64px;
  text-align: center;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Filter chips */
.del-filters {
  display: flex;
  gap: 8px;
  padding: 0 16px 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.del-filters::-webkit-scrollbar { display: none; }
.del-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0,0,0,.1);
  background: var(--white);
  font-size: 12px;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition);
}
.del-filter-chip i { font-size: 10px; color: var(--gray); }
.del-filter-chip:hover, .del-filter-chip.active {
  border-color: var(--yellow);
  background: var(--yellow-light);
}

/* Popular stores block */
.del-popular-block {
  padding: 0 16px 14px;
  text-align: center;
}
.del-popular-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}
.del-popular-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  justify-content: center;
}
.del-popular-scroll::-webkit-scrollbar { display: none; }
.del-popular-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  width: 72px;
  cursor: pointer;
}
.del-popular-item img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f0f0f0;
  transition: border-color var(--transition);
}
.del-popular-item:hover img { border-color: var(--yellow); }
.del-popular-item span {
  font-size: 10px;
  font-weight: 600;
  color: var(--dark);
  text-align: center;
  line-height: 1.2;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Store list (vertical) */
.del-store-list {
  padding: 0 16px;
}
.del-store-list-card {
  display: flex;
  gap: 12px;
  padding: 14px;
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  align-items: center;
}
.del-store-list-card:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.del-store-list-img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}
.del-store-list-info { flex: 1; min-width: 0; }
.del-store-list-info h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.del-store-list-info p {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.3;
}
.del-closed-notice {
  position: fixed;
  bottom: 80px;
  left: 16px;
  right: 16px;
  padding: 14px 18px;
  background: var(--white);
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  z-index: 150;
  animation: delSlideUp .3s ease;
}
.del-closed-notice i { color: var(--gray); font-size: 14px; }
.del-closed-notice .del-close-notice {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 18px;
  color: var(--gray);
  cursor: pointer;
  padding: 0 0 0 8px;
}
@keyframes delSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════
   STORE / NEGOCIO PAGE
   ═══════════════════════════════════════ */
.del-negocio-hero {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.del-negocio-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.del-negocio-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.2) 0%, rgba(0,0,0,.5) 100%);
}
.del-negocio-hero-actions {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  z-index: 2;
}
.del-hero-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.9);
  color: var(--dark);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: background var(--transition);
}
.del-hero-action-btn:hover { background: var(--white); }
.del-hero-actions-right { display: flex; gap: 8px; }

/* Store info card */
.del-negocio-info {
  padding: 0 16px;
  margin-top: -40px;
  position: relative;
  z-index: 3;
}
.del-negocio-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow);
}
.del-negocio-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.del-negocio-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.del-negocio-text { flex: 1; min-width: 0; }
.del-negocio-text h1 {
  font-size: 20px;
  font-weight: 900;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 4px;
}
.del-negocio-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.del-negocio-desc .more-link { color: var(--green); font-weight: 600; cursor: pointer; }

/* Metrics row (circular icons) */
.del-negocio-metrics {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 12px;
}
.del-metric-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.del-metric-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--gray);
}
.del-metric-icon.del-metric-green { color: var(--green); background: var(--green-bg); }
.del-metric-icon.del-metric-yellow { color: var(--yellow-dark); background: var(--yellow-light); }
.del-metric-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
}
.del-metric-sub {
  font-size: 11px;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 6px;
  background: #f3f4f6;
  color: var(--gray);
}
.del-metric-sub-green {
  color: var(--green);
  background: var(--green-bg);
  border: 1px solid rgba(16,185,129,.2);
}

/* Schedule badge */
.del-schedule-badge {
  text-align: center;
  margin-bottom: 14px;
}
.del-schedule-badge span {
  display: inline-block;
  background: var(--yellow-light);
  color: var(--yellow-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(234,179,8,.3);
}

/* Store search */
.del-negocio-search {
  margin-top: 14px;
}

/* Store tabs */
.del-negocio-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  margin: 14px -16px 0;
  padding: 0 16px;
}
.del-negocio-tab {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}
.del-negocio-tab.active {
  color: var(--dark);
  border-bottom-color: var(--yellow);
}

/* Category shopping */
.del-shop-section {
  padding: 16px 16px 100px;
}
.del-shop-cat-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--dark);
  margin: 16px 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.del-shop-cat-title i { color: var(--yellow-dark); font-size: 14px; }
.del-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.del-product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.del-product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.del-product-img {
  width: 100%;
  height: 120px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #ddd;
}
.del-product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}
.del-product-body {
  padding: 10px;
}
.del-product-brand {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: .3px;
  margin-bottom: 2px;
}
.del-product-body h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
}
.del-product-stock {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 6px;
  margin-bottom: 4px;
}
.del-stock-ok { background: #d1fae5; color: #065f46; }
.del-stock-out { background: #fee2e2; color: #991b1b; }
.del-product-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}
.del-product-add {
  width: 100%;
  padding: 8px;
  border: none;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--dark);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: background var(--transition);
}
.del-product-add:hover { background: var(--yellow-dark); }

/* Sticky cart bar */
.del-sticky-cart {
  position: fixed;
  bottom: var(--bottom-nav-h);
  left: 0;
  right: 0;
  padding: 10px 16px;
  z-index: 250;
  animation: fadeUp .3s ease;
}
.del-sticky-cart-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--dark);
  border-radius: var(--radius);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.del-sticky-cart-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.del-sticky-cart-count {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--dark);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.del-sticky-cart-label { font-size: 14px; font-weight: 600; }
.del-sticky-cart-total { font-size: 16px; font-weight: 800; color: var(--yellow); }

/* ═══════════════════════════════════════
   CART / CESTA PAGE
   ═══════════════════════════════════════ */
.del-cart-content {
  padding: 16px 16px 140px;
}
.del-cart-store {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.del-cart-store-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}
.del-cart-store h3 { font-size: 14px; font-weight: 700; color: var(--dark); }
.del-cart-store p { font-size: 12px; color: var(--gray); }
.del-cart-clear {
  margin-left: auto;
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 8px;
}

/* Extras block */
.del-cart-extras {
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.del-cart-extras h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.del-cart-extra-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.del-cart-extra-item:last-child { border-bottom: none; }
.del-cart-extra-item i { font-size: 16px; color: var(--yellow-dark); width: 24px; text-align: center; }
.del-cart-extra-item span { flex: 1; font-size: 13px; color: var(--dark); }
.del-cart-extra-item .extra-price { font-size: 13px; font-weight: 700; color: var(--dark); }
.del-cart-extra-toggle {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid #ddd;
  background: none;
  cursor: pointer;
  transition: all var(--transition);
}
.del-cart-extra-toggle.checked {
  background: var(--yellow);
  border-color: var(--yellow);
}

/* Cart items */
.del-cart-items {
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.del-cart-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,.04);
  align-items: center;
}
.del-cart-item:last-child { border-bottom: none; }
.del-cart-item-img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #ddd;
  flex-shrink: 0;
}
.del-cart-item-info { flex: 1; min-width: 0; }
.del-cart-item-info h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.del-cart-item-price { font-size: 14px; font-weight: 800; color: var(--dark); }
.del-cart-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  flex-shrink: 0;
}
.del-cart-stepper button {
  width: 34px;
  height: 34px;
  border: none;
  background: #f3f4f6;
  color: var(--dark);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.del-cart-stepper button:hover { background: #e5e7eb; }
.del-cart-stepper .stepper-qty {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  background: var(--white);
}
.del-cart-item-remove {
  font-size: 12px;
  color: var(--red);
  background: none;
  border: none;
  padding: 2px 4px;
  cursor: pointer;
}

/* Add more */
.del-cart-add-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  cursor: pointer;
  transition: background var(--transition);
}
.del-cart-add-more:hover { background: var(--green-bg); }
.del-cart-add-more i { font-size: 16px; }

/* Sticky payment footer */
.del-cart-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,.06);
  z-index: 300;
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
}
.del-cart-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.del-cart-summary-label { font-size: 14px; color: var(--gray); }
.del-cart-summary-total { font-size: 20px; font-weight: 900; color: var(--dark); }
.del-cart-pay-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--yellow);
  color: var(--dark);
  border: none;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  transition: all var(--transition);
}
.del-cart-pay-btn:hover { background: var(--yellow-dark); transform: scale(1.01); }

/* Cart empty */
.del-cart-empty {
  text-align: center;
  padding: 60px 20px;
}
.del-cart-empty i { font-size: 48px; color: #ddd; margin-bottom: 14px; display: block; }
.del-cart-empty h2 { font-size: 20px; font-weight: 800; color: var(--dark); margin-bottom: 6px; }
.del-cart-empty p { font-size: 14px; color: var(--gray); margin-bottom: 20px; }
.del-cart-empty a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  background: var(--yellow);
  color: var(--dark);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
}

/* ═══════════════════════════════════════
   DELIVERY PEDIDOS PAGE
   ═══════════════════════════════════════ */
.del-pedidos-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px 16px calc(var(--bottom-nav-h) + 30px);
}
.del-pedidos-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
  padding-top: env(safe-area-inset-top, 12px);
}
.del-pedidos-section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin: 28px 0 14px;
}
.del-pedidos-card {
  background: var(--white);
  border: 1.5px solid #e8e6e1;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.del-pedidos-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 24px;
  text-align: center;
}
.del-pedidos-icon {
  position: relative;
  width: 72px;
  height: 72px;
  background: #f0efec;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #b8b5ae;
  margin-bottom: 16px;
}
.del-pedidos-icon-pin {
  position: absolute;
  bottom: 2px;
  right: -2px;
  font-size: 16px;
  color: #b8b5ae;
  background: #f0efec;
  border-radius: 50%;
  padding: 3px;
}
.del-pedidos-empty h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.del-pedidos-empty p {
  font-size: 14px;
  color: #888;
  line-height: 1.4;
  max-width: 280px;
}

/* Cesta content */
.del-pedidos-cesta-content {
  padding: 16px;
}
.del-pedidos-cesta-header {
  margin-bottom: 14px;
}
.del-pedidos-store-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.del-pedidos-store-info img,
.del-pedidos-store-info i {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #aaa;
}
.del-pedidos-store-info div {
  display: flex;
  flex-direction: column;
}
.del-pedidos-store-info strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
}
.del-pedidos-store-info span {
  font-size: 12px;
  color: #888;
}
.del-pedidos-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid #f0efec;
}
.del-pedidos-item-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
  background: #f8f7f4;
}
.del-pedidos-item-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #ccc;
}
.del-pedidos-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.del-pedidos-item-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.del-pedidos-item-qty {
  font-size: 11px;
  color: #999;
}
.del-pedidos-item-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
}
.del-pedidos-item-more {
  text-align: center;
  font-size: 12px;
  color: #999;
  padding: 8px 0 4px;
}
.del-pedidos-cesta-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 20px;
  margin-top: 14px;
  background: var(--yellow);
  color: var(--dark);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--transition);
}
.del-pedidos-cesta-btn:hover { background: var(--yellow-dark); }
.del-pedidos-cesta-total {
  font-weight: 800;
}

/* Historial banner */
.del-pedidos-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 18px 20px;
  background: #f3f2ee;
  border-radius: var(--radius-lg);
}
.del-pedidos-banner-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: #e8e5dc;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--yellow-dark);
}
.del-pedidos-banner-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.del-pedidos-banner-text span {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
}
.del-pedidos-banner-text a {
  font-size: 13px;
  font-weight: 700;
  color: #0d6e4f;
  text-decoration: underline;
}

/* ═══ SKELETON LOADING ═══ */
.del-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease infinite;
  border-radius: 8px;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ═══════════════════════════════════════════
   DELIVERY PERFIL PAGE
   ═══════════════════════════════════════════ */
.del-perfil-main {
  padding: 70px 16px 100px;
  max-width: 520px;
  margin: 0 auto;
}

/* Login prompt */
.del-perfil-login {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  gap: 12px;
}
.del-perfil-login-icon {
  width: 80px; height: 80px;
  background: #f5f3ef;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: #bbb;
}
.del-perfil-login h2 { font-size: 20px; font-weight: 700; color: var(--dark); margin: 0; }
.del-perfil-login p { font-size: 14px; color: #888; margin: 0; }
.del-perfil-login-btn {
  display: inline-block;
  background: var(--dark);
  color: var(--yellow);
  padding: 14px 40px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  margin-top: 8px;
}
.del-perfil-register-link {
  font-size: 13px; color: #888; text-decoration: underline;
}

/* Hero avatar area */
.del-perfil-hero {
  text-align: center;
  padding: 10px 0 24px;
}
.del-perfil-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: #f5f3ef;
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: #ccc;
  overflow: hidden;
  border: 3px solid rgba(0,0,0,.06);
}
.del-perfil-avatar img {
  width: 100%; height: 100%; object-fit: cover;
}
.del-perfil-name {
  font-size: 20px; font-weight: 700; color: var(--dark); margin: 0;
}
.del-perfil-email {
  font-size: 13px; color: #888; margin: 4px 0 0;
}

/* Cards */
.del-perfil-card {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.del-perfil-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.del-perfil-card-header i {
  width: 36px; height: 36px;
  background: var(--dark);
  color: var(--yellow);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.del-perfil-card-header h3 {
  font-size: 16px; font-weight: 700; color: var(--dark); margin: 0;
}

/* Form fields */
.del-perfil-form { display: flex; flex-direction: column; gap: 14px; }
.del-perfil-field label {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: #555;
  margin-bottom: 6px;
}
.del-perfil-field label i { font-size: 12px; color: #aaa; }
.del-perfil-optional { font-weight: 400; color: #bbb; font-size: 12px; }
.del-perfil-field input {
  width: 100%;
  padding: 13px 14px;
  border: 2px solid #eae8e3;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  color: var(--dark);
  background: #fafaf8;
  transition: border-color .2s, box-shadow .2s;
  box-sizing: border-box;
}
.del-perfil-field input:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255,194,68,.18);
  background: #fff;
}
.del-perfil-field input::placeholder { color: #ccc; }

/* Save buttons */
.del-perfil-save-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  padding: 14px;
  background: var(--dark);
  color: var(--yellow);
  border: none;
  border-radius: 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .2s;
}
.del-perfil-save-btn:hover { opacity: .9; }
.del-perfil-save-btn:disabled { opacity: .5; cursor: not-allowed; }

/* Preferences */
.del-perfil-prefs { display: flex; flex-direction: column; gap: 0; }
.del-perfil-pref-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.del-perfil-pref-item:last-of-type { border-bottom: none; }
.del-perfil-pref-info {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 500; color: var(--dark);
}
.del-perfil-pref-info i {
  width: 34px; height: 34px;
  background: #f5f3ef;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: #888;
}

/* Toggle switch */
.del-toggle { position: relative; width: 44px; height: 24px; flex-shrink: 0; }
.del-toggle input { opacity: 0; width: 0; height: 0; }
.del-toggle-slider {
  position: absolute; inset: 0;
  background: #ddd;
  border-radius: 24px;
  transition: .2s;
  cursor: pointer;
}
.del-toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 3px; top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: .2s;
}
.del-toggle input:checked + .del-toggle-slider { background: var(--dark); }
.del-toggle input:checked + .del-toggle-slider::before { transform: translateX(20px); }

/* Danger zone */
.del-perfil-danger {
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px 20px;
}
.del-perfil-logout-btn, .del-perfil-delete-btn {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.del-perfil-logout-btn {
  background: #f5f3ef;
  color: var(--dark);
}
.del-perfil-logout-btn:hover { background: #eae8e3; }
.del-perfil-delete-btn {
  background: #fef2f2;
  color: #c0392b;
}
.del-perfil-delete-btn:hover { background: #fee2e2; }

/* Toast */
.del-perfil-toast {
  position: fixed;
  bottom: 90px;
  left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--dark);
  color: #fff;
  padding: 12px 24px;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 9999;
  white-space: nowrap;
}
.del-perfil-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.del-perfil-toast.error { background: #c0392b; }

/* ═══ RESPONSIVE ═══ */
@media (min-width: 768px) {
  .del-categories-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 700px;
  }
  .del-product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .del-bottom-nav { display: none; }
  body { padding-bottom: 0; }
  .del-loc-overlay { align-items: center; }
  .del-loc-panel {
    border-radius: var(--radius-lg);
    max-width: 440px;
    animation: fadeUp .3s ease;
  }
  .del-history-overlay { align-items: center; }
  .del-history-panel {
    border-radius: var(--radius-lg);
    max-width: 440px;
    animation: fadeUp .3s ease;
  }
  .del-sticky-cart { bottom: 0; }
  .del-cart-footer { padding-bottom: 16px; }
}

@media (min-width: 1024px) {
  .del-categories-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 900px;
  }
  .del-product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .del-stores-scroll { padding: 0 32px 8px; }
  .del-hero { padding: 24px 32px 40px; }
  .del-hero h1 { font-size: 34px; }
}

@media (max-width: 380px) {
  .del-cat-card { padding: 16px 8px 12px; }
  .del-cat-icon { width: 44px; height: 44px; font-size: 18px; }
  .del-cat-name { font-size: 12px; }
  .del-store-card { flex: 0 0 220px; }
  .del-store-cover { height: 90px; }
}
