/* =========================================
   Miyahok — Premium Design System v3
   Water Delivery · Deep Ocean Palette
   ========================================= */

/* --- Google Font (Cairo) loaded via HTML --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ──────────────────────────────────────────
   DESIGN TOKENS
────────────────────────────────────────── */
:root {
  /* Brand palette */
  --primary:        #0077b6;
  --primary-dark:   #023e8a;
  --primary-darker: #03045e;
  --primary-light:  #caf0f8;
  --accent:         #00b4d8;
  --accent-dark:    #0096c7;
  --accent-light:   #e0f7ff;

  /* Neutrals */
  --surface:        #ffffff;
  --surface-2:      #f8faff;
  --surface-3:      #eef5fd;
  --text-dark:      #080c14;
  --text-mid:       #1e293b;
  --text-muted:     #64748b;
  --text-light:     #94a3b8;
  --border:         rgba(0, 119, 182, 0.12);

  /* Semantic */
  --success:        #10b981;
  --warning:        #f59e0b;
  --danger:         #ef4444;
  --info:           #3b82f6;

  /* Gradients */
  --grad-hero:      linear-gradient(135deg, #03045e 0%, #023e8a 40%, #0077b6 75%, #00b4d8 100%);
  --grad-card:      linear-gradient(135deg, #0077b6, #00b4d8);
  --grad-accent:    linear-gradient(135deg, #00b4d8, #0077b6);
  --grad-light:     linear-gradient(135deg, #f0f9ff 0%, #e0f7ff 100%);

  /* Spacing & shape */
  --radius-sm:      8px;
  --radius:         16px;
  --radius-lg:      24px;
  --radius-xl:      32px;
  --radius-full:    9999px;

  /* Shadows */
  --shadow-xs:      0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-sm:      0 2px 8px rgba(0, 119, 182, .08);
  --shadow:         0 4px 20px rgba(0, 119, 182, .12);
  --shadow-md:      0 8px 32px rgba(0, 119, 182, .16);
  --shadow-lg:      0 16px 48px rgba(0, 119, 182, .20);
  --shadow-xl:      0 24px 64px rgba(0, 119, 182, .24);

  /* Motion */
  --ease:           cubic-bezier(.4, 0, .2, 1);
  --ease-out:       cubic-bezier(.0, 0, .2, 1);
  --ease-in:        cubic-bezier(.4, 0, 1, 1);
  --dur-fast:       150ms;
  --dur:            250ms;
  --dur-slow:       400ms;
  --transition:     all var(--dur) var(--ease);
}

/* Dark mode tokens */
@media (prefers-color-scheme: dark) {
  :root {
    --surface:    #0d1626;
    --surface-2:  #111c2e;
    --surface-3:  #172036;
    --text-dark:  #f1f5f9;
    --text-mid:   #cbd5e1;
    --text-muted: #94a3b8;
    --border:     rgba(0, 180, 216, .15);
  }
}
html.dark {
  --surface:    #0d1626;
  --surface-2:  #111c2e;
  --surface-3:  #172036;
  --text-dark:  #f1f5f9;
  --text-mid:   #cbd5e1;
  --text-muted: #94a3b8;
  --border:     rgba(0, 180, 216, .15);
}

/* ──────────────────────────────────────────
   BASE
────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', 'Segoe UI', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-mid);
  background: var(--surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

[dir="rtl"] body { text-align: right; }
[dir="rtl"] .me-1  { margin-inline-start: .25rem !important; margin-inline-end: 0 !important; }
[dir="rtl"] .me-2  { margin-inline-start: .5rem  !important; margin-inline-end: 0 !important; }
[dir="rtl"] .ms-2  { margin-inline-end:   .5rem  !important; margin-inline-start: 0 !important; }

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--surface-2); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: var(--radius-full); }

/* ──────────────────────────────────────────
   ACCESSIBILITY
────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  inset-inline-start: 16px;
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 16px; color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ──────────────────────────────────────────
   TYPOGRAPHY SCALE
────────────────────────────────────────── */
.display-1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.03em; }
.display-2 { font-size: clamp(2rem, 5vw, 3.2rem);  font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.h1-m      { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; line-height: 1.2;  }
.h2-m      { font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 700; line-height: 1.3;  }
.h3-m      { font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 700; line-height: 1.4; }
.body-lg   { font-size: 1.1rem; line-height: 1.75; }
.body-sm   { font-size: .875rem; line-height: 1.65; }
.caption   { font-size: .75rem; letter-spacing: .04em; }
.fw-800    { font-weight: 800; }
.fw-700    { font-weight: 700; }
.fw-600    { font-weight: 600; }

/* ──────────────────────────────────────────
   NAVBAR
────────────────────────────────────────── */
.navbar-miyahok {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(0,119,182,.08);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}

.navbar-miyahok.scrolled {
  box-shadow: 0 4px 24px rgba(0,119,182,.12);
}

.navbar-miyahok .container {
  padding-block: 14px;
}

.navbar-miyahok .navbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary) !important;
  letter-spacing: -0.04em;
}

.navbar-miyahok .navbar-brand img {
  height: 36px;
  width: auto;
}

.navbar-miyahok .nav-link {
  color: var(--text-mid) !important;
  font-weight: 600;
  font-size: .93rem;
  padding: 7px 14px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.navbar-miyahok .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  inset-inline: 14px;
  height: 2px;
  background: var(--primary);
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--dur) var(--ease-out);
}

.navbar-miyahok .nav-link:hover::after,
.navbar-miyahok .nav-link.active::after { transform: scaleX(1); }

.navbar-miyahok .nav-link:hover,
.navbar-miyahok .nav-link.active {
  color: var(--primary) !important;
}

/* Cart icon with badge */
.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--primary) !important;
  transition: var(--transition);
}
.nav-cart:hover { background: var(--accent-light); }
.nav-cart .badge-dot {
  position: absolute;
  top: 6px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--danger);
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

