/* ============================================================
   LéoPart — Main Stylesheet
   Theme: Dark (#111) + Gold (#F5A623) + White text
   Font: Vazirmatn (RTL)
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:        #F5A623;
  --gold-dark:   #D4891B;
  --gold-light:  #FFD080;
  --bg-base:     #111111;
  --bg-card:     #1A1A1A;
  --bg-card2:    #222222;
  --bg-input:    #2A2A2A;
  --border:      #2E2E2E;
  --border-light:#3A3A3A;
  --text-primary:#FFFFFF;
  --text-muted:  #9A9A9A;
  --text-dim:    #666666;
  --green:       #22C55E;
  --red:         #EF4444;
  --blue:        #3B82F6;
  --purple:      #8B5CF6;
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   18px;
  --radius-xl:   24px;
  --shadow:      0 4px 24px rgba(0,0,0,.45);
  --shadow-gold: 0 0 24px rgba(245,166,35,.18);
  --transition:  .22s ease;
  --font:        'Vazirmatn', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-base);
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.7;
  direction: rtl;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
input, textarea, select, button { font-family: var(--font); }

/* ── Container ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }

.btn--primary {
  background: var(--gold);
  color: #111;
}
.btn--primary:hover {
  background: var(--gold-dark);
  color: #111;
  box-shadow: var(--shadow-gold);
}

.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn--outline:hover { background: var(--gold); color: #111; }

.btn--ghost {
  background: var(--bg-card2);
  color: var(--text-primary);
}
.btn--ghost:hover { background: var(--border-light); }

.btn--danger { background: var(--red); color: #fff; }
.btn--danger:hover { background: #c0392b; }

.btn--sm  { padding: 8px 18px; font-size: 13px; }
.btn--lg  { padding: 14px 36px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--icon { padding: 10px; border-radius: 50%; }

/* ── Navbar ──────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(17,17,17,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  height: 64px;
}

.navbar__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 118px;
}
.navbar__logo img { display: block; height: 36px; width: auto; max-width: 118px; object-fit: contain; }
.navbar__logo-text { display: flex; flex-direction: column; }
.navbar__logo-title { font-size: 16px; font-weight: 800; color: var(--gold); line-height: 1.2; }
.navbar__logo-sub   { font-size: 10px; color: var(--text-muted); }

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}

.navbar__link {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}
.navbar__link:hover,
.navbar__link.active {
  color: var(--text-primary);
  background: var(--bg-card2);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.navbar__cart {
  position: relative;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-card2);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 17px;
  transition: color var(--transition), background var(--transition);
}
.navbar__cart:hover { color: var(--gold); background: var(--border); }
.navbar__cart-badge {
  position: absolute;
  top: -4px; left: -4px;
  background: var(--gold);
  color: #111;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

/* User dropdown */
.navbar__user-menu { position: relative; }
.navbar__user-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 13px;
}
.navbar__user-avatar {
  width: 28px; height: 28px;
  background: var(--gold);
  color: #111;
  font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
}
.navbar__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  min-width: 180px;
  overflow: hidden;
  box-shadow: var(--shadow);
  z-index: 200;
}
.navbar__user-menu:hover .navbar__dropdown { display: block; }
.navbar__dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px;
  font-size: 13px;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
}
.navbar__dropdown a:hover { background: var(--bg-card2); color: var(--text-primary); }
.navbar__dropdown .dropdown__logout { color: var(--red); }
.navbar__dropdown .dropdown__logout:hover { background: rgba(239,68,68,.1); }

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.navbar__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Page wrapper (to compensate fixed navbar) ────────────── */
.page-wrapper { padding-top: 64px; }

/* ── Section layout ──────────────────────────────────────── */
.section { padding: 80px 0; }
.section--sm { padding: 48px 0; }
.section--lg { padding: 100px 0; }
.section__header { text-align: center; margin-bottom: 48px; }
.section__label {
  display: inline-block;
  background: rgba(245,166,35,.12);
  color: var(--gold);
  border: 1px solid rgba(245,166,35,.3);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}
.section__title { font-size: clamp(22px, 3vw, 32px); font-weight: 800; margin-bottom: 10px; }
.section__sub   { color: var(--text-muted); font-size: 14px; }

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  border-color: rgba(245,166,35,.35);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

