/* ============================================================
   MARJANE — Styles v5 (Pro)
   - No search bar in drawer (removed)
   - Real Android robot icon (.android-icon)
   - Auth modal (Login / Signup) with tabs
   - Account gate when logged-out
   - Polished spacing, animations, accessibility
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:        #004899;
  --blue-dark:   #003370;
  --blue-light:  #e8f0fb;
  --blue-shadow: rgba(0,72,153,.16);
  --pink:        #F24391;
  --pink-light:  #fde8f2;
  --red:         #d32f2f;
  --green:       #2e7d32;
  --green-light: #e8f5e9;
  --gray:        #f5f6f8;
  --gray2:       #e0e4ec;
  --text:        #1a1a2e;
  --text-light:  #5f6680;
  --white:       #ffffff;
  --radius:      10px;
  --shadow:      0 2px 12px rgba(0,72,153,.10);
  --shadow-md:   0 6px 28px rgba(0,72,153,.18);
  --shadow-lg:   0 12px 40px rgba(0,72,153,.25);
  --header-h:    70px;
  --ease:        cubic-bezier(.4,0,.2,1);
  --ease-bounce: cubic-bezier(.34,1.5,.64,1);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: #f4f6fb;
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; object-fit: cover; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
svg { display: block; flex-shrink: 0; }

/* Selection color */
::selection { background: var(--blue); color: white; }

/* ── Utilities ─────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-gap { margin-bottom: 40px; }
.hidden { display: none !important; }
.link { color: var(--blue); font-weight: 600; }
.link:hover { text-decoration: underline; }
.link.strong { font-weight: 800; }

/* ══════════════════ ANDROID ICON (REAL ROBOT) ═══════════════ */
.android-icon {
  width: 22px;
  height: 22px;
  color: #3DDC84;
  flex-shrink: 0;
}
.btn-android .android-icon,
.app-banner-btn .android-icon,
.footer-app-btn .android-icon {
  width: 24px;
  height: 24px;
}

/* ══════════════════ POPUP 300 DH ═════════════════════════════ */
.app-popup-overlay {
  position: fixed; inset: 0;
  background: rgba(10,15,30,.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: fadeIn .25s var(--ease);
}
.app-popup-overlay.hidden { display: none; }
@keyframes fadeIn { from { opacity:0 } to { opacity:1 } }

.app-popup {
  background: var(--white);
  border-radius: 20px;
  max-width: 440px; width: 100%;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
  animation: slideUp .4s var(--ease-bounce);
  position: relative;
}
@keyframes slideUp { from { opacity:0; transform:translateY(50px) scale(.95) } to { opacity:1; transform:translateY(0) scale(1) } }

.popup-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.18); color: white;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
  z-index: 2;
}
.popup-close:hover { background: rgba(255,255,255,.32); transform: rotate(90deg); }
.popup-header {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 36px 28px 26px;
  text-align: center; color: white; position: relative;
}
.popup-coupon {
  background: var(--pink);
  font-size: 2.8rem; font-weight: 900;
  padding: 12px 28px; border-radius: 14px;
  display: inline-block; margin-bottom: 16px;
  box-shadow: 0 6px 24px rgba(242,67,145,.55);
  line-height: 1.1;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
.popup-coupon small { font-size: .65rem; font-weight: 700; display: block; opacity: .95; letter-spacing: 1.2px; text-transform: uppercase; margin-top: 4px; }
.popup-header h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 6px; letter-spacing: -.3px; }
.popup-header p  { font-size: .88rem; opacity: .88; }

.popup-body { padding: 26px 28px 30px; }
.popup-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 24px; }
.popup-step {
  background: var(--blue-light); border-radius: 10px;
  padding: 16px 8px; text-align: center;
  font-size: .75rem; font-weight: 700; color: var(--blue);
}
.popup-step svg { margin: 0 auto 8px; width: 28px; height: 28px; }

/* ══════════════════ ANDROID BUTTON (UNIFIED) ════════════════ */
.btn-android {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  background: white; color: var(--blue-dark); border-radius: 12px;
  padding: 14px 22px; font-size: 1rem; font-weight: 800;
  border: 2px solid #e0e8f5;
  box-shadow: 0 4px 18px rgba(0,72,153,.15);
  transition: background .2s, transform .15s, box-shadow .15s, border-color .2s;
  cursor: pointer; text-decoration: none; line-height: 1;
}
.btn-android:hover { background: #f0f6ff; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,72,153,.25); border-color: #c9d8ef; }
.btn-android .android-icon { color: #3DDC84; }

.popup-note { text-align: center; font-size: .73rem; color: var(--text-light); margin-top: 14px; line-height: 1.5; }

/* ══════════════════ AUTH FULL PAGE ══════════════════════════ */
.auth-overlay {
  position: fixed; inset: 0;
  background: #f4f6fb;
  z-index: 9500;
  overflow-y: auto;
  display: flex; flex-direction: column;
  animation: fadeIn .2s var(--ease);
}
.auth-overlay.hidden { display: none !important; }

.auth-page-header {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 0 24px;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
  box-shadow: 0 2px 12px var(--blue-shadow);
  position: sticky; top: 0; z-index: 2;
}
.auth-logo-link { display: flex; align-items: center; }
.auth-page-header .nav-logo { filter: brightness(0) invert(1); height: 40px; }
.auth-back-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.15); color: white;
  border: 1.5px solid rgba(255,255,255,.3);
  padding: 9px 18px; border-radius: 8px;
  font-size: .88rem; font-weight: 700;
  transition: background .2s;
  cursor: pointer;
}
.auth-back-btn:hover { background: rgba(255,255,255,.28); }
.auth-back-btn svg { flex-shrink: 0; }