/* User avatar */
.nav-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--grad-card);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: var(--transition);
  flex-shrink: 0;
}
.nav-avatar:hover { transform: scale(1.08); }

/* Language switcher */
.lang-switcher {
  background: var(--accent-light);
  color: var(--primary-dark) !important;
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-full);
  padding: 5px 16px !important;
  font-weight: 700;
  font-size: .82rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.lang-switcher:hover,
.lang-switcher:focus {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
}

.navbar-toggler {
  border: 0 !important;
  padding: 4px;
  border-radius: var(--radius-sm);
  color: var(--primary);
  transition: var(--transition);
}
.navbar-toggler:focus { box-shadow: 0 0 0 2px var(--accent-light); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230077b6' stroke-width='2.5' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Login button in nav */
.btn-nav-login {
  background: var(--grad-card);
  color: #fff !important;
  border-radius: var(--radius-full);
  padding: 8px 22px !important;
  font-weight: 700;
  font-size: .88rem;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0,119,182,.25);
  white-space: nowrap;
}
.btn-nav-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0,119,182,.35);
  color: #fff !important;
}

/* ──────────────────────────────────────────
   HERO SECTION
────────────────────────────────────────── */
.hero-section {
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-deco {
  position: absolute;
  border-radius: var(--radius-full);
  opacity: .1;
  pointer-events: none;
}
.hero-deco-1 {
  width: 600px; height: 600px;
  background: var(--accent);
  top: -200px; right: -200px;
  animation: floatOrb 12s ease-in-out infinite;
}
.hero-deco-2 {
  width: 400px; height: 400px;
  background: var(--primary-light);
  bottom: -150px; left: -100px;
  animation: floatOrb 16s ease-in-out infinite reverse;
}
.hero-deco-3 {
  width: 200px; height: 200px;
  background: #fff;
  top: 60%; right: 15%;
  opacity: .05;
  animation: floatOrb 10s ease-in-out infinite 3s;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(20px, -30px) scale(1.05); }
  66%       { transform: translate(-15px, 15px) scale(.97); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-full);
  padding: 6px 18px;
  color: rgba(255,255,255,.9);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  color: #fff;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-title span { color: var(--accent); }

.hero-subtitle {
  color: rgba(255,255,255,.75);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* Hero image/orb */
.hero-water-orb {
  width: clamp(260px, 30vw, 420px);
  height: clamp(260px, 30vw, 420px);
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(255,255,255,.15), rgba(0,180,216,.3));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: floatOrb 8s ease-in-out infinite;
  flex-shrink: 0;
}
.hero-water-orb::before {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(0,180,216,.15));
  border: 1px solid rgba(255,255,255,.15);
}
.hero-water-orb i { font-size: clamp(4rem, 8vw, 7rem); color: rgba(255,255,255,.9); position: relative; z-index: 1; }

/* Hero stats chips */
.hero-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.hero-stat-chip {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: 12px 20px;
  text-align: center;
  min-width: 90px;
}
.hero-stat-chip .stat-num { font-size: 1.5rem; font-weight: 900; color: #fff; line-height: 1; }
.hero-stat-chip .stat-label { font-size: .7rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .05em; margin-top: 4px; }

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  animation: bounceDown 2s ease-in-out infinite;
}
.hero-scroll i { font-size: 1rem; }
@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ──────────────────────────────────────────
   PAGE HERO (inner pages)
────────────────────────────────────────── */
.page-hero {
  background: var(--grad-hero);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero.page-hero-sm { padding: 56px 0 44px; }

.page-hero-deco {
  position: absolute;
  border-radius: var(--radius-full);
  pointer-events: none;
}
.page-hero-deco-1 {
  width: 400px; height: 400px;
  background: rgba(255,255,255,.04);
  top: -150px; right: -100px;
}
.page-hero-deco-2 {
  width: 280px; height: 280px;
  background: rgba(0,180,216,.08);
  bottom: -100px; left: -60px;
}

/* ──────────────────────────────────────────
   BUTTONS
────────────────────────────────────────── */
.btn-primary-miyahok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--grad-card);
  color: #fff !important;
  border: 0;
  border-radius: var(--radius-full);
  padding: 13px 32px;
  font-family: inherit;
  font-size: .97rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), filter var(--dur) var(--ease);
  box-shadow: 0 4px 20px rgba(0,119,182,.30);
  white-space: nowrap;
}
.btn-primary-miyahok:hover,
.btn-primary-miyahok:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,119,182,.40);
  filter: brightness(1.06);
  color: #fff !important;
}
.btn-primary-miyahok:active { transform: translateY(0); }
.btn-primary-miyahok:disabled,
.btn-primary-miyahok[disabled] {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-outline-miyahok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: var(--radius-full);
  padding: 11px 28px;
  font-family: inherit;
  font-size: .97rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}
