/*
 * Base Store Template — Custom Stylesheet
 * Extends Bootstrap 5.3 without overriding its core.
 * Designed for clean, professional storefront deployments.
 * Client-branding is done via CSS custom properties in :root.
 */

/* ═══════════════════════════════════════════════════
   1. Design Tokens (override per-client)
═══════════════════════════════════════════════════ */
:root {
  --brand-primary:    #4f46e5;   /* indigo — override to brand colour */
  --brand-dark:       #312e81;
  --brand-light:      #eef2ff;
  --brand-accent:     #7c3aed;

  --text-primary:     #0f172a;
  --text-muted:       #64748b;
  --text-light:       #94a3b8;

  --surface:          #ffffff;
  --surface-alt:      #f8fafc;
  --surface-border:   #e2e8f0;

  --topbar-bg:        var(--brand-primary);
  --navbar-bg:        #ffffff;
  --footer-bg:        #0f172a;
  --footer-text:      #94a3b8;

  --radius-sm:        6px;
  --radius-md:        12px;
  --radius-lg:        20px;
  --shadow-sm:        0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:        0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:        0 8px 32px rgba(0,0,0,.12);
  --shadow-card:      0 2px 8px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);

  --transition:       0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════════════════════════════════════════
   2. Base Typography & Body
═══════════════════════════════════════════════════ */
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-primary); }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4, h5, h6 { font-weight: 700; letter-spacing: -0.02em; }

.text-brand   { color: var(--brand-primary) !important; }
.bg-brand     { background: var(--brand-primary) !important; }
.bg-brand-lt  { background: var(--brand-light) !important; }
.bg-surface   { background: var(--surface-alt) !important; }

/* ═══════════════════════════════════════════════════
   3. Preloader
═══════════════════════════════════════════════════ */
#preloader {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  flex-direction: column;
  gap: 1rem;
}
#preloader img { width: 52px; animation: preloadPulse 1s ease-in-out infinite alternate; }
@keyframes preloadPulse { from { opacity: 0.5; transform: scale(0.95); } to { opacity: 1; transform: scale(1.05); } }
#preloader.fade-out { opacity: 0; transition: opacity 0.4s ease; pointer-events: none; }

/* ═══════════════════════════════════════════════════
   4. Topbar
═══════════════════════════════════════════════════ */
.topbar {
  background: var(--topbar-bg);
  color: rgba(255,255,255,0.92);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.38rem 0;
}
.topbar a { color: rgba(255,255,255,0.85); text-decoration: none; transition: color var(--transition); }
.topbar a:hover { color: #fff; }

/* ═══════════════════════════════════════════════════
   5. Navbar
═══════════════════════════════════════════════════ */
.navbar {
  background: var(--navbar-bg) !important;
  box-shadow: 0 1px 0 var(--surface-border), var(--shadow-sm);
  padding: 0.75rem 0;
}

.navbar-brand img { max-height: 44px; width: auto; }

.navbar-nav .nav-link {
  color: var(--text-primary) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem !important;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--brand-primary) !important;
  background: var(--brand-light);
}

.navbar .dropdown-menu {
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  min-width: 200px;
}
.navbar .dropdown-item {
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  padding: 0.5rem 0.85rem;
  color: var(--text-primary);
  transition: background var(--transition), color var(--transition);
}
.navbar .dropdown-item:hover {
  background: var(--brand-light);
  color: var(--brand-primary);
}

/* Cart badge */
.cart-badge {
  position: absolute;
  top: -4px; right: -8px;
  background: var(--brand-primary);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}

/* ═══════════════════════════════════════════════════
   6. Section Helpers
═══════════════════════════════════════════════════ */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-primary);
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0;
  line-height: 1.2;
}

.section-divider {
  width: 40px;
  height: 3px;
  background: var(--brand-primary);
  border-radius: 2px;
  margin: 0.75rem auto 1.5rem;
  display: block;
}
.section-divider.left { margin-left: 0; }

/* ═══════════════════════════════════════════════════
   7. Hero Section
═══════════════════════════════════════════════════ */
.hero-section,
.hero-wrap {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--text-primary);
}

/* Supports both <div class="hero-bg" style="background-image:..."> and <img class="hero-bg"> */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;        /* for <img> */
  background-size: cover;   /* for <div> */
  background-position: center;
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-content .lead {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  opacity: 0.9;
  max-width: 520px;
}

/* ═══════════════════════════════════════════════════
   8. Trust Strip
═══════════════════════════════════════════════════ */
.trust-strip {
  background: var(--surface-alt);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  padding: 1rem 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 0.6rem 0;
}

.trust-item .bi {
  font-size: 1.2rem;
  color: var(--brand-primary);
  flex-shrink: 0;
}

.trust-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════
   9. Product Cards
═══════════════════════════════════════════════════ */
.product-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.product-img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--surface-alt);
  aspect-ratio: 4 / 5;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }

.product-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--brand-primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-badge.sale { background: #ef4444; }
.product-badge.new  { background: var(--brand-primary); }
.product-badge.hot  { background: #f59e0b; color: #1a1a1a; }

.product-info {
  padding: 0.85rem 1rem 1rem;
}
.product-info .title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.35rem;
  line-height: 1.4;
}
.product-info .price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-primary);
}
.product-info .market-price {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 6px;
}
.product-info .discount-badge {
  background: #fee2e2;
  color: #dc2626;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 6px;
}

/* Standalone discount badge used in product cards (not inside .product-info) */
.discount-badge {
  background: #dc3545;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 0.3rem;
}

/* Absolute-positioned wrapper for stacked product card badges */
.product-badge-wrap {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 1;
}

/* Rank badge for top-sellers / most-viewed */
.rank-badge {
  width: 28px;
  height: 28px;
  background: #dc3545;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════
   10. Category Cards
═══════════════════════════════════════════════════ */
.cat-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  display: block;
  background: var(--text-primary);
}

/* .cat-img-wrap — legacy wrapper used in some templates */
.cat-img-wrap {
  position: relative;
  height: 150px;
  overflow: hidden;
}

.cat-card img,
.cat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity var(--transition), transform 0.5s ease;
}
.cat-card:hover img,
.cat-card:hover .cat-img-wrap img { opacity: 0.85; transform: scale(1.06); }

/* Overlay variants — both naming conventions supported */
.cat-card-overlay,
.cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 60%);
}

/* Name label at bottom of category card */
.cat-card-name,
.cat-name {
  position: absolute;
  bottom: 0.6rem;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0 0.5rem;
  letter-spacing: -0.01em;
}

.cat-placeholder {
  background: linear-gradient(135deg, var(--brand-light), var(--brand-primary));
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}
.cat-placeholder:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cat-placeholder .bi { font-size: 2rem; color: var(--brand-primary); opacity: 0.7; }
.cat-placeholder span { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); }

/* ═══════════════════════════════════════════════════
   11. Feature / Blog / Review Cards
═══════════════════════════════════════════════════ */
.feat-card {
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  transition: box-shadow var(--transition), transform var(--transition);
}
.feat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feat-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* Legacy featured card image wrapper */
.feat-img-wrap {
  height: 260px;
  overflow: hidden;
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.feat-img-wrap img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.3s ease; }
.feat-card:hover .feat-img-wrap img { transform: scale(1.05); }

.blog-card {
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  transition: box-shadow var(--transition), transform var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.blog-card .card-body { flex: 1; display: flex; flex-direction: column; }

/* Legacy blog card image wrapper */
.blog-img-wrap {
  height: 210px;
  overflow: hidden;
  position: relative;
}
.blog-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.blog-card:hover .blog-img-wrap img { transform: scale(1.06); }

.review-card {
  background: var(--surface-alt);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.review-stars { color: #f59e0b; font-size: 0.85rem; }

/* ═══════════════════════════════════════════════════
   12. Newsletter Section
═══════════════════════════════════════════════════ */
.newsletter-section {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
  color: #fff;
  padding: 4rem 0;
  border-radius: 0;
}

.newsletter-section .form-control {
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.15);
  color: #fff;
  padding: 0.75rem 1.1rem;
}
.newsletter-section .form-control::placeholder { color: rgba(255,255,255,0.65); }
.newsletter-section .form-control:focus {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.6);
  box-shadow: none;
  color: #fff;
}

/* ═══════════════════════════════════════════════════
   13. Buttons
═══════════════════════════════════════════════════ */
.btn-brand {
  background: var(--brand-primary);
  border: 2px solid var(--brand-primary);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 0.6rem 1.4rem;
  transition: all var(--transition);
}
.btn-brand:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79,70,229,0.3);
}

.btn-brand-outline {
  background: transparent;
  border: 2px solid var(--brand-primary);
  color: var(--brand-primary);
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 0.6rem 1.4rem;
  transition: all var(--transition);
}
.btn-brand-outline:hover {
  background: var(--brand-primary);
  color: #fff;
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════
   14. Footer
═══════════════════════════════════════════════════ */
footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  font-size: 0.875rem;
}

footer h5, footer h6 { color: #fff; font-weight: 700; margin-bottom: 1.1rem; }

footer a {
  color: var(--footer-text);
  text-decoration: none;
  transition: color var(--transition);
}
footer a:hover { color: #fff; }

footer .footer-brand-text {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--footer-text);
}

footer hr { border-color: rgba(255,255,255,0.08); }

footer .footer-links { list-style: none; padding: 0; margin: 0; }
footer .footer-links li { margin-bottom: 0.55rem; }

footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.25rem;
  font-size: 0.78rem;
  color: var(--text-light);
}

/* Payment badge row */
.payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  width: 48px; height: 30px;
  font-size: 0.75rem;
  color: #fff;
  font-weight: 700;
  transition: background var(--transition);
}
.payment-badge:hover { background: rgba(255,255,255,0.12); }