.auth-page-body {
  flex: 1; display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 20px 60px;
}
.auth-modal {
  background: white; border-radius: 18px;
  max-width: 480px; width: 100%;
  box-shadow: var(--shadow-lg);
  animation: slideUp .35s var(--ease-bounce);
  position: relative;
}

.auth-tabs {
  display: flex; border-bottom: 1px solid var(--gray2);
  position: sticky; top: 0; background: white; z-index: 1;
}
.auth-tab {
  flex: 1; padding: 18px; font-size: .95rem; font-weight: 700;
  color: var(--text-light);
  position: relative;
  transition: color .2s;
}
.auth-tab:hover { color: var(--blue); }
.auth-tab.active { color: var(--blue); }
.auth-tab.active::after {
  content: ''; position: absolute;
  left: 50%; bottom: -1px; transform: translateX(-50%);
  width: 60px; height: 3px;
  background: var(--blue); border-radius: 2px;
}

.auth-form { padding: 28px 28px 32px; }
.auth-header { margin-bottom: 24px; }
.auth-header h2 { font-size: 1.35rem; font-weight: 800; color: var(--text); margin-bottom: 6px; letter-spacing: -.3px; }
.auth-header p { font-size: .85rem; color: var(--text-light); line-height: 1.55; }

.auth-row {
  display: flex; align-items: center; justify-content: space-between;
  margin: 4px 0 18px; gap: 12px; flex-wrap: wrap;
}
.checkbox {
  display: inline-flex; align-items: flex-start; gap: 8px;
  font-size: .82rem; color: var(--text-light); cursor: pointer; user-select: none;
}
.checkbox input { width: 16px; height: 16px; accent-color: var(--blue); margin-top: 2px; flex-shrink: 0; }
.checkbox.block { display: flex; margin: 8px 0 20px; }

/* social row / divider kept for legacy (not rendered) */
.auth-divider { display: none; }
.social-row   { display: none; }
.social-btn   { display: none; }

.auth-foot { text-align: center; font-size: .85rem; color: var(--text-light); margin-top: 18px; }

/* Input wrapper with icon */
.input-wrap { position: relative; }
.input-wrap > svg {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--text-light); pointer-events: none;
}
.input-wrap .form-control { padding-left: 40px; }

.btn-block { width: 100%; justify-content: center; padding: 14px 20px; }
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: white; color: var(--blue); border: 2px solid var(--blue);
  border-radius: 10px; padding: 12px 22px; font-size: .95rem; font-weight: 700;
  transition: background .2s, color .2s;
}
.btn-secondary:hover { background: var(--blue); color: white; }

/* ══════════════════ HEADER SEARCH ══════════════════════════ */
.header-search {
  flex: 1; position: relative; max-width: 480px;
  /* hidden on mobile — search via drawer instead */
  display: none;
}
@media (min-width: 768px) { .header-search { display: block; } }
.search-input-wrap {
  position: relative; display: flex; align-items: center;
}
.search-icon {
  position: absolute; left: 12px; color: var(--text-light); pointer-events: none; flex-shrink: 0;
}
.search-input {
  width: 100%; height: 42px;
  padding: 0 36px 0 38px;
  border: 1.5px solid var(--gray2); border-radius: 10px;
  font-size: .9rem; color: var(--text); background: var(--gray);
  outline: none; transition: border-color .2s, background .2s, box-shadow .2s;
  font-family: inherit;
}
.search-input:focus {
  background: white; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,72,153,.1);
}
.search-input::placeholder { color: var(--text-light); }
.search-clear {
  position: absolute; right: 10px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--gray2); color: var(--text-light);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s; flex-shrink: 0;
}
.search-clear:hover { background: #d0d4df; color: var(--text); }
.search-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: white; border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,72,153,.18);
  border: 1px solid var(--gray2);
  z-index: 700; overflow: hidden;
  max-height: 420px; overflow-y: auto;
}
.search-result-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; cursor: pointer;
  transition: background .15s; border-bottom: 1px solid var(--gray);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--blue-light); }
.sr-img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.sr-info { flex: 1; min-width: 0; }
.sr-name { font-size: .88rem; font-weight: 700; color: var(--text); margin-bottom: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-meta { font-size: .75rem; color: var(--text-light); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.sr-brand { font-weight: 600; }
.sr-price { color: var(--blue); font-weight: 800; }
.sr-badge { background: var(--red); color: white; font-size: .65rem; font-weight: 800; padding: 1px 6px; border-radius: 4px; }
.search-no-results { padding: 20px 16px; font-size: .88rem; color: var(--text-light); text-align: center; }
@media (max-width: 600px) {
  .header-search { max-width: none; }
  .search-input { font-size: .82rem; }
  .search-results { left: -12px; right: -12px; }
}

/* ══════════════════ SCROLL NAV BUTTONS ══════════════════════ */
.scroll-row-wrap {
  display: flex; align-items: center; gap: 8px;
}
.scroll-row-wrap .products-scroll { flex: 1; min-width: 0; }
.scroll-btn {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: white; border: 2px solid var(--gray2);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); box-shadow: var(--shadow);
  transition: background .2s, border-color .2s, color .2s, transform .15s;
  cursor: pointer;
}
.scroll-btn:hover {
  background: var(--blue); border-color: var(--blue); color: white;
  transform: scale(1.08);
}
@media (max-width: 480px) {
  .scroll-btn { width: 34px; height: 34px; }
  .scroll-btn svg { width: 14px; height: 14px; }
}

/* ══════════════════ HEADER MAIN ══════════════════════════════ */
.header {
  background: #fff;
  box-shadow: 0 1px 0 #e5e9f0, 0 2px 8px rgba(0,72,153,.06);
  position: sticky; top: 0; z-index: 600;
}
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 20px;
  height: var(--header-h);
  display: flex; align-items: center; gap: 10px;
}