.btn-outline-miyahok:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.8);
  color: #fff;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--primary);
  border: 0;
  padding: 8px 16px;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.btn-ghost:hover { background: var(--accent-light); }

.btn-blue { /* alias for login nav button */
  background: var(--grad-card);
  color: #fff !important;
  border-radius: var(--radius-full);
  padding: 8px 22px;
  font-weight: 700;
  font-size: .88rem;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0,119,182,.25);
  white-space: nowrap;
}
.btn-blue:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0,119,182,.35);
  color: #fff !important;
}

/* ──────────────────────────────────────────
   CARDS
────────────────────────────────────────── */
.card-miyahok {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  overflow: hidden;
}
.card-miyahok:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.glass-card {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
}

.glass-card-dark {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
}

/* ──────────────────────────────────────────
   PRODUCT CARD
────────────────────────────────────────── */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-img-wrap {
  position: relative;
  background: var(--grad-light);
  padding: 28px 20px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  overflow: hidden;
}

.product-img-wrap img {
  width: 130px;
  height: 160px;
  object-fit: contain;
  transition: transform var(--dur-slow) var(--ease);
  position: relative;
  z-index: 1;
}
.product-card:hover .product-img-wrap img {
  transform: scale(1.08) translateY(-4px);
}

.product-badge {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  background: var(--danger);
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,119,182,.85);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  z-index: 2;
}
.product-card:hover .product-overlay { opacity: 1; }

.product-overlay .btn-quick-view {
  background: #fff;
  color: var(--primary);
  border: 0;
  border-radius: var(--radius-full);
  padding: 10px 24px;
  font-family: inherit;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  transform: translateY(8px);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.product-card:hover .product-overlay .btn-quick-view { transform: translateY(0); }
.product-overlay .btn-quick-view:hover { box-shadow: 0 4px 16px rgba(0,0,0,.2); }

.product-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-description {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.product-price .currency { font-size: .75rem; font-weight: 700; opacity: .7; }

.btn-add-cart {
  background: var(--grad-card);
  color: #fff;
  border: 0;
  border-radius: var(--radius-full);
  padding: 9px 20px;
  font-family: inherit;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0,119,182,.25);
  white-space: nowrap;
}
.btn-add-cart:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,119,182,.35);
}

/* Quantity stepper */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.qty-btn {
  background: transparent;
  border: 0;
  width: 36px;
  height: 36px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}
.qty-btn:hover { background: var(--accent-light); }
.qty-val {
  min-width: 36px;
  text-align: center;
  font-weight: 700;
  color: var(--text-dark);
  font-size: .95rem;
}

/* ──────────────────────────────────────────
   SECTION UTILITIES
────────────────────────────────────────── */
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 56px 0; }
.bg-light-blue { background: var(--surface-2); }
.bg-surface-3  { background: var(--surface-3); }

.section-header { text-align: center; margin-bottom: 52px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 12px;
}

.eyebrow-dark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--primary);
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-divider {
  width: 64px;
  height: 4px;
  background: var(--grad-card);
  border-radius: var(--radius-full);
  margin: 16px auto 0;
}

/* ──────────────────────────────────────────
   FEATURE / ICON BOX
────────────────────────────────────────── */
.icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--accent-light);
  color: var(--primary);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}
.icon-box-lg { width: 72px; height: 72px; font-size: 1.8rem; border-radius: var(--radius-lg); }
.card-miyahok:hover .icon-box {
  background: var(--grad-card);
  color: #fff;
  transform: scale(1.08) rotate(-3deg);
}

.feature-card {
  padding: 32px 28px;
  text-align: center;
}
.feature-card .icon-box { margin: 0 auto 20px; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.feature-card p  { font-size: .9rem; color: var(--text-muted); line-height: 1.65; }

/* ──────────────────────────────────────────
   HERO LOCATION CHIP
────────────────────────────────────────── */
.hero-location-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  color: rgba(255,255,255,.9);
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: 28px;
}

/* ──────────────────────────────────────────
   CART
────────────────────────────────────────── */
.cart-item-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}
.cart-item-card:hover { box-shadow: var(--shadow); border-color: rgba(0,119,182,.2); }

.cart-item-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--grad-light);
  padding: 8px;
  flex-shrink: 0;
}

.cart-item-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--primary);
}

.cart-summary-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 90px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--surface-3);
  font-size: .93rem;
}
.cart-summary-row:last-child { border-bottom: 0; }
.cart-summary-row.total {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text-dark);
  padding-top: 16px;
  margin-top: 4px;
  border-top: 2px solid var(--border);
}
.cart-summary-row.total .price { color: var(--primary); }

/* ──────────────────────────────────────────
   FORMS
────────────────────────────────────────── */
.form-group-modern {
  margin-bottom: 20px;
}

.form-label-modern {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-mid);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.form-control {
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: inherit;
  font-size: .97rem;
  color: var(--text-dark);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  outline: none;
  appearance: none;
}
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,180,216,.15);
}
.form-control::placeholder { color: var(--text-light); }
.form-control:disabled, .form-control[readonly] {
  background: var(--surface-2);
  opacity: .7;
  cursor: not-allowed;
}

textarea.form-control { min-height: 110px; resize: vertical; }