/* ── Product Card ────────────────────────────────────────── */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative;
}
.product-card:hover {
  border-color: rgba(245,166,35,.35);
  box-shadow: var(--shadow-gold);
  transform: translateY(-3px);
}
.product-card__badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  z-index: 2;
}
.product-card__badge--new { background: var(--green); }
.product-card__img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--bg-card2);
}
.product-card__body { padding: 14px 16px 16px; }
.product-card__brand {
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.product-card__name {
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__rating {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 10px;
}
.product-card__rating span { color: var(--text-muted); font-size: 11px; }
.product-card__price-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.product-card__price-before {
  font-size: 11px;
  color: var(--text-dim);
  text-decoration: line-through;
}
.product-card__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
}
.product-card__actions {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 12px;
  gap: 8px;
}
.product-card__qty {
  display: flex; align-items: center; gap: 6px;
}
.product-card__qty-btn {
  width: 28px; height: 28px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: var(--text-primary);
  transition: background var(--transition);
}
.product-card__qty-btn:hover { background: var(--gold); color: #111; }
.product-card__qty-num { font-size: 13px; font-weight: 600; min-width: 20px; text-align: center; }

/* Product grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  width: 100%;
  justify-items: center;
}
.products-grid .product-card {
  width: 100%;
  max-width: 320px;
}

/* ── Hero Section ────────────────────────────────────────── */
.hero {
  min-height: 620px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-base);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 70% 50%, rgba(245,166,35,.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
  padding: 42px 0;
}
.hero__content { flex: 1; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,166,35,.1);
  border: 1px solid rgba(245,166,35,.25);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero__tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
.hero__title {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 6px;
}
.hero__title span { color: var(--gold); }
.hero__subtitle {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero__desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 2;
  max-width: 460px;
  margin-bottom: 32px;
}
.hero__brands {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero__brands span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  background: rgba(255,255,255,.06);
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
}
.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__image {
  flex-shrink: 0;
  width: min(38vw, 420px);
  position: relative;
}
.hero__image img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  filter: drop-shadow(0 24px 60px rgba(245,166,35,.2));
  animation: float 4s ease-in-out infinite;
}

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 40px 0;
}
.stats-bar__item {
  background: var(--bg-card);
  padding: 20px 24px;
  text-align: center;
}
.stats-bar__num {
  font-size: 26px;
  font-weight: 800;
  color: var(--gold);
  display: block;
}
.stats-bar__label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── Brands strip ────────────────────────────────────────── */
.brands-strip {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.brands-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.brands-strip__item {
  flex: 1 1 130px;
  width: 130px;
  max-width: 170px;
  min-width: 110px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .8;
  transition: opacity var(--transition), transform var(--transition);
  color: var(--text-primary);
  text-decoration: none;
  filter: none;
}
.brands-strip__item:hover {
  opacity: .85;
  transform: scale(1.08);
  filter: grayscale(0) brightness(1.2);
  color: var(--text-primary);
}
.brands-strip__item svg {
  display: block;
  width: auto;
  max-width: 125px;
  max-height: 32px;
  fill: currentColor;
}
.brands-strip__item img {
  display: block;
  width: auto;
  max-width: 125px;
  height: 32px;
  object-fit: contain;
}

/* ── Services cards ──────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  border-color: rgba(245,166,35,.4);
  box-shadow: var(--shadow-gold);
}
.service-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.service-card__icon--screen  { background: rgba(59,130,246,.15); color: #3B82F6; }
.service-card__icon--battery { background: rgba(34,197,94,.15);  color: #22C55E; }
.service-card__icon--camera  { background: rgba(245,166,35,.15); color: var(--gold); }
.service-card__icon--board   { background: rgba(139,92,246,.15); color: #8B5CF6; }
.service-card__icon--software{ background: rgba(239,68,68,.15);  color: #EF4444; }
.service-card__icon--charger { background: rgba(20,184,166,.15); color: #14B8A6; }
.service-card__name  { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.service-card__desc  { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.service-card__meta  { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; }
.service-card__meta span { color: var(--text-dim); }
.service-card__meta strong { color: var(--gold); }

/* ── Blog cards ──────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover {
  border-color: rgba(245,166,35,.3);
  box-shadow: var(--shadow-gold);
  transform: translateY(-3px);
}
.blog-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--bg-card2);
}
.blog-card__body { padding: 18px 20px 20px; }
.blog-card__cat {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 10px;
}
.blog-card__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition);
}
.blog-card:hover .blog-card__title { color: var(--gold); }
.blog-card__excerpt {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.blog-card__meta i { color: var(--gold); }

/* ── Forms ───────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-label span { color: var(--red); }

.form-control {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--text-primary);
  font-size: 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  direction: rtl;
}
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245,166,35,.12);
}
.form-control::placeholder { color: var(--text-dim); }

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  padding-left: 36px;
}

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

.form-hint { font-size: 12px; color: var(--text-dim); margin-top: 5px; }
.form-error { font-size: 12px; color: var(--red); margin-top: 5px; }

/* ── Input with icon ─────────────────────────────────────── */
.input-icon { position: relative; }
.input-icon .form-control { padding-left: 42px; }
.input-icon__icon {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 15px;
  pointer-events: none;
}
.input-icon__icon--right { left: auto; right: 14px; }
.input-icon .form-control.has-icon-right { padding-left: 14px; padding-right: 42px; }

/* ── Tables ──────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); }
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.table th, .table td {
  padding: 13px 16px;
  text-align: right;
  border-bottom: 1px solid var(--border);
}
.table thead th {
  background: var(--bg-card2);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 12px;
}
.table tbody tr { transition: background var(--transition); }
.table tbody tr:hover { background: var(--bg-card2); }
.table tbody tr:last-child td { border-bottom: none; }

/* ── Badges ──────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}
.badge--gold    { background: rgba(245,166,35,.15); color: var(--gold); }
.badge--green   { background: rgba(34,197,94,.15);  color: var(--green); }
.badge--red     { background: rgba(239,68,68,.15);  color: var(--red); }
.badge--blue    { background: rgba(59,130,246,.15);  color: var(--blue); }
.badge--purple  { background: rgba(139,92,246,.15); color: var(--purple); }
.badge--gray    { background: rgba(100,100,100,.2); color: var(--text-muted); }

/* ── Pagination ──────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.pagination__btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-muted);
  transition: all var(--transition);
}
.pagination__btn:hover { border-color: var(--gold); color: var(--gold); }
.pagination__btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #111;
  font-weight: 700;
}
.pagination__ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  color: var(--text-muted);
  font-size: 14px;
}

/* ── Flash messages ──────────────────────────────────────── */
.flash {
  position: fixed;
  top: 72px; left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  animation: slideDown .3s ease;
  max-width: 90vw;
  text-align: center;
}
.flash--success { background: rgba(34,197,94,.15); border: 1px solid var(--green); color: var(--green); }
.flash--error   { background: rgba(239,68,68,.15);  border: 1px solid var(--red);   color: var(--red); }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
  margin-top: 80px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 48px;
}
.footer__logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.footer__logo img { height: 38px; }
.footer__logo-name { font-size: 18px; font-weight: 800; color: var(--gold); }
.footer__about { font-size: 13px; color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 38px; height: 38px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--text-muted);
  transition: all var(--transition);
}
.footer__social a:hover { background: var(--gold); border-color: var(--gold); color: #111; }

.footer__heading {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text-primary);
}
.footer__links li { margin-bottom: 10px; }
.footer__links a { font-size: 13px; color: var(--text-muted); transition: color var(--transition); }
.footer__links a:hover { color: var(--gold); }
.footer__links a::before { content: '← '; font-size: 11px; }