/* ── Hamburger ── */
.hamburger {
  display: flex; flex-direction: column; gap: 5px;
  padding: 9px; border-radius: 8px;
  color: var(--blue); transition: background .2s;
  flex-shrink: 0;
}
.hamburger:hover { background: var(--blue-light); }
.hamburger span {
  display: block; width: 20px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ── Logo ── */
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 40px; width: auto; max-width: 150px; object-fit: contain; }
@media (max-width: 480px) { .logo-img { height: 34px; max-width: 110px; } }

/* ── Spacer (mobile: pushes actions right; desktop: hidden, search takes space) ── */
.hdr-spacer { flex: 1; }
@media (min-width: 768px) { .hdr-spacer { display: none; } }

/* ── Header actions container ── */
.header-actions { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }

/* ── Generic icon button (mobile search toggle) ── */
.hdr-icon-btn {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); transition: background .2s; flex-shrink: 0;
}
.hdr-icon-btn:hover { background: var(--blue-light); }
.hdr-icon-btn svg { width: 20px; height: 20px; }

/* ── Search toggle: mobile only ── */
.search-toggle-btn { display: flex; }
@media (min-width: 768px) { .search-toggle-btn { display: none; } }

/* ── hdr-btn (Compte + Panier) ── */
.hdr-btn {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 10px;
  color: var(--blue); font-size: .84rem; font-weight: 700;
  position: relative; transition: background .2s, box-shadow .2s;
  white-space: nowrap; flex-shrink: 0;
}
.hdr-btn:hover { background: var(--blue-light); }
.hdr-btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Compte: desktop only */
.hdr-compte { display: none; }
@media (min-width: 768px) { .hdr-compte { display: flex; } }

/* Panier label: desktop only */
.hdr-panier .hdr-btn-label { display: none; }
@media (min-width: 768px) { .hdr-panier .hdr-btn-label { display: inline; } }

/* On mobile, panier is icon-only */
@media (max-width: 767px) {
  .hdr-panier { padding: 8px 10px; }
}

/* Cart badge */
.cart-badge {
  position: absolute; top: 4px; right: 4px;
  background: var(--pink); color: #fff;
  font-size: .58rem; font-weight: 800;
  min-width: 17px; height: 17px; border-radius: 9px;
  display: none; align-items: center; justify-content: center; padding: 0 3px;
}
.cart-badge.show { display: flex; }

/* ── Mobile search drawer ── */
.mobile-search-drawer {
  border-top: 1px solid #e5e9f0;
  padding: 10px 16px 12px;
  background: #fff;
  position: relative;
}
.mobile-search-drawer.hidden { display: none; }
@media (min-width: 768px) { .mobile-search-drawer { display: none !important; } }

/* ══════════════════ NAV DRAWER (ALL screens) ════════════════ */
.mobile-nav {
  position: fixed; top: 0; left: -100%; bottom: 0; width: 300px;
  background: white; z-index: 700;
  box-shadow: 4px 0 30px rgba(0,0,0,.18);
  transition: left .32s var(--ease);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.mobile-nav.open { left: 0; }
.mobile-nav-header {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 22px 20px; display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.nav-brand { display: flex; align-items: center; }
.nav-logo {
  height: 40px; width: auto; max-width: 150px; object-fit: contain;
  filter: brightness(0) invert(1);
}
.mobile-nav-close { color: white; padding: 4px 8px; display: flex; }
.mobile-nav-links { padding: 10px 0; flex: 1; }
.mobile-nav-link {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 24px; font-size: .92rem; font-weight: 600;
  color: var(--text); transition: background .2s, color .2s;
  text-decoration: none; border-left: 3px solid transparent;
}
.mobile-nav-link svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; }
.mobile-nav-link:hover, .mobile-nav-link.active {
  background: var(--blue-light); color: var(--blue); border-left-color: var(--blue);
}
.mobile-nav-link.market svg { color: var(--green); }
.mobile-nav-link.market:hover, .mobile-nav-link.market.active {
  color: var(--green); background: var(--green-light); border-left-color: var(--green);
}

.nav-badge-small {
  background: var(--red); color: white;
  font-size: .58rem; font-weight: 800; padding: 2px 6px;
  border-radius: 4px; text-transform: uppercase; margin-left: auto;
}

.nav-divider { height: 1px; background: var(--gray2); margin: 8px 16px; }

.nav-android-block {
  padding: 16px 20px 20px;
  background: linear-gradient(180deg, transparent 0%, var(--blue-light) 100%);
  margin-top: 8px;
}
.nav-android-text { font-size: .82rem; color: var(--text-light); margin-bottom: 10px; line-height: 1.4; }
.nav-android-text strong { color: var(--pink); font-weight: 800; }
.nav-android-block .btn-android { width: 100%; padding: 12px 16px; font-size: .9rem; }

.nav-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  z-index: 699; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.nav-overlay.open { opacity: 1; pointer-events: all; }

/* ══════════════════ PAGES (SPA) ═════════════════════════════ */
.page { display: none; }
.page.active { display: block; animation: pageIn .4s var(--ease); }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ══════════════════ PAGE HERO (inner) ══════════════════════ */
.page-hero {
  padding: 56px 24px; text-align: center;
  color: white; margin-bottom: 36px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(255,255,255,.08) 0%, transparent 50%);
  pointer-events: none;
}
.page-hero h1 { font-size: 2.2rem; font-weight: 900; margin-bottom: 10px; position: relative; letter-spacing: -.5px; }
.page-hero p  { opacity: .9; font-size: 1rem; position: relative; max-width: 600px; margin: 0 auto; }
@media (max-width: 600px) { .page-hero { padding: 40px 24px; } .page-hero h1 { font-size: 1.6rem; } }