.input-icon-wrap {
  position: relative;
}
.input-icon-wrap .form-control { padding-inline-start: 44px; }
.input-icon-wrap .input-icon {
  position: absolute;
  inset-inline-start: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: .9rem;
  pointer-events: none;
}

/* Phone group (signin) */
.phone-group {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  background: var(--surface);
}
.phone-group:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,180,216,.15);
}
.phone-prefix {
  background: var(--surface-2);
  border-inline-end: 1.5px solid var(--border);
  padding: 12px 16px;
  font-weight: 700;
  color: var(--text-mid);
  font-size: .97rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.phone-group .form-control {
  border: 0;
  box-shadow: none;
  border-radius: 0;
  flex: 1;
}
.phone-group .form-control:focus { box-shadow: none; }

/* OTP inputs */
.otp-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 24px;
}
.otp-input {
  width: 52px;
  height: 60px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-dark);
  background: var(--surface);
  outline: none;
  transition: var(--transition);
  font-family: inherit;
}
.otp-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,180,216,.15);
  transform: scale(1.04);
}
@media (max-width: 380px) {
  .otp-input { width: 42px; height: 52px; font-size: 1.2rem; }
}

/* ──────────────────────────────────────────
   LOGIN / SIGNIN PAGE
────────────────────────────────────────── */
.login-split-wrap {
  min-height: 100vh;
  display: flex;
}

.login-left-panel {
  width: 46%;
  background: var(--grad-hero);
  padding: 48px 52px;
  position: relative;
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
}
.login-left-panel::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: rgba(255,255,255,.05);
  border-radius: var(--radius-full);
  top: -150px; right: -150px;
}
.login-left-panel::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: rgba(0,180,216,.1);
  border-radius: var(--radius-full);
  bottom: -80px; left: -80px;
}

.brand-logo a {
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.login-left-panel h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.login-left-panel p {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.login-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.login-feature-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,.85);
  font-weight: 600;
  font-size: .95rem;
}
.feat-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}

.login-water-orb {
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 360px;
  height: 360px;
  background: rgba(255,255,255,.04);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,.08);
}

.login-right-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  background: var(--surface);
  overflow-y: auto;
}

.inner-form {
  width: 100%;
  max-width: 420px;
}

/* ──────────────────────────────────────────
   CHECKOUT
────────────────────────────────────────── */
.checkout-wrap { padding: 48px 0 80px; }

.checkout-section-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.checkout-section-title .step-num {
  width: 32px;
  height: 32px;
  background: var(--grad-card);
  color: #fff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 900;
  flex-shrink: 0;
}

.address-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}
.address-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.address-card.selected { border-color: var(--primary); background: var(--accent-light); }

.address-type-badge {
  background: var(--accent-light);
  color: var(--primary);
  font-size: .72rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
}

.btn-add-address {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  color: var(--primary);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  width: 100%;
  background: transparent;
  font-family: inherit;
  transition: var(--transition);
  text-align: center;
}
.btn-add-address:hover {
  border-color: var(--primary);
  background: var(--accent-light);
}

/* ──────────────────────────────────────────
   ALERTS
────────────────────────────────────────── */
.alert {
  border-radius: var(--radius);
  border: 0;
  padding: 14px 20px;
  font-size: .93rem;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.alert-success { background: #ecfdf5; color: #065f46; }
.alert-danger  { background: #fef2f2; color: #991b1b; }
.alert-warning { background: #fffbeb; color: #92400e; }
.alert-info    { background: #eff6ff; color: #1e40af; }

/* ──────────────────────────────────────────
   EMPTY STATE
────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 60px 24px;
}
.empty-state-icon {
  width: 80px; height: 80px;
  border-radius: var(--radius-lg);
  background: var(--grad-light);
  color: var(--primary);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.empty-state h3 { font-size: 1.2rem; font-weight: 800; color: var(--text-dark); margin-bottom: 8px; }
.empty-state p  { color: var(--text-muted); font-size: .93rem; max-width: 320px; margin: 0 auto 24px; }

/* ──────────────────────────────────────────
   ORDER CARDS
────────────────────────────────────────── */
.order-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  margin-bottom: 16px;
}
.order-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.order-card-head {
  background: var(--surface-2);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}

.order-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.order-status.pending  { background: #fef3c7; color: #92400e; }
.order-status.active   { background: #d1fae5; color: #065f46; }
.order-status.delivered{ background: #dbeafe; color: #1e40af; }
.order-status.cancelled{ background: #fee2e2; color: #991b1b; }

/* ──────────────────────────────────────────
   FOOTER
────────────────────────────────────────── */
.footer {
  background: var(--primary-darker);
  color: rgba(255,255,255,.8);
  padding-top: 0;
}

.footer h5 {
  font-size: .82rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 20px;
  position: relative;
}
.footer h5::after {
  content: '';
  position: absolute;
  bottom: -8px;
  inset-inline-start: 0;
  width: 28px;
  height: 3px;
  background: var(--accent);
  border-radius: var(--radius-full);
}

.footer a {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,.65);
  font-size: .88rem;
  font-weight: 500;
  padding: 4px 0;
  transition: var(--transition);
  text-decoration: none;
}
.footer a:hover { color: var(--accent); transform: translateX(4px); }
[dir="rtl"] .footer a:hover { transform: translateX(-4px); }

.footer-brand {
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  gap: 8px;
  letter-spacing: -0.03em;
}

.social-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.social-icons a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  transition: var(--transition);
  padding: 0;
  transform: none;
}
.social-icons a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}
[dir="rtl"] .social-icons a:hover { transform: translateY(-3px); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255,255,255,.7);
  font-size: .88rem;
  margin-bottom: 14px;
  text-decoration: none;
  transition: var(--transition);
  transform: none !important;
  padding: 0;
}
.footer-contact-item:hover { color: var(--accent); }
.footer-contact-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
}

.footer-bottom {
  background: rgba(0,0,0,.2);
  padding: 18px 0;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 0;
}

/* ──────────────────────────────────────────
   SCROLL-TO-TOP
────────────────────────────────────────── */
#scrollToTopBtn {
  position: fixed;
  bottom: 28px;
  inset-inline-end: 28px;
  z-index: 1000;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--grad-card);
  color: #fff;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,119,182,.35);
  transition: var(--transition);
}
#scrollToTopBtn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,119,182,.45);
}