.footer__contact li {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer__contact i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.footer__contact a:hover { color: var(--gold); }
.footer__contact small { display: block; font-size: 11px; color: var(--text-dim); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
}
.footer__bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--text-dim);
  flex-wrap: wrap; gap: 10px;
}
.footer__bottom-inner a { color: var(--text-dim); margin-right: 16px; }
.footer__bottom-inner a:hover { color: var(--gold); }
.footer__badges { display:flex; gap:10px; flex-wrap:wrap; }
.footer__badge {
  min-width:112px; min-height:76px; padding:10px;
  display:flex; align-items:center; justify-content:center;
  background:var(--bg-card2); border:1px solid var(--border);
  border-radius:var(--radius-md);
}
.footer__badge img { max-width:82px; max-height:56px; object-fit:contain; }
.footer__badge > a, .footer__badge > div { display:flex; align-items:center; justify-content:center; max-width:100%; }
.footer__badge iframe { max-width:100%; border:0; }
.footer__badge-placeholder { display:flex; flex-direction:column; align-items:center; gap:5px; color:var(--text-dim); font-size:11px; text-align:center; }
.footer__badge-placeholder i { color:var(--gold); font-size:22px; }

/* ── Chat bubble ─────────────────────────────────────────── */
.chat-bubble {
  position: fixed;
  bottom: 28px; left: 28px;
  width: 52px; height: 52px;
  background: var(--gold);
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: #111;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(245,166,35,.4);
  z-index: 800;
  transition: transform var(--transition), box-shadow var(--transition);
}
.chat-bubble:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(245,166,35,.55);
}

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-dim);
  padding: 16px 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb__sep { color: var(--border-light); font-size: 10px; }