/* ══════════════════ HERO CAROUSEL ══════════════════════════ */
.hero-wrap { position: relative; overflow: hidden; background: var(--blue); }
.hero-track { display: flex; transition: transform .6s var(--ease); will-change: transform; }
.hero-slide {
  flex: 0 0 100%; min-height: 360px;
  display: flex; align-items: center;
  padding: 40px 60px;
  position: relative; overflow: hidden;
}
.hero-slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(.4);
  transform: scale(1.05);
  transition: transform 8s linear;
}
.hero-slide-content { position: relative; z-index: 2; color: white; max-width: 560px; }
.hero-eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; opacity: .85; margin-bottom: 12px; }
.hero-title { font-size: 2.6rem; font-weight: 900; line-height: 1.1; margin-bottom: 14px; letter-spacing: -.8px; }
.hero-sub   { font-size: 1.05rem; opacity: .9; margin-bottom: 24px; max-width: 420px; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; color: var(--blue);
  padding: 13px 28px; border-radius: 9px; font-weight: 800; font-size: .95rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.22);
  transition: transform .15s, box-shadow .15s;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.32); }
.hero-cta.pink  { color: var(--pink); }
.hero-cta.green { color: var(--green); }

.hero-controls {
  position: absolute; bottom: 22px; right: 24px;
  display: flex; gap: 10px; align-items: center; z-index: 10;
}
.hero-dots { display: flex; gap: 6px; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: background .3s, transform .3s, width .3s; }
.hero-dot.active { background: white; transform: scale(1.3); width: 24px; border-radius: 4px; }
.hero-arrow-btn {
  background: rgba(255,255,255,.2); color: white;
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .15s;
}
.hero-arrow-btn:hover { background: rgba(255,255,255,.35); transform: scale(1.05); }

@media (max-width: 768px) {
  .hero-slide { padding: 32px 24px; min-height: 260px; }
  .hero-title  { font-size: 1.7rem; }
  .hero-sub    { font-size: .9rem; }
  .hero-controls { bottom: 16px; right: 16px; }
}

/* ══════════════════ APP BANNER ══════════════════════════════ */
.app-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: 16px; padding: 32px 38px;
  display: flex; align-items: center; gap: 24px;
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.app-banner::after {
  content: ''; position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255,255,255,.05); pointer-events: none;
}
.app-banner-text { flex: 1; color: white; min-width: 0; }
.app-banner-eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 6px; }
.app-banner-title { font-size: 1.7rem; font-weight: 900; margin-bottom: 6px; line-height: 1.2; }
.app-banner-desc  { font-size: .9rem; opacity: .85; }
.app-banner-badge {
  flex-shrink: 0; background: var(--pink); color: white;
  font-size: 2.1rem; font-weight: 900; padding: 16px 24px;
  border-radius: 14px; text-align: center; line-height: 1.1;
  box-shadow: 0 6px 24px rgba(242,67,145,.55);
}
.app-banner-badge small { font-size: .65rem; font-weight: 700; display: block; text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.app-banner-btn {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px;
  background: white; color: var(--blue-dark);
  border-radius: 11px; padding: 15px 24px; font-size: .95rem; font-weight: 800;
  box-shadow: 0 4px 16px rgba(0,0,0,.22); transition: transform .15s, box-shadow .15s;
  border: 2px solid #e0e8f5; cursor: pointer; text-decoration: none;
}
.app-banner-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.32); }
@media (max-width: 900px) {
  .app-banner { flex-direction: column; padding: 26px; text-align: center; }
  .app-banner-btn { width: 100%; justify-content: center; }
  .app-banner-badge { width: 100%; }
}

/* ══════════════════ SECTION HEADER ══════════════════════════ */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; gap: 12px; }
.section-title {
  font-size: 1.3rem; font-weight: 800; color: var(--text);
  display: flex; align-items: center; gap: 10px;
  letter-spacing: -.3px;
}
.section-title::before {
  content: ''; display: block; width: 5px; height: 24px;
  background: var(--blue); border-radius: 3px;
}
.section-title.pink::before  { background: var(--pink); }
.section-title.green::before { background: var(--green); }
.see-all {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--blue); font-size: .85rem; font-weight: 700;
  padding: 8px 16px; border-radius: 8px; border: 1.5px solid var(--blue);
  transition: background .2s, color .2s, transform .15s;
}
.see-all:hover { background: var(--blue); color: white; transform: translateX(2px); }