/* ──────────────────────────────────────────
   WAVE DIVIDER
────────────────────────────────────────── */
.wave-divider {
  overflow: hidden;
  line-height: 0;
}
.wave-divider svg { display: block; width: 100%; }

/* ──────────────────────────────────────────
   APP SECTION (delivery coverage)
────────────────────────────────────────── */
.app-section {
  background: var(--grad-hero);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}
.app-section::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: rgba(255,255,255,.04);
  border-radius: var(--radius-full);
  top: -120px; right: -120px;
}

.city-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  transition: var(--transition);
}
.city-chip:hover {
  background: rgba(255,255,255,.2);
  color: #fff;
  transform: translateY(-2px);
}

/* ──────────────────────────────────────────
   TESTIMONIAL / REVIEW CARD
────────────────────────────────────────── */
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.stars { color: var(--warning); font-size: .9rem; }
.review-text { font-size: .93rem; color: var(--text-muted); line-height: 1.7; margin: 14px 0; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
  width: 42px; height: 42px; border-radius: var(--radius-full);
  background: var(--grad-card);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 1rem; flex-shrink: 0;
}
.reviewer-name  { font-weight: 700; font-size: .93rem; color: var(--text-dark); }
.reviewer-title { font-size: .77rem; color: var(--text-muted); }

/* ──────────────────────────────────────────
   CMS CONTENT
────────────────────────────────────────── */
.cms-content {
  font-size: .97rem;
  line-height: 1.85;
  color: var(--text-mid);
}
.cms-content p   { margin-bottom: 16px; }
.cms-content h2, .cms-content h3 { color: var(--text-dark); font-weight: 800; margin: 24px 0 12px; }
.cms-content a   { color: var(--primary); }
.cms-content a:hover { color: var(--accent); }
.cms-content ul, .cms-content ol { padding-inline-start: 24px; margin-bottom: 16px; }
.cms-content li  { margin-bottom: 8px; }

/* ──────────────────────────────────────────
   FADE-UP ANIMATION
────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ──────────────────────────────────────────
   COUPON / PROMO CARD
────────────────────────────────────────── */
.coupon-card {
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}
.coupon-card:hover { border-color: var(--primary); }
.coupon-input { flex: 1; background: transparent; border: 0; outline: none; font-family: inherit; font-size: .97rem; color: var(--text-dark); }
.coupon-input::placeholder { color: var(--text-light); }

/* ──────────────────────────────────────────
   RADIO / ADDRESS SELECTOR
────────────────────────────────────────── */
.select-address .custom-control { margin-bottom: 12px; }
.custom-control-label {
  font-size: .93rem;
  color: var(--text-mid);
  cursor: pointer;
  font-weight: 500;
}

/* ──────────────────────────────────────────
   TABLES (order details)
────────────────────────────────────────── */
.table-miyahok {
  width: 100%;
  border-collapse: collapse;
}
.table-miyahok th {
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: .77rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 12px 16px;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
.table-miyahok td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: .93rem;
  color: var(--text-mid);
  vertical-align: middle;
}
.table-miyahok tbody tr:hover { background: var(--surface-2); }
.table-miyahok tbody tr:last-child td { border-bottom: 0; }

/* ──────────────────────────────────────────
   WALLET CARD
────────────────────────────────────────── */
.wallet-balance-card {
  background: var(--grad-hero);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.wallet-balance-card::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-full);
  top: -80px; right: -80px;
}
.wallet-amount {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 1;
}
.wallet-currency { font-size: 1.2rem; font-weight: 700; opacity: .7; }
.wallet-label {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  opacity: .65;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

/* ──────────────────────────────────────────
   SELECT2 OVERRIDES
────────────────────────────────────────── */
.select2-container--default .select2-selection--single {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  height: 48px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 48px !important;
  padding-inline: 14px;
  font-family: inherit;
  color: var(--text-dark);
  font-size: .97rem;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 12px !important;
  inset-inline-end: 10px;
}
.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,180,216,.15);
}
.select2-dropdown {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  font-family: inherit;
}
.select2-results__option--highlighted { background: var(--primary) !important; }

/* ──────────────────────────────────────────
   INTL-TEL-INPUT OVERRIDES
────────────────────────────────────────── */
.iti { width: 100%; }
.iti__tel-input { width: 100%; }
.iti--separate-dial-code .iti__selected-flag {
  background: var(--surface-2);
  border-inline-end: 1.5px solid var(--border);
  border-radius: var(--radius) 0 0 var(--radius);
  padding-inline: 12px;
}