.breadcrumb span { color: var(--text-muted); }

/* ── Star rating ─────────────────────────────────────────── */
.stars { display: inline-flex; gap: 2px; color: var(--gold); font-size: 13px; }
.stars .empty { color: var(--border-light); }

/* ── Skeleton loader ─────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--bg-card2) 25%, var(--border) 50%, var(--bg-card2) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius-sm);
}

/* ── Empty state ─────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}
.empty-state__icon {
  font-size: 52px;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.empty-state__title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.empty-state__sub { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }

/* ── Modal ───────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  width: 90%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  animation: modalIn .25s ease;
}
.modal__close {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--bg-card2);
  border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 14px;
  transition: background var(--transition);
}
.modal__close:hover { background: var(--border); color: var(--text-primary); }
.modal__title { font-size: 18px; font-weight: 700; margin-bottom: 20px; }

/* ── Alerts ──────────────────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  margin-bottom: 18px;
  display: flex; align-items: flex-start; gap: 10px;
}
.alert i { flex-shrink: 0; margin-top: 2px; }
.alert--info    { background: rgba(59,130,246,.1);  border: 1px solid rgba(59,130,246,.3);  color: #93C5FD; }
.alert--warning { background: rgba(245,166,35,.1); border: 1px solid rgba(245,166,35,.3); color: var(--gold-light); }
.alert--danger  { background: rgba(239,68,68,.1);  border: 1px solid rgba(239,68,68,.3);  color: #FCA5A5; }
.alert--success { background: rgba(34,197,94,.1);  border: 1px solid rgba(34,197,94,.3);  color: #86EFAC; }

/* ── Divider ─────────────────────────────────────────────── */
.divider {
  display: flex; align-items: center; gap: 14px;
  color: var(--text-dim); font-size: 12px;
  margin: 20px 0;
}
.divider::before, .divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

/* ── Spinner ─────────────────────────────────────────────── */
.spinner {
  width: 22px; height: 22px;
  border: 2.5px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: inline-block;
}