/* ══════════════════ PRODUCT CARD ════════════════════════════ */
.products-scroll {
  display: flex; gap: 14px; overflow-x: auto; padding-bottom: 10px;
  scrollbar-width: thin; scrollbar-color: var(--blue-light) transparent;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.products-scroll::-webkit-scrollbar { height: 6px; }
.products-scroll::-webkit-scrollbar-thumb { background: var(--blue-light); border-radius: 3px; }

.products-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px;
}
@media (max-width: 480px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }

.product-card {
  background: white; border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
  flex-shrink: 0; width: 200px; display: flex; flex-direction: column;
  cursor: pointer; scroll-snap-align: start;
}
.products-grid .product-card { width: auto; flex-shrink: unset; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.product-img-wrap {
  position: relative; height: 180px; background: var(--gray); overflow: hidden;
}
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-img-wrap img { transform: scale(1.08); }
.product-discount {
  position: absolute; top: 8px; left: 8px;
  background: var(--red); color: white;
  font-size: .68rem; font-weight: 800; padding: 3px 8px; border-radius: 5px;
  pointer-events: none;
}
.product-fav {
  position: absolute; top: 8px; right: 8px;
  background: white; border-radius: 50%; width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.12); cursor: pointer;
  transition: background .2s, color .2s, transform .15s; color: #b0b8cc;
}
.product-fav:hover { transform: scale(1.1); }
.product-fav:hover { background: var(--pink-light); color: var(--pink); }
.product-fav.active { background: var(--pink-light); color: var(--pink); }
.product-fav svg { width: 15px; height: 15px; }

.product-body { padding: 12px 12px 14px; flex: 1; display: flex; flex-direction: column; }
.product-brand { font-size: .67rem; font-weight: 700; color: var(--blue); text-transform: uppercase; margin-bottom: 4px; letter-spacing: .5px; }
.product-name  { font-size: .85rem; font-weight: 600; color: var(--text); line-height: 1.35; flex: 1; margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-price { display: flex; align-items: baseline; gap: 7px; margin-bottom: 10px; }
.price-now { font-size: 1.1rem; font-weight: 900; color: var(--blue); }
.price-old { font-size: .78rem; color: var(--text-light); text-decoration: line-through; }
.btn-cart {
  width: 100%; background: var(--blue); color: white;
  border-radius: 8px; padding: 10px 12px; font-size: .83rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: background .2s, transform .15s;
}
.btn-cart:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-cart.added { background: var(--green); }
.btn-cart svg { width: 15px; height: 15px; }

/* ══════════════════ PRODUCT DETAIL PAGE ═════════════════════ */
.product-page-hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 20px 24px;
}
.product-back-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.15); color: white;
  border: 1.5px solid rgba(255,255,255,.3);
  padding: 10px 20px; border-radius: 8px;
  font-size: .88rem; font-weight: 700;
  transition: background .2s;
  cursor: pointer;
}
.product-back-btn:hover { background: rgba(255,255,255,.25); }
.product-back-btn svg { width: 16px; height: 16px; }

.product-page-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 44px; padding-top: 40px; padding-bottom: 40px;
  align-items: start;
}
@media (max-width: 768px) {
  .product-page-layout { grid-template-columns: 1fr; gap: 24px; }
}

.pp-img-col {
  position: relative; border-radius: 16px; overflow: hidden;
  background: var(--gray); box-shadow: var(--shadow-md);
}
.pp-main-img {
  width: 100%; height: 460px; object-fit: cover;
}
@media (max-width: 768px) { .pp-main-img { height: 280px; } }

.pp-discount-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--red); color: white;
  font-size: .9rem; font-weight: 800; padding: 6px 14px; border-radius: 8px;
  box-shadow: 0 3px 10px rgba(211,47,47,.4);
  z-index: 2;
}

.pp-info-col { display: flex; flex-direction: column; }
.pp-brand {
  font-size: .72rem; font-weight: 800; color: var(--blue);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 8px;
}
.pp-name {
  font-size: 1.7rem; font-weight: 900; color: var(--text);
  line-height: 1.3; margin-bottom: 14px; letter-spacing: -.3px;
}
@media (max-width: 480px) { .pp-name { font-size: 1.35rem; } }

.pp-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.pp-stars { display: flex; gap: 3px; }
.pp-stars svg { width: 18px; height: 18px; }
.pp-rating-count { font-size: .82rem; color: var(--text-light); font-weight: 600; }

.pp-price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.pp-price-now { font-size: 2.3rem; font-weight: 900; color: var(--blue); }
.pp-price-old { font-size: 1.1rem; color: var(--text-light); text-decoration: line-through; }
.pp-saving {
  background: #e8f5e9; color: var(--green);
  font-size: .78rem; font-weight: 800; padding: 4px 12px; border-radius: 20px;
}

.pp-divider { height: 1px; background: var(--gray2); margin: 20px 0; }

.pp-desc { font-size: .92rem; color: var(--text-light); line-height: 1.75; margin-bottom: 24px; }