/* ──────────────────────────────────────────
   RESPONSIVE
────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .hero-section { padding: 72px 0 60px; min-height: auto; }
  .hero-water-orb { display: none; }
  .login-left-panel { display: none !important; }
  .login-right-panel { min-height: 100vh; }
  .app-section { padding: 40px 28px; border-radius: var(--radius-lg); }
  .section-pad { padding: 60px 0; }
}

@media (max-width: 767.98px) {
  .section-pad { padding: 48px 0; }
  .section-header { margin-bottom: 36px; }
  .cart-item-card { flex-wrap: wrap; }
  .hero-cta-group { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 8px; }
  .hero-stat-chip { padding: 10px 14px; }
  .cart-summary-card { position: static; margin-top: 24px; }
}

@media (max-width: 575.98px) {
  .inner-form { padding: 0 4px; }
  .otp-inputs { gap: 7px; }
  .product-img-wrap { min-height: 160px; }
  .product-img-wrap img { width: 100px; height: 130px; }
}

/* ──────────────────────────────────────────
   HOMEPAGE SPECIFIC
────────────────────────────────────────── */

/* Hero Visual */
.hero-visual-container {
  position: relative;
  width: 440px;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.water-orb {
  width: 320px;
  height: 320px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(0,180,216,.3));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: rgba(255,255,255,.9);
  animation: floatOrb 6s ease-in-out infinite;
  box-shadow: 0 0 80px rgba(0,180,216,.3);
}

.hero-bubble {
  position: absolute;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  animation: floatOrb 8s ease-in-out infinite;
}
.hb1 { width:60px; height:60px; top:20px; right:60px; animation-delay:0s; }
.hb2 { width:40px; height:40px; bottom:60px; right:20px; animation-delay:1.5s; }
.hb3 { width:80px; height:80px; bottom:20px; left:60px; animation-delay:3s; }
.hb4 { width:30px; height:30px; top:80px; left:30px; animation-delay:2s; }
.hb5 { width:50px; height:50px; top:50%; right:10px; animation-delay:4s; }

.hero-float-card {
  position: absolute;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
  animation: floatOrb 6s ease-in-out infinite;
}
.hero-float-card span { display: flex; flex-direction: column; }
.hero-float-card small { font-size: .7rem; font-weight: 500; color: var(--text-muted); }
.hfc-1 { top: 20px; left: 0; animation-delay: 1s; }
.hfc-2 { top: 50%; right: -20px; transform: translateY(-50%); animation-delay: 2.5s; }
.hfc-3 { bottom: 20px; left: 0; animation-delay: 1.8s; }

/* Hero Stats Bar */
.hero-stats-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 6px;
  justify-content: center;
}
.hero-stat {
  flex: 1;
  min-width: 100px;
  text-align: center;
  padding: 16px 12px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.hero-stat:hover { background: rgba(255,255,255,.1); }
.hero-stat-value { display: block; font-size: 1.6rem; font-weight: 900; color: #fff; line-height: 1; }
.hero-stat-label { display: block; font-size: .72rem; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .06em; margin-top: 5px; }

/* Feature icon card (strip) */
.feature-icon-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  height: 100%;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}
.feature-icon-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
  transition: var(--transition);
}
.feature-icon-card:hover .icon-circle { transform: scale(1.1) rotate(-4deg); }
.feature-icon-card h6 { font-size: .93rem; color: var(--text-dark); margin-bottom: 6px; }
.feature-icon-card p  { font-size: .82rem; color: var(--text-muted); line-height: 1.55; }

/* Product filter bar */
.product-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  box-shadow: var(--shadow-xs);
}
.filter-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 200px;
}
.filter-search-input {
  border: 0;
  outline: none;
  font-family: inherit;
  font-size: .95rem;
  color: var(--text-dark);
  width: 100%;
  background: transparent;
}
.filter-search-input::placeholder { color: var(--text-light); }
.filter-select {
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-family: inherit;
  font-size: .85rem;
  color: var(--text-mid);
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}
.filter-select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,180,216,.1); }
.filter-reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fee2e2;
  color: #991b1b;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.filter-reset-btn:hover { background: #fecaca; }

/* Location bar */
.location-delivery-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: var(--radius-lg);
  padding: 13px 20px;
  margin-bottom: 20px;
  font-size: .9rem;
  font-weight: 600;
  color: #15803d;
}
.location-delivery-bar.no-location {
  background: var(--accent-light);
  border-color: var(--primary-light);
  color: var(--primary-dark);
}

/* Detect location button */
.detect-location-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--accent-light);
  border: 1.5px dashed var(--accent);
  border-radius: var(--radius);
  padding: 14px 20px;
  font-family: inherit;
  font-size: .93rem;
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 20px;
}
.detect-location-btn:hover { background: var(--primary-light); border-color: var(--primary); }