/* ── Utilities ───────────────────────────────────────────── */
.text-gold    { color: var(--gold); }
.text-muted   { color: var(--text-muted); }
.text-dim     { color: var(--text-dim); }
.text-green   { color: var(--green); }
.text-red     { color: var(--red); }
.text-center  { text-align: center; }
.text-sm      { font-size: 12px; }
.text-xs      { font-size: 11px; }
.fw-700       { font-weight: 700; }
.fw-800       { font-weight: 800; }
.d-flex       { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8   { gap: 8px; }
.gap-12  { gap: 12px; }
.gap-16  { gap: 16px; }
.gap-20  { gap: 20px; }
.mt-8    { margin-top:    8px; }
.mt-16   { margin-top:   16px; }
.mt-24   { margin-top:   24px; }
.mt-32   { margin-top:   32px; }
.mb-8    { margin-bottom: 8px; }
.mb-16   { margin-bottom:16px; }
.mb-24   { margin-bottom:24px; }
.mb-32   { margin-bottom:32px; }
.p-20    { padding: 20px; }
.p-24    { padding: 24px; }
.w-100   { width: 100%; }
.hidden  { display: none !important; }

/* ── Animations ──────────────────────────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(.95); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__inner   { gap: 40px; }
  .hero__image   { width: 340px; }
  .hero__image img { max-height: 470px; }
  .footer__grid  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar__inner { position: relative; justify-content: center; }
  .navbar__logo {
    position: absolute;
    right: 48px;
    left: auto;
    margin: 0;
    transform: none;
    min-width: 0;
    width: 96px;
    justify-content: center;
    z-index: 2;
  }
  .navbar__logo img { height: 30px; max-width: 96px; }
  .navbar__actions {
    position: absolute;
    left: 12px;
    margin: 0;
    gap: 4px;
    z-index: 3;
  }
  .navbar__nav { display: none; }
  .navbar__nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    gap: 4px;
    z-index: 800;
    box-shadow: 0 12px 28px rgba(0,0,0,.35);
  }
  .navbar__hamburger {
    display: flex;
    position: fixed;
    top: 14px;
    right: 12px;
    z-index: 901;
  }
  .navbar__nav.open .navbar__link { width: 100%; text-align: right; padding: 11px 14px; }

  .hero__inner { flex-direction: column; text-align: center; gap: 18px; padding: 34px 0 44px; }
  .hero__content { width: 100%; }
  .hero__tag { margin-bottom: 16px; max-width: 100%; }
  .hero__title { font-size: clamp(36px, 11vw, 58px); line-height: 1.2; }
  .hero__desc { max-width: 34rem; margin: 0 auto 22px; padding: 0 8px; font-size: 13px; line-height: 2.1; }
  .hero__brands { justify-content: center; gap: 7px; margin: 0 auto 22px; max-width: 360px; }
  .hero__brands span { min-height: 34px; padding: 5px 11px; }
  .hero__btns { justify-content: center; width: 100%; }
  .hero__btns .btn { flex: 1 1 145px; min-width: 0; }
  .hero { min-height: auto; }
  .hero__image { width: 100%; max-width: 320px; margin: 0 auto; order: 2; }
  .hero__image img { max-height: 42vh; object-fit: contain; }

  .stats-bar { grid-template-columns: repeat(2,1fr); }

  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__trust { border-top:1px solid var(--border); padding-top:24px; }
  .footer__badges { justify-content:flex-start; }

  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid     { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }

  .section { padding: 50px 0; }
  .contact-grid, .why-grid { grid-template-columns:1fr !important; gap:24px !important; }
  .brands-strip { padding:22px 0; }
  .brands-strip__inner { gap: 10px; }
  .brands-strip__item { flex-basis: 105px; width: 105px; min-width: 90px; height: 44px; }
}

@media (max-width: 480px) {
  .navbar { height: 60px; }
  .navbar__inner { height: 60px; padding-left: 12px; padding-right: 12px; gap: 8px; }
  .navbar__logo img { height: 32px; max-width: 110px; }
  .navbar__actions { left: 12px; gap: 6px; }
  .navbar__cart { width: 38px; height: 38px; }
  .navbar__actions .btn--sm { padding: 8px 9px; font-size: 11px; }
  .navbar__logo-text { display:flex !important; }
  .navbar__logo-title { font-size:14px; }
  .navbar__logo-sub { display:none; }
  .navbar__hamburger { top: 13px; right: 12px; padding: 5px; }
  .navbar__nav.open { top: 60px; }
  .page-wrapper { padding-top: 60px; }
  .hero__inner { padding-top: 28px; }
  .hero__tag { font-size: 11px; padding: 5px 11px; }
  .hero__desc { font-size: 12px; line-height: 2; }
  .hero__brands { max-width: 300px; }
  .hero__brands span { font-size: 11px; padding: 4px 10px; }
  .hero__btns { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero__btns .btn { flex: none; width: 100%; }
  .products-grid { grid-template-columns:1fr; justify-items:center; }
  .products-grid .product-card { width:100%; max-width:360px; }
  .stats-bar     { grid-template-columns: repeat(2,1fr); }
  .btn--lg       { padding: 12px 24px; font-size: 14px; }
  .container { padding-left:14px; padding-right:14px; }
  .stats-bar__item { padding:14px 8px; }
  .stats-bar__num { font-size:21px; }
  .footer__badge { min-width:100px; flex:1; }
}