.pp-qty-row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.pp-qty-label { font-size: .86rem; font-weight: 700; color: var(--text); }
.pp-qty-ctrl { display: flex; align-items: center; border: 2px solid var(--gray2); border-radius: 10px; overflow: hidden; }
.pp-qty-btn {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 700; color: var(--blue);
  background: var(--gray); transition: background .15s;
}
.pp-qty-btn:hover { background: var(--blue-light); }
.pp-qty-num {
  width: 54px; height: 44px; display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; font-weight: 800; color: var(--text);
  border-left: 2px solid var(--gray2); border-right: 2px solid var(--gray2);
}

.pp-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.pp-btn-cart {
  width: 100%; background: var(--blue); color: white;
  border-radius: 11px; padding: 16px 20px; font-size: 1.05rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: background .2s, transform .15s;
}
.pp-btn-cart:hover { background: var(--blue-dark); transform: translateY(-1px); }
.pp-btn-cart svg { width: 20px; height: 20px; }
.pp-btn-cart.added { background: var(--green); }

.pp-features { display: flex; gap: 8px; flex-wrap: wrap; }
.pp-feature-tag {
  display: flex; align-items: center; gap: 6px;
  background: var(--blue-light); color: var(--blue);
  font-size: .75rem; font-weight: 700; padding: 6px 12px; border-radius: 20px;
}
.pp-feature-tag svg { width: 13px; height: 13px; }

/* ══════════════════ PROMO BANNERS GRID ══════════════════════ */
.promo-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .promo-banners { grid-template-columns: 1fr; } }
.promo-banner {
  border-radius: 12px; padding: 26px 22px; min-height: 170px;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden; box-shadow: var(--shadow);
  transition: transform .25s;
}
.promo-banner:hover { transform: translateY(-3px); }
.promo-banner-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; filter: brightness(.45);
  transition: transform .5s ease;
}
.promo-banner:hover .promo-banner-bg { transform: scale(1.05); }
.promo-banner-content { position: relative; z-index: 2; }
.promo-banner h3 { font-size: 1.1rem; font-weight: 800; color: white; margin-bottom: 5px; }
.promo-banner p  { font-size: .8rem; color: rgba(255,255,255,.88); margin-bottom: 12px; }
.promo-banner-link {
  display: inline-flex; align-items: center; gap: 5px;
  background: white; padding: 7px 16px; border-radius: 7px;
  font-size: .78rem; font-weight: 700; color: var(--blue);
  transition: transform .15s;
}
.promo-banner-link:hover { transform: translateY(-2px); }

/* ══════════════════ FIDELITE CTA ════════════════════════════ */
.fidelite-cta {
  background: linear-gradient(135deg, var(--pink) 0%, #b81262 100%);
  border-radius: 14px; padding: 38px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  box-shadow: 0 8px 32px rgba(242,67,145,.4);
  position: relative; overflow: hidden;
}
.fidelite-cta::after {
  content: ''; position: absolute; right: -60px; top: -60px;
  width: 240px; height: 240px; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.fidelite-cta-text { color: white; flex: 1; }
.fidelite-cta-text h2 { font-size: 1.6rem; font-weight: 900; margin-bottom: 8px; letter-spacing: -.3px; }
.fidelite-cta-text p { opacity: .92; font-size: .92rem; margin-bottom: 18px; max-width: 540px; }
.btn-fidelite {
  display: inline-flex; align-items: center; gap: 10px;
  background: white; color: var(--pink);
  padding: 13px 26px; border-radius: 10px; font-weight: 800; font-size: .92rem;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 14px rgba(0,0,0,.2); position: relative; z-index: 1;
}
.btn-fidelite:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.3); }
@media (max-width: 600px) { .fidelite-cta { flex-direction: column; align-items: flex-start; padding: 28px 24px; } }

/* ══════════════════ CART SIDEBAR ════════════════════════════ */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  z-index: 800; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-sidebar {
  position: fixed; right: 0; top: 0; bottom: 0; width: 400px;
  background: white; z-index: 801;
  box-shadow: -8px 0 40px rgba(0,72,153,.18);
  display: flex; flex-direction: column;
  transform: translateX(105%);
  transition: transform .35s var(--ease);
}
.cart-sidebar.open { transform: translateX(0); }
@media (max-width: 460px) { .cart-sidebar { width: 100%; } }