/* ═══════════════════════════════════════════════════
   15. Pagination
═══════════════════════════════════════════════════ */
.pagination .page-link {
  color: var(--brand-primary);
  border-color: var(--surface-border);
  border-radius: var(--radius-sm);
  margin: 0 2px;
  font-weight: 500;
}
.pagination .page-link:hover {
  background: var(--brand-light);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}
.pagination .page-item.active .page-link {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}

/* ═══════════════════════════════════════════════════
   16. Forms & Inputs
═══════════════════════════════════════════════════ */
.form-control:focus, .form-select:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(79,70,229,0.12);
}

.form-check-input:checked {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
}

/* ═══════════════════════════════════════════════════
   17. Alert & Badge Overrides
═══════════════════════════════════════════════════ */
.badge-digital { background: #0dcaf0 !important; color: #000 !important; }

.alert { border-radius: var(--radius-sm); border: none; }
.alert-info { background: var(--brand-light); color: var(--brand-dark); }

/* ═══════════════════════════════════════════════════
   18. Product Detail Page
═══════════════════════════════════════════════════ */
.product-gallery-thumb {
  border: 2px solid var(--surface-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition);
  overflow: hidden;
  aspect-ratio: 1;
}
.product-gallery-thumb:hover,
.product-gallery-thumb.active { border-color: var(--brand-primary); }
.product-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.color-swatch {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition);
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.color-swatch:hover, .color-swatch.selected {
  outline-color: var(--brand-primary);
  transform: scale(1.1);
}

.size-btn {
  border: 1.5px solid var(--surface-border);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.85rem;
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--surface);
  color: var(--text-primary);
}
.size-btn:hover, .size-btn.selected {
  border-color: var(--brand-primary);
  background: var(--brand-light);
  color: var(--brand-primary);
}
.size-btn.out-of-stock {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* ═══════════════════════════════════════════════════
   19. Cart & Checkout
═══════════════════════════════════════════════════ */
.cart-item-row {
  border-bottom: 1px solid var(--surface-border);
  padding: 1rem 0;
}
.cart-item-row:last-child { border-bottom: none; }

.cart-item-img {
  width: 72px; height: 72px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
}

.order-summary-card {
  background: var(--surface-alt);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

/* ═══════════════════════════════════════════════════
   20. Order Invoice & Confirmation
═══════════════════════════════════════════════════ */
.invoice-box {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-md);
}

/* ═══════════════════════════════════════════════════
   21. Admin Panel Highlights (storefront /bandb/)
═══════════════════════════════════════════════════ */
.stat-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  transition: box-shadow var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow-md); }
.stat-card .stat-value { font-size: 1.8rem; font-weight: 800; color: var(--text-primary); }
.stat-card .stat-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }

/* ═══════════════════════════════════════════════════
   22. Responsive Adjustments
═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero-section { min-height: 380px; }
  .hero-content h1 { font-size: 1.9rem; }

  .newsletter-section { padding: 2.5rem 0; }
  .newsletter-section .input-group { flex-direction: column; gap: 0.5rem; }
  .newsletter-section .input-group .form-control,
  .newsletter-section .input-group .btn { border-radius: var(--radius-sm) !important; }

  footer { text-align: center; }
  .trust-item { justify-content: center; }
}

@media (max-width: 576px) {
  .product-card { border-radius: var(--radius-sm); }
  .section-title { font-size: 1.4rem; }
  .cat-card { aspect-ratio: 1 / 1.2; }
}

/* ═══════════════════════════════════════════════════
   23. Utility overrides
═══════════════════════════════════════════════════ */
.rounded-brand { border-radius: var(--radius-md) !important; }
.shadow-brand  { box-shadow: var(--shadow-md) !important; }

.fw-800 { font-weight: 800 !important; }
.fw-700 { font-weight: 700 !important; }

/* Scroll strip (topbar marquee text) */
.scroll-strip {
  background: var(--brand-dark);
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.scroll-strip-inner {
  display: inline-flex;
  gap: 4rem;
  animation: scrollText 25s linear infinite;
}
@keyframes scrollText { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═══════════════════════════════════════════════════
   24. Affiliate & Contact Widgets
═══════════════════════════════════════════════════ */
.affiliate-widget-card {
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-lg) !important;
  border: 1px solid var(--surface-border) !important;
}

.contact-widget-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}
.contact-widget-btn:hover { transform: scale(1.08); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

/* ═══════════════════════════════════════════════════
   25. Language Dropdown
═══════════════════════════════════════════════════ */
.lang-dropdown-toggle {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 50px;
  padding: 2px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}
.lang-dropdown-toggle:hover { background: rgba(255,255,255,0.25); }

.lang-dropdown-menu {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  min-width: 160px;
  z-index: 9999;
}
.lang-dropdown-item {
  display: block;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: background var(--transition);
}
.lang-dropdown-item:hover { background: var(--brand-light); color: var(--brand-primary); }