/* Product card (homepage/products page) */
.product-card .card-img-wrap {
  position: relative;
  background: var(--grad-light);
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  overflow: hidden;
}
.product-card .card-img-wrap img {
  width: 140px;
  height: 150px;
  object-fit: contain;
  transition: transform var(--dur-slow) var(--ease);
  position: relative;
  z-index: 1;
}
.product-card:hover .card-img-wrap img { transform: scale(1.08) translateY(-4px); }
.product-card .card-body { padding: 18px 20px 20px; }
.product-card .product-name { font-size: .95rem; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; line-height: 1.4; }
.product-card .product-price { font-size: 1.2rem; font-weight: 900; color: var(--primary); }
.discount-badge {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  background: var(--danger);
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: .06em;
  z-index: 2;
}

/* How it works step card */
.step-card-new {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 24px 28px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.step-card-new:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.step-number-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: var(--grad-card);
  color: #fff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0,119,182,.3);
}

/* Quality stats */
.quality-stat-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}
.quality-stat-box:hover { box-shadow: var(--shadow); border-color: rgba(0,119,182,.2); }
.quality-stat-box .val { font-size: .95rem; font-weight: 800; color: var(--text-dark); }
.quality-stat-box .lbl { font-size: .75rem; color: var(--text-muted); }

/* App badge */
.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  padding: 12px 20px;
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
  font-size: 1.6rem;
}
.app-badge:hover { background: rgba(255,255,255,.2); color: #fff; transform: translateY(-2px); }
.app-badge .badge-text { display: flex; flex-direction: column; line-height: 1.3; }
.app-badge .badge-text small { font-size: .65rem; opacity: .7; }
.app-badge .badge-text strong { font-size: .9rem; font-weight: 800; }

/* Float animation for app image */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

/* Category card hover */
.category-card:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(14,165,233,.15) !important; }
.category-card:hover > div:first-child { transform: scale(1.1) rotate(-5deg); }

/* ──────────────────────────────────────────
   CATEGORY CHIPS (products page)
────────────────────────────────────────── */
.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  padding: 7px 18px;
  font-family: inherit;
  font-size: .84rem;
  font-weight: 700;
  color: var(--text-mid);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: var(--shadow-xs);
}
.cat-chip:hover { border-color: var(--accent); color: var(--primary); background: var(--accent-light); }
.cat-chip.active {
  background: var(--grad-card);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,119,182,.25);
}

/* ──────────────────────────────────────────
   LEGACY CLASS ALIASES (for old views)
────────────────────────────────────────── */
/* old --bg-light => new --surface-2 */
.headerbg     { background: var(--grad-hero); padding: 60px 0 40px; }
.headerbg-inner { padding: 48px 0 36px; }
.inner-heading {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: #fff;
  text-align: center;
  margin-top: 16px;
}
.order-details-bg { background: var(--surface-2); padding: 40px 0 80px; min-height: 60vh; }

/* Checkout form elements */
.chooselocation {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.add-address {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
}
.addressformbg {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.addressform { padding: 8px; }
.select-address { margin-bottom: 20px; }
.nextbtn { margin-top: 12px; }
.save-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-card);
  color: #fff;
  border: 0;
  border-radius: var(--radius-full);
  padding: 12px 28px;
  font-family: inherit;
  font-size: .93rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(0,119,182,.25);
}
.save-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,119,182,.35); }
.full-width-btn { width: 100%; justify-content: center; }
.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-card);
  color: #fff;
  border: 0;
  border-radius: var(--radius-full);
  padding: 11px 24px;
  font-family: inherit;
  font-size: .93rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.submit-btn:hover { transform: translateY(-2px); }
.required { color: var(--danger); }

/* Profile/account page */
.profile-header {
  background: var(--grad-hero);
  padding: 48px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.profile-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  margin-top: -52px;
  position: relative;
  z-index: 2;
  padding: 32px;
}
.profile-avatar {
  width: 90px; height: 90px;
  border-radius: var(--radius-full);
  background: var(--grad-card);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 16px;
  border: 4px solid #fff;
  box-shadow: var(--shadow);
}

/* Your orders page */
.order-img { width: 56px; height: 56px; object-fit: contain; border-radius: var(--radius-sm); }
.order-header {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  padding: 14px 20px;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 800;
  color: var(--text-muted);
}