.cart-head {
  background: var(--blue); color: white; padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between;
}
.cart-head h3 { font-size: 1.05rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.cart-head h3 svg { width: 20px; height: 20px; }
.cart-close-btn { color: white; display: flex; padding: 4px; }
.cart-close-btn svg { width: 20px; height: 20px; }

.cart-body { flex: 1; overflow-y: auto; padding: 14px; }
.cart-empty { text-align: center; padding: 56px 20px; color: var(--text-light); }
.cart-empty svg { width: 60px; height: 60px; margin: 0 auto 16px; opacity: .3; }
.cart-empty p { font-weight: 700; margin-bottom: 6px; }
.cart-empty small { font-size: .82rem; }

.cart-item { display: flex; gap: 12px; background: var(--gray); border-radius: 10px; padding: 12px; margin-bottom: 10px; align-items: center; }
.cart-item-img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name  { font-size: .83rem; font-weight: 600; margin-bottom: 3px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cart-item-price { font-size: .9rem; font-weight: 800; color: var(--blue); }
.cart-qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.qty-btn { width: 26px; height: 26px; background: white; border-radius: 6px; font-weight: 800; font-size: 1rem; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--gray2); transition: background .15s; }
.qty-btn:hover { background: var(--blue-light); color: var(--blue); }
.qty-num { font-size: .88rem; font-weight: 700; min-width: 20px; text-align: center; }
.cart-remove { color: #b0b8cc; padding: 4px; display: flex; transition: color .2s; }
.cart-remove:hover { color: var(--red); }
.cart-remove svg { width: 16px; height: 16px; }

.cart-foot { padding: 16px 22px 20px; border-top: 1px solid var(--gray2); background: white; }
.cart-subtotal { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 1.1rem; margin-bottom: 4px; }
.cart-delivery-note { font-size: .75rem; color: var(--text-light); margin-bottom: 14px; }
.btn-checkout {
  width: 100%; background: var(--blue); color: white;
  padding: 14px; border-radius: 11px; font-size: .97rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .2s, transform .15s;
}
.btn-checkout:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-checkout svg { width: 18px; height: 18px; }

/* ══════════════════ TOAST ═══════════════════════════════════ */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 9100;
  background: #1a7340; color: white; border-radius: 11px;
  padding: 14px 20px; font-size: .88rem; font-weight: 600;
  box-shadow: 0 8px 28px rgba(0,0,0,.25);
  transform: translateY(100px); opacity: 0;
  transition: transform .4s var(--ease-bounce), opacity .3s;
  display: flex; align-items: center; gap: 8px; max-width: 340px;
  pointer-events: none;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast svg { width: 18px; height: 18px; flex-shrink: 0; }
@media (max-width: 480px) {
  .toast { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}

/* ══════════════════ PROMOTIONS PAGE ════════════════════════ */
.promo-filters { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 26px; padding-top: 4px; }
.filter-pill {
  padding: 9px 18px; border-radius: 20px; font-size: .83rem; font-weight: 700;
  border: 2px solid var(--gray2); color: var(--text-light);
  background: white; transition: all .2s; cursor: pointer;
}
.filter-pill:hover, .filter-pill.active { background: var(--blue); border-color: var(--blue); color: white; transform: translateY(-1px); }

/* ══════════════════ CATALOGUES ══════════════════════════════ */
.catalogues-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.catalogue-card {
  background: white; border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow); transition: transform .22s, box-shadow .22s;
}
.catalogue-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.catalogue-thumb { height: 200px; overflow: hidden; position: relative; }
.catalogue-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.catalogue-card:hover .catalogue-thumb img { transform: scale(1.06); }
.catalogue-info { padding: 20px; }
.catalogue-info h3 { font-size: 1rem; font-weight: 800; margin-bottom: 4px; line-height: 1.35; }
.catalogue-info .date { font-size: .78rem; color: var(--text-light); margin-bottom: 16px; }
.btn-catalogue {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--blue); color: white;
  padding: 10px 18px; border-radius: 8px; font-size: .82rem; font-weight: 700;
  transition: background .2s, transform .15s;
}
.btn-catalogue:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-catalogue svg { width: 15px; height: 15px; }

/* ══════════════════ SERVICES ════════════════════════════════ */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.service-card {
  background: white; border-radius: 12px; padding: 28px 22px; text-align: center;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.service-icon { width: 56px; height: 56px; border-radius: 14px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; }
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: .92rem; font-weight: 800; margin-bottom: 6px; }
.service-card p  { font-size: .78rem; color: var(--text-light); line-height: 1.5; }

/* ══════════════════ ACCOUNT ════════════════════════════════ */
.account-gate { display: flex; justify-content: center; padding: 20px 0 60px; }
.account-gate-card {
  background: white; border-radius: 16px; padding: 40px 36px;
  box-shadow: var(--shadow-md); max-width: 480px; width: 100%;
  text-align: center;
}
.account-gate-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.account-gate-icon svg { width: 42px; height: 42px; }
.account-gate-card h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 10px; letter-spacing: -.3px; }
.account-gate-card p { font-size: .92rem; color: var(--text-light); line-height: 1.6; margin-bottom: 26px; }
.account-gate-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 24px; }
.account-gate-divider {
  text-align: center; position: relative; margin: 24px 0;
  font-size: .75rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 1.5px;
}
.account-gate-divider::before {
  content: ''; position: absolute; top: 50%; left: 0; right: 0;
  height: 1px; background: var(--gray2);
}
.account-gate-divider span { background: white; padding: 0 14px; position: relative; }
.app-link-block {
  display: flex; align-items: center; gap: 10px;
  background: var(--blue-light); border-radius: 10px;
  padding: 12px 16px; font-size: .85rem; color: var(--text);
  text-align: left; transition: background .2s;
}
.app-link-block:hover { background: #d6e3f7; }
.app-link-block .android-icon { color: #3DDC84; }
.app-link-block strong { color: var(--pink); font-weight: 800; }

.account-layout { display: grid; grid-template-columns: 280px 1fr; gap: 22px; padding-bottom: 40px; }
@media (max-width: 768px) { .account-layout { grid-template-columns: 1fr; } }
.account-sidebar { background: white; border-radius: 12px; padding: 26px 22px; box-shadow: var(--shadow); height: fit-content; }
.account-avatar { width: 72px; height: 72px; background: var(--blue-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; color: var(--blue); font-size: 1.8rem; font-weight: 800; }
.account-name  { text-align: center; font-weight: 800; font-size: 1rem; margin-bottom: 3px; }
.account-email { text-align: center; font-size: .78rem; color: var(--text-light); margin-bottom: 22px; }
.account-menu { display: flex; flex-direction: column; gap: 3px; }
.account-menu-item {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px;
  border-radius: 9px; font-size: .86rem; font-weight: 600; color: var(--text);
  transition: background .2s, color .2s;
}
.account-menu-item svg { width: 18px; height: 18px; color: var(--text-light); }
.account-menu-item:hover, .account-menu-item.active { background: var(--blue-light); color: var(--blue); }
.account-menu-item:hover svg, .account-menu-item.active svg { color: var(--blue); }
.account-menu-item.danger { color: var(--red); }
.account-menu-item.danger svg { color: var(--red); }
.account-menu-item.danger:hover { background: #ffebee; }
.account-content { background: white; border-radius: 12px; padding: 28px; box-shadow: var(--shadow); }
.account-content-title { font-size: 1.15rem; font-weight: 800; margin-bottom: 20px; }
.order-list { display: flex; flex-direction: column; gap: 12px; }
.order-item {
  border: 1.5px solid var(--gray2); border-radius: 10px; padding: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  transition: border-color .2s;
}
.order-item:hover { border-color: var(--blue-light); }
.order-id { font-size: .78rem; color: var(--text-light); margin-bottom: 4px; font-weight: 600; }
.order-summary { font-weight: 800; font-size: 1rem; margin-bottom: 3px; }
.order-date { font-size: .78rem; color: var(--text-light); }
.order-status {
  padding: 6px 14px; border-radius: 20px; font-size: .76rem; font-weight: 800;
  white-space: nowrap;
}
.status-delivered { background: #e8f5e9; color: var(--green); }
.status-shipping  { background: #fff3e0; color: #e65100; }

.account-promo {
  margin-top: 28px; padding: 24px;
  background: linear-gradient(135deg, var(--blue-light) 0%, #d4e2f7 100%);
  border-radius: 12px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.account-promo-text { flex: 1; min-width: 200px; }
.account-promo-eyebrow { font-size: .72rem; font-weight: 800; color: var(--blue); text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 4px; }
.account-promo-text h3 { font-weight: 800; font-size: 1.1rem; margin-bottom: 4px; }
.account-promo-text p { font-size: .85rem; color: var(--text-light); }

/* ══════════════════ CONTACT FORM ══════════════════════════ */
.contact-form-card {
  background: white; border-radius: 14px; padding: 36px;
  box-shadow: var(--shadow); margin-bottom: 40px;
}
.contact-title {
  font-size: 1.25rem; font-weight: 800; color: var(--blue);
  margin-bottom: 24px; display: flex; align-items: center; gap: 10px;
}
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .83rem; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.form-control {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--gray2);
  border-radius: 9px; font-size: .9rem; outline: none; color: var(--text);
  background: white;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,72,153,.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.btn-submit {
  background: var(--blue); color: white;
  padding: 13px 28px; border-radius: 10px; font-size: .95rem; font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s, transform .15s;
  border: none; cursor: pointer;
}
.btn-submit:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-submit svg { width: 18px; height: 18px; }

/* ══════════════════ FOOTER ══════════════════════════════════ */
footer {
  background: linear-gradient(180deg, #111827 0%, #0a0f1a 100%);
  color: rgba(255,255,255,.75);
  margin-top: 56px;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto; padding: 56px 24px 40px;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
}
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-inner { grid-template-columns: 1fr; } }

.footer-col h4 { color: white; font-size: .92rem; font-weight: 800; margin-bottom: 18px; letter-spacing: .3px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: .83rem; color: rgba(255,255,255,.6); transition: color .2s, padding-left .2s; display: inline-block; }
.footer-col ul li a:hover { color: white; padding-left: 4px; }
.footer-logo-wrap { margin-bottom: 16px; }
.footer-logo {
  height: 38px; max-width: 140px; object-fit: contain;
  filter: brightness(0) invert(1);
}
.footer-desc { font-size: .83rem; line-height: 1.65; margin-bottom: 20px; }
.footer-app-desc { font-size: .83rem; color: rgba(255,255,255,.55); margin-bottom: 16px; line-height: 1.6; }
.footer-app-desc strong { color: white; }
.footer-socials { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s, color .2s;
}
.social-link svg { width: 17px; height: 17px; }
.social-link:hover { background: var(--blue); color: white; transform: translateY(-3px); }

.footer-app-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: white; border-radius: 10px;
  padding: 12px 20px; color: var(--blue-dark); font-size: .88rem; font-weight: 800;
  transition: background .2s, transform .15s;
  box-shadow: 0 3px 12px rgba(0,0,0,.3);
}
.footer-app-btn:hover { background: #f0f6ff; transform: translateY(-2px); }
.footer-app-btn .android-icon { color: #3DDC84; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}
.footer-bottom-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .78rem; color: rgba(255,255,255,.45);
}
.footer-bottom-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom-links a { color: rgba(255,255,255,.5); transition: color .2s; }
.footer-bottom-links a:hover { color: white; }

/* ══════════════════ RESPONSIVE TWEAKS ═══════════════════════ */
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .header-inner { padding: 0 12px; gap: 8px; }
  .app-banner { padding: 22px; }
  .app-banner-title { font-size: 1.4rem; }
  .product-page-layout { gap: 18px; padding-top: 24px; padding-bottom: 28px; }
  .contact-form-card { padding: 24px; }
  .auth-form { padding: 24px 22px 28px; }
}

/* ══════════════════ SCROLLBAR POLISH ════════════════════════ */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gray2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #c4cad8; }