/* Wallet page */
.transaction-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.transaction-item:last-child { border-bottom: 0; }
.transaction-item:hover { background: var(--surface-2); }
.transaction-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.transaction-icon.credit { background: #d1fae5; color: #059669; }
.transaction-icon.debit  { background: #fee2e2; color: #dc2626; }
.transaction-amount { font-weight: 900; font-size: 1.05rem; }
.transaction-amount.credit { color: #059669; }
.transaction-amount.debit  { color: #dc2626; }

/* ──────────────────────────────────────────
   HERO SECTION TEXT (index page)
────────────────────────────────────────── */
.hero-section h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.hero-section > .container > .row > .col-lg-6 > p,
.hero-content > p {
  color: rgba(255,255,255,.78);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 24px;
}

/* Loc dot indicator */
.loc-dot { display: flex; align-items: center; color: rgba(255,255,255,.7); }
.loc-dot.confirmed { color: #86efac; }
.loc-change {
  font-size: .75rem;
  opacity: .75;
  margin-inline-start: auto;
  padding-inline-start: 10px;
  white-space: nowrap;
}

/* Product cards wrapper gap */
#productsGrid .product-card {
  height: 100%;
}

/* RTL-safe section-divider alignment */
.section-divider:not(.mx-auto) { margin-inline-start: 0; }

/* ──────────────────────────────────────────
   FORM CONTROL ALIAS
────────────────────────────────────────── */
/* contact.blade.php and profile use form-control-miyahok */
.form-control-miyahok {
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: inherit;
  font-size: .97rem;
  color: var(--text-dark);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  outline: none;
  appearance: none;
  display: block;
}
.form-control-miyahok:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,180,216,.15);
}
.form-control-miyahok::placeholder { color: var(--text-light); }
.form-control-miyahok:disabled,
.form-control-miyahok[readonly] {
  background: var(--surface-2);
  opacity: .7;
  cursor: not-allowed;
}
/* textarea variant */
textarea.form-control-miyahok { min-height: 110px; resize: vertical; }

/* input-icon-wrap works with form-control-miyahok too */
.input-icon-wrap .form-control-miyahok { padding-inline-start: 44px; }

/* contact info card subtle divider */
.border-subtle { border-bottom: 1px solid var(--border); }
/* link reset: unstyled anchor */
.link-reset { color: var(--text-dark); text-decoration: none; }
.link-reset:hover { color: var(--primary); }

/* ──────────────────────────────────────────
   DASHBOARD LAYOUT (profile / orders / wallet / addresses)
────────────────────────────────────────── */
.dashboard-layout {
  display: flex;
  align-items: flex-start;
  min-height: calc(100vh - 68px);
  background: var(--surface-2);
}

.sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--surface);
  border-inline-end: 1px solid var(--border);
  padding: 32px 20px;
  min-height: calc(100vh - 68px);
  position: sticky;
  top: 68px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sidebar-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--grad-card);
  color: #fff;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  box-shadow: 0 4px 16px rgba(0,119,182,.25);
}

.sidebar-name {
  text-align: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
  line-height: 1.3;
}

.sidebar-phone {
  text-align: center;
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-weight: 500;
  direction: ltr;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius);
  color: var(--text-mid);
  font-size: .93rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.sidebar-nav a i {
  width: 20px;
  text-align: center;
  font-size: 1rem;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: color var(--dur) var(--ease);
}

.sidebar-nav a:hover {
  background: var(--accent-light);
  color: var(--primary);
}
.sidebar-nav a:hover i { color: var(--primary); }

.sidebar-nav a.active {
  background: var(--accent-light);
  color: var(--primary);
  font-weight: 700;
}
.sidebar-nav a.active i { color: var(--primary); }

.dashboard-content {
  flex: 1;
  padding: 36px 40px;
  min-width: 0;
}

@media (max-width: 991.98px) {
  .dashboard-layout { flex-direction: column; }
  .sidebar {
    width: 100%;
    min-height: auto;
    position: static;
    padding: 24px 20px 16px;
    border-inline-end: none;
    border-bottom: 1px solid var(--border);
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
  }
  .sidebar-avatar { width: 48px; height: 48px; font-size: 1.2rem; margin: 0; }
  .sidebar-name   { text-align: left; margin: 0; }
  .sidebar-phone  { text-align: left; margin: 0; }
  .sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
    width: 100%;
  }
  .sidebar-nav a { padding: 7px 12px; font-size: .82rem; gap: 6px; }
  .dashboard-content { padding: 24px 20px; }
}

@media (max-width: 575.98px) {
  .dashboard-content { padding: 20px 16px; }
  .sidebar { padding: 16px; }
}

/* ──────────────────────────────────────────
   ORDERS TABLE & STATUS BADGES
────────────────────────────────────────── */
.orders-table {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.orders-table table {
  width: 100%;
  border-collapse: collapse;
}

.orders-table thead th {
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: .77rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 14px 20px;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}

.orders-table tbody td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: .93rem;
  color: var(--text-mid);
  vertical-align: middle;
}

.orders-table tbody tr:last-child td { border-bottom: 0; }
.orders-table tbody tr:hover { background: var(--surface-2); }

/* Status badges */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
}
.badge-pending    { background: #fef3c7; color: #92400e; }
.badge-processing { background: #dbeafe; color: #1e40af; }
.badge-delivered  { background: #d1fae5; color: #065f46; }
.badge-cancelled  { background: #fee2e2; color: #991b1b; }

/* ──────────────────────────────────────────
   WALLET PAGE
────────────────────────────────────────── */
/* wallet-balance-card already defined above */

.transaction-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.transaction-row:last-child { border-bottom: 0; }

.transaction-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.transaction-icon.t-credit,
.transaction-icon.credit { background: #d1fae5; color: #059669; }
.transaction-icon.t-debit,
.transaction-icon.debit  { background: #fee2e2; color: #dc2626; }

.transaction-amount { font-weight: 900; font-size: 1rem; white-space: nowrap; }
.transaction-amount.credit { color: #059669; }
.transaction-amount.debit  { color: #dc2626; }

/* ──────────────────────────────────────────
   SAVED ADDRESSES PAGE
────────────────────────────────────────── */
/* address-card is already defined; add default variant */
.address-card.default-addr {
  border-color: var(--primary);
  background: var(--accent-light);
}

/* add-address-card: dashed plus card */
.add-address-card {
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  height: 100%;
}
.add-address-card:hover {
  border-color: var(--primary);
  background: var(--accent-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* ──────────────────────────────────────────
   CONTACT PAGE HELPERS
────────────────────────────────────────── */
/* .border-subtle, .link-reset already defined above — added again for safety */
.border-subtle + .border-subtle { margin-top: 12px; }
