/* ============================================================
   JANOSCI SCIENTIFIC WORKZ - Components v4.0 (REDESIGNED)
   Navy #0d1b4b | Gold #d4a017 | Modern & Beautiful
   ============================================================ */

/* ── ANNOUNCEMENT BAR ───────────────────────────────────────── */
.ann-bar {
  background: linear-gradient(90deg, #0f1e3a 0%, #1a365d 50%, #0f1e3a 100%);
  color: rgba(255, 255, 255, 0.97);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.75rem 0;
  position: relative;
  z-index: 1010;
  border-bottom: 1px solid rgba(214, 158, 46, 0.3);
  overflow: hidden;
}
.ann-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  padding: 0 2rem;
}
.ann-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}
.ann-item i {
  color: #d4a017;
  font-size: 0.82rem;
}
.ann-item strong {
  color: #d4a017;
  font-weight: 800;
}
.ann-sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 1rem;
  line-height: 1;
}
.ann-close {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0.3rem 0.5rem;
  transition: color 0.2s ease;
  z-index: 2;
}
.ann-close:hover {
  color: #d4a017;
}
@media (max-width: 900px) {
  .ann-bar {
    padding: 0.55rem 0;
  }
  .ann-bar-inner {
    gap: 0.75rem;
  }
  .ann-sep {
    display: none;
  }
}
@media (max-width: 600px) {
  .ann-bar {
    padding: 0.45rem 0;
  }
  .ann-bar-inner {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 1rem;
    padding: 0 max(2.5rem, env(safe-area-inset-right)) 0 max(0.75rem, env(safe-area-inset-left));
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    mask-image: linear-gradient(90deg, #000 92%, transparent);
  }
  .ann-bar-inner::-webkit-scrollbar {
    display: none;
  }
  .ann-item {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.74rem;
  }
}

/* ── NEW PREMIUM NAVBAR (DARK & MODERN) ────────────────────── */
.navbar {
  background: #0d1b4b !important; /* Deep navy */
  height: 80px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

body.has-annbar .navbar {
  top: 42px;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  gap: 1.5rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar-logo-wrap {
  background: #fff;
  padding: 8px 15px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.navbar-brand-logo {
  height: 38px;
  width: auto;
}

.navbar-search-wrap {
  flex: 1;
  max-width: 450px;
  display: block;
}

.navbar-search-form {
  position: relative;
  width: 100%;
}

.navbar-search-form input {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  padding: 10px 20px 10px 45px;
  color: #fff;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.navbar-search-form input:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: #d4a017;
  outline: none;
}

.navbar-search-form i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.4);
}

.site-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
}

.site-nav li a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 8px 12px;
  border-radius: 10px;
  transition: all 0.25s ease;
}

.site-nav li a i {
  font-size: 0.9rem;
  opacity: 0.6;
}

.site-nav li a:hover, .site-nav li a.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.site-nav li a.active i {
  color: #d4a017;
  opacity: 1;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-icon-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 10px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
}

.navbar-icon-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.badge-dot {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #d4a017;
  color: #0d1b4b;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0d1b4b;
}

/* ── BOTTOM NAV (MOBILE) ──────────────────────────────────── */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  display: none;
  justify-content: space-around;
  padding: 8px 0 env(safe-area-inset-bottom);
  box-shadow: 0 -5px 25px rgba(0,0,0,0.1);
  z-index: 1100;
  border-radius: 20px 20px 0 0;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #94a3b8;
  font-size: 0.65rem;
  font-weight: 700;
  gap: 4px;
  flex: 1;
  transition: all 0.2s ease;
}

.bottom-nav-item i {
  font-size: 1.2rem;
}

.bottom-nav-item.active {
  color: #d4a017;
}

@media (max-width: 991px) {
  .site-nav, .navbar-search-wrap, .navbar-actions {
    display: none !important;
  }
  .navbar-mobile-actions {
    display: flex !important;
  }
  .bottom-nav {
    display: flex;
  }
  .navbar-inner {
    padding: 0 1rem;
    height: 70px;
  }
}

/* ── MODERN FOOTER ───────────────────────────────────────── */
.footer {
  background: #080f2a;
  color: #fff;
  padding: 60px 0 20px;
  margin-top: 4rem;
}

.footer-logo-pill {
  background: #fff;
  padding: 8px 16px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 1.25rem;
}

.footer-logo-img {
  height: 34px;
  width: auto;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer h4 {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.footer-links li a:hover {
  color: #d4a017;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 991px) {
  .navbar {
    background: rgba(13, 27, 75, 0.98) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    height: 70px;
  }
  .navbar-inner {
    height: 100%;
    padding: 0 1rem;
    gap: 0.5rem;
  }
  .navbar .site-nav, .navbar-nav, .navbar-actions, .sidebar-toggle {
    display: none !important;
  }
  .navbar-mobile-actions {
    display: flex !important;
  }
  .navbar-logo-wrap, .navbar-logo-pill {
    padding: 4px 10px;
    border-radius: 10px;
  }
  .navbar-logo-wrap img, .navbar-logo-pill img, .navbar-brand-logo {
    height: 32px;
  }
  .navbar-search-wrap {
    display: none;
  }
}
@media (max-width: 480px) {
  .navbar-inner {
    gap: 0.65rem;
    padding-left: max(0.7rem, env(safe-area-inset-left));
    padding-right: max(0.7rem, env(safe-area-inset-right));
  }
  .navbar-logo-wrap,
  .navbar-logo-pill {
    padding: 0;
    border-radius: 0;
  }
  .navbar-brand-logo {
    height: 32px;
  }
  .mobile-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }
  .navbar-mobile-actions {
    gap: 0.35rem;
    padding: 0.24rem;
    border-radius: 12px;
  }
}

/* ── MOBILE SIDEBAR (REDESIGNED) ───────────────────────────── */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 75, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}
.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}
.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100vh;
  background: #ffffff;
  z-index: 2001;
  box-shadow: 20px 0 60px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.mobile-sidebar.open {
  transform: translateX(280px);
}
.mobile-sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-sidebar-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0;
}
.sidebar-section-label {
  padding: 1.25rem 1.5rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.1em;
}
.mobile-sidebar-body a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  color: #334155;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.mobile-sidebar-body a:hover {
  background: #f8fafc;
  color: #0d1b4b;
}
.mobile-sidebar-body a.active {
  background: #f1f5f9;
  color: #d4a017;
}
.mobile-sidebar-body a i {
  width: 20px;
  text-align: center;
  font-size: 1.1rem;
  color: #64748b;
}
.mobile-sidebar-body a.active i {
  color: #d4a017;
}
.close-sidebar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
@media (max-width: 991px) {
  .sidebar-toggle, .navbar-toggle { display: none !important; }
}

/* ── MOBILE SIDEBAR ─────────────────────────────────────────── */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1099;
  display: none;
  backdrop-filter: blur(6px);
}
.sidebar-overlay.open {
  display: block;
  animation: fadeIn 0.25s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100vh;
  background: linear-gradient(180deg, #060d1f 0%, #080f2a 100%);
  z-index: 1100;
  transition: left 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}
.mobile-sidebar.open {
  left: 0;
}
.mobile-sidebar::-webkit-scrollbar {
  width: 4px;
}
.mobile-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}
.sidebar-header {
  padding: 1.25rem 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.sidebar-logo {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  object-fit: contain;
}
.sidebar-close-btn {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.sidebar-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}
.sidebar-user-section {
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  flex-shrink: 0;
}
.sidebar-user-avatar {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, #d4a017 0%, #f0c040 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d1b4b;
  font-size: 1.1rem;
  font-weight: 900;
  flex-shrink: 0;
}
.sidebar-user-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
}
.sidebar-user-email {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
}
.sidebar-nav-section {
  padding: 0.6rem 0;
  flex: 1;
}
.sidebar-nav-label {
  padding: 0.5rem 1.4rem;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.3);
}
.sidebar-nav-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.4rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.25s ease;
  border-left: 3px solid transparent;
  text-decoration: none;
  width: 100%;
  text-align: left;
  background: transparent;
  border-top: none;
  border-right: none;
  border-bottom: none;
  font-family: inherit;
}
.sidebar-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border-left-color: rgba(212, 160, 23, 0.45);
}
.sidebar-nav-link.active {
  color: #d4a017;
  background: rgba(212, 160, 23, 0.1);
  border-left-color: #d4a017;
}
.sidebar-nav-link i {
  width: 18px;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.sidebar-install-btn {
  color: #d4a017;
}
.sidebar-install-btn:hover {
  color: #f0c040;
  border-left-color: #d4a017;
  background: rgba(212, 160, 23, 0.12);
}
.nav-count {
  margin-left: auto;
  background: #d4a017;
  color: #0d1b4b;
  font-size: 0.62rem;
  font-weight: 900;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
}
.sidebar-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 0.4rem 1.4rem;
}
.sidebar-footer {
  padding: 1.25rem 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.sidebar-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  margin-bottom: 0.45rem;
}
.sidebar-contact-item i {
  color: #d4a017;
  width: 14px;
  flex-shrink: 0;
}

/* ── BOTTOM NAV (STABLE & FIXED) ───────────────────────────── */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 255, 0.97) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(13, 27, 75, 0.1);
  z-index: 990;
  box-shadow: 0 -10px 34px rgba(13, 27, 75, 0.14);
  min-height: var(--bottom-nav-h, 72px);
  padding: 0 max(0.5rem, env(safe-area-inset-right)) env(safe-area-inset-bottom, 0px)
    max(0.5rem, env(safe-area-inset-left));
  box-sizing: border-box;
  align-items: stretch;
  transition: transform 0.28s ease;
}
.ui-crystal .bottom-nav {
  border-top: 1px solid rgba(148, 163, 184, 0.26);
  box-shadow: 0 -10px 24px rgba(2, 6, 23, 0.11);
}
@media (max-width: 991px) {
  .bottom-nav {
    display: flex !important;
    justify-content: space-around;
  }
  body {
    padding-bottom: var(--content-bottom-mobile, calc(72px + env(safe-area-inset-bottom, 0px)));
  }
}
@media (min-width: 992px) {
  .bottom-nav {
    display: none !important;
  }
}

/* PWA install banner (shown by JS when applicable) */
.pwa-install-banner {
  position: fixed;
  left: max(0.75rem, env(safe-area-inset-left));
  right: max(0.75rem, env(safe-area-inset-right));
  bottom: calc(var(--content-bottom-mobile, 72px) + 10px);
  background: linear-gradient(135deg, #0f1e3a 0%, #1a365d 100%);
  color: #ffffff;
  border-radius: 18px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 10px 40px rgba(13, 27, 75, 0.35);
  z-index: 988;
  border: 1px solid rgba(212, 160, 23, 0.35);
}
.pwa-install-banner .pwa-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #d4a017, #f0c040);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d1b4b;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.pwa-install-banner .pwa-text {
  flex: 1;
  min-width: 0;
}
.pwa-install-banner .pwa-text strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.12rem;
}
.pwa-install-banner .pwa-text span {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.72);
}
.pwa-install-banner .pwa-actions {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  flex-shrink: 0;
}
.pwa-btn-install {
  background: linear-gradient(135deg, #d4a017, #f0c040);
  color: #0d1b4b;
  border: none;
  border-radius: 10px;
  padding: 0.45rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}
.pwa-btn-dismiss {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: rgba(255, 255, 255, 0.85);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
}
@media (min-width: 901px) {
  .pwa-install-banner {
    display: none !important;
  }
}

.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  color: #667085;
  font-size: 0.66rem;
  font-weight: 700;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.45rem 0.25rem 0.5rem;
  transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease;
  position: relative;
  font-family: inherit;
  min-width: 0;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}
.bottom-nav-item:active {
  opacity: 0.92;
  transform: scale(0.97);
}
.bottom-nav-item::after {
  content: '';
  position: absolute;
  inset: 8px 6px;
  border-radius: 12px;
  background: rgba(13, 27, 75, 0.04);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.bottom-nav-item:hover::after {
  opacity: 1;
}
.bottom-nav-item i {
  font-size: 1.2rem;
  display: block;
  transition: all 0.25s ease;
  position: relative;
  z-index: 1;
}
.bottom-nav-item span {
  display: block;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  position: relative;
  z-index: 1;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.bottom-nav-item.active {
  color: #0d1b4b;
}
.bottom-nav-item.active i {
  color: #d4a017;
  transform: none;
}
.bottom-nav-install {
  color: #0d1b4b;
}
.bottom-nav-install i {
  color: #d4a017;
}
.bottom-nav-install {
  animation: installGlow 2.1s ease-in-out infinite;
}
.bottom-nav-more i {
  color: #1a365d;
}
.mobile-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #374151;
  box-shadow: 0 2px 8px rgba(13, 27, 75, 0.08);
}
.mobile-action-btn:hover,
.mobile-action-btn.active {
  color: #d4a017;
  background: #fffaf0;
  border-color: rgba(212, 160, 23, 0.35);
  box-shadow: 0 6px 14px rgba(212, 160, 23, 0.16);
}
.navbar-mobile-actions {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  gap: 0.4rem;
  display: none;
}
.mobile-menu-trigger {
  color: #1f2937;
  background: #ffffff;
}
.bottom-nav-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 3.5px;
  background: linear-gradient(90deg, #d4a017 0%, #f0c040 100%);
  border-radius: 0 0 6px 6px;
}
.bottom-nav-item:hover i {
  color: #1a365d;
}
.nav-badge {
  position: absolute;
  top: 0.35rem;
  left: calc(50% + 0.6rem);
  background: #ef4444;
  color: #ffffff;
  font-size: 0.58rem;
  font-weight: 900;
  min-width: 18px;
  height: 18px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.3rem;
  border: 2px solid #ffffff;
  line-height: 1;
  z-index: 2;
}
@keyframes mobileHeaderIn {
  from {
    opacity: 0.75;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes menuNudge {
  0%, 70%, 100% {
    transform: translateX(0);
  }
  80% {
    transform: translateX(-1.5px);
  }
  90% {
    transform: translateX(1.5px);
  }
}
@keyframes badgePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.35);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
  }
}
@keyframes installGlow {
  0%, 100% {
    filter: drop-shadow(0 0 0 rgba(212, 160, 23, 0));
  }
  50% {
    filter: drop-shadow(0 2px 8px rgba(212, 160, 23, 0.35));
  }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-menu-trigger i,
  .mobile-cart-btn .mobile-action-badge,
  .bottom-nav-install {
    animation: none !important;
  }
}
@media (max-width: 900px) {
  .bottom-nav-install {
    display: none !important;
  }
}

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #0a1628 0%, #0f1e3a 20%, #152a4f 45%, #1a365d 70%, #1f3f68 85%, #23487a 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: calc(76px + 42px + 2rem);
  padding-bottom: 4rem;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(212, 160, 23, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(212, 160, 23, 0.05) 0%, transparent 50%);
  pointer-events: none;
}
body:not(.has-annbar) .hero {
  padding-top: calc(76px + 2rem);
}
@media (max-width: 900px) {
  .hero {
    padding-top: calc(66px + 42px + 2rem);
  }
  body:not(.has-annbar) .hero {
    padding-top: calc(66px + 2rem);
  }
}
@media (max-width: 600px) {
  body.has-annbar .hero {
    padding-top: calc(66px + 2rem);
  }
  .hero-content h1 {
    font-size: clamp(1.65rem, 7vw, 2.35rem);
    margin-bottom: 1rem;
  }
  .hero-content p {
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 1.5rem;
  }
  .hero-stat {
    min-width: 0;
    padding: 0.85rem 0.75rem;
  }
  .hero-trust-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    margin-top: 1.25rem;
  }
  .hero-trust-sep {
    display: none;
  }
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-orb-1 {
  width: 650px;
  height: 650px;
  top: -25%;
  right: -10%;
  background: radial-gradient(circle, rgba(214, 158, 46, 0.16) 0%, transparent 70%);
}
.hero-orb-2 {
  width: 450px;
  height: 450px;
  bottom: -20%;
  left: -8%;
  background: radial-gradient(circle, rgba(214, 158, 46, 0.1) 0%, transparent 70%);
}
.hero-orb-3 {
  width: 320px;
  height: 320px;
  bottom: 12%;
  right: 22%;
  background: radial-gradient(circle, rgba(214, 158, 46, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  position: absolute;
  pointer-events: none;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(214, 158, 46, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 158, 46, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 3rem 0;
  min-height: calc(100vh - 108px);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 160, 23, 0.16);
  border: 1px solid rgba(212, 160, 23, 0.4);
  color: #f0c040;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  letter-spacing: 0.02em;
}
.hero-badge i {
  font-size: 0.8rem;
}
.hero-content h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}
.hero-content h1 .grad-text {
  background: linear-gradient(135deg, #d4a017 0%, #f0c040 50%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 540px;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}
.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  font-weight: 600;
}
.hero-trust-item i {
  color: #d4a017;
  font-size: 0.85rem;
}
.hero-trust-sep {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.22);
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}
.hero-stat {
  text-align: center;
  padding: 1.1rem 1.4rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  min-width: 110px;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}
.hero-stat::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(212, 160, 23, 0.15), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.hero-stat:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 32px rgba(13, 27, 75, 0.25);
  border-color: rgba(212, 160, 23, 0.35);
}
.hero-stat:hover::before {
  opacity: 1;
}
.stat-num {
  font-size: 1.7rem;
  font-weight: 900;
  background: linear-gradient(135deg, #d4a017 0%, #f0c040 50%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  position: relative;
  z-index: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.3rem;
  position: relative;
  z-index: 1;
  font-weight: 600;
}
.hero-img-side {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-img-side-ring {
  position: relative;
  width: 440px;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img-side-ring::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(212, 160, 23, 0.2);
  animation: ringPulse 3.2s ease-in-out infinite;
}
.hero-img-side-ring::after {
  content: '';
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  border: 1px solid rgba(212, 160, 23, 0.12);
  animation: ringPulse 3.2s ease-in-out 0.7s infinite;
}
@keyframes ringPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(212, 160, 23, 0.12);
  }
  50% {
    box-shadow: 0 0 0 32px rgba(212, 160, 23, 0);
  }
}
.hero-img-side-ring img {
  width: 86%;
  max-width: 360px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 72px rgba(0, 0, 0, 0.6));
  animation: floatImg 4.2s ease-in-out infinite;
  border-radius: 24px;
  position: relative;
  z-index: 1;
}
@keyframes floatImg {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}
.hero-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 16px;
  padding: 0.85rem 1.15rem;
  box-shadow: 0 12px 40px rgba(13, 27, 75, 0.28);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: #0d1b4b;
  border: 1px solid rgba(212, 160, 23, 0.22);
  backdrop-filter: blur(10px);
  white-space: nowrap;
}
.hero-float-card i {
  color: #d4a017;
  font-size: 1.15rem;
}
.hero-float-card.fc-1 {
  top: 8%;
  right: -8%;
  animation: floatCard 3.5s ease-in-out infinite;
}
.hero-float-card.fc-2 {
  bottom: 10%;
  left: -8%;
  animation: floatCard 3.5s ease-in-out 1.75s infinite;
}
@keyframes floatCard {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@media (max-width: 1024px) {
  .hero-grid {
    gap: 3rem;
  }
  .hero-img-side-ring {
    width: 380px;
    height: 380px;
  }
}
@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: 5rem 0 3.5rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 1.5rem 0;
    min-height: auto;
  }
  .hero-img-side {
    display: none;
  }
}

/* ── FEATURES STRIP ─────────────────────────────────────────── */
.features-strip {
  background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
  border-bottom: 3px solid #d69e2e;
  padding: 1.75rem 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease;
}
.feature-item:last-child {
  border-right: none;
}
.feature-item:hover {
  background: rgba(212, 160, 23, 0.08);
}
.feature-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.22), rgba(212, 160, 23, 0.08));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(212, 160, 23, 0.28);
}
.feature-icon i {
  font-size: 1.2rem;
  color: #d4a017;
}
.feature-item h4 {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.15rem;
  font-family: 'Poppins', sans-serif;
}
.feature-item p {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .feature-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }
  .feature-item:nth-child(3),
  .feature-item:nth-child(4) {
    border-bottom: none;
  }
}
@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-item {
    border-right: none !important;
  }
  .feature-item:nth-child(3) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

/* ── TRUST SECTION ──────────────────────────────────────────── */
.trust-section {
  background: #ffffff;
  padding: 1.75rem 0;
  border-bottom: 1px solid #e2e6f0;
}
.trust-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.trust-badge-icon {
  width: 44px;
  height: 44px;
  background: rgba(13, 27, 75, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d1b4b;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.trust-badge-text {
  display: flex;
  flex-direction: column;
}
.trust-badge-text strong {
  font-size: 0.85rem;
  color: #0d1b4b;
  font-weight: 800;
  line-height: 1.2;
}
.trust-badge-text span {
  font-size: 0.72rem;
  color: #6b7280;
}
.trust-divider {
  width: 1px;
  height: 40px;
  background: #e2e6f0;
}
@media (max-width: 1024px) {
  .trust-grid {
    justify-content: flex-start;
    gap: 1.25rem;
  }
  .trust-divider {
    display: none;
  }
}
@media (max-width: 768px) {
  .trust-grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    padding: 0.25rem 0 0.65rem;
    gap: 1rem;
    justify-content: flex-start;
  }
  .trust-badge {
    flex-shrink: 0;
    scroll-snap-align: start;
    min-width: min(200px, 78vw);
    padding: 0.35rem 0;
  }
}

/* ── STATS ROW ──────────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 3rem 0;
}
.stat-count-card {
  text-align: center;
  padding: 2rem 1.25rem;
  background: #ffffff;
  border-radius: 20px;
  border: 1.5px solid #e2e6f0;
  transition: all 0.3s ease;
}
.stat-count-card:hover {
  border-color: rgba(212, 160, 23, 0.4);
  box-shadow: 0 12px 40px rgba(13, 27, 75, 0.14);
  transform: translateY(-6px);
}
.stat-count-card-num {
  font-size: 2.4rem;
  font-weight: 900;
  background: linear-gradient(135deg, #0d1b4b, #1a2d6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: 'Poppins', sans-serif;
}
.stat-count-card-label {
  font-size: 0.82rem;
  color: #6b7280;
  font-weight: 700;
}
@media (max-width: 1024px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    padding: 2rem 0;
  }
  .stat-count-card {
    padding: 1.35rem 0.85rem;
  }
  .stat-count-card-num {
    font-size: 1.85rem;
  }
}

/* ── CATEGORY TILES ─────────────────────────────────────────── */
.category-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.cat-tile {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1.5px solid #e2e6f0;
  transition: all 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(13, 27, 75, 0.05);
}
.cat-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.03), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.cat-tile::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #d4a017, #f0c040, #ffd700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.cat-tile:hover {
  border-color: rgba(212, 160, 23, 0.5);
  box-shadow: 0 16px 56px rgba(13, 27, 75, 0.18);
  transform: none;
}
.cat-tile:hover::before {
  opacity: 1;
}
.cat-tile:hover::after {
  transform: scaleX(1);
}
.cat-tile-icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, rgba(13, 27, 75, 0.08), rgba(13, 27, 75, 0.03));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1.5px solid rgba(13, 27, 75, 0.08);
  transition: all 0.35s ease;
}
.cat-tile:hover .cat-tile-icon {
  background: linear-gradient(135deg, #0d1b4b, #1a2d6b);
  border-color: transparent;
}
.cat-tile-icon i {
  font-size: 1.5rem;
  color: #0d1b4b;
  transition: color 0.35s ease;
}
.cat-tile:hover .cat-tile-icon i {
  color: #d4a017;
}
.cat-tile-info {
  flex: 1;
  min-width: 0;
}
.cat-tile-info h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0d1b4b;
  margin-bottom: 0.15rem;
  line-height: 1.3;
  font-family: 'Poppins', sans-serif;
}
.cat-tile-info p {
  font-size: 0.75rem;
  color: #6b7280;
}
.cat-tile-arrow {
  color: #9ca3af;
  font-size: 0.8rem;
  transition: all 0.35s ease;
  flex-shrink: 0;
}
.cat-tile:hover .cat-tile-arrow {
  color: #d4a017;
  transform: translateX(6px);
}
@media (max-width: 600px) {
  .category-tiles {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 420px) {
  .category-tiles {
    grid-template-columns: 1fr;
  }
}

/* ── PRODUCT CARDS ──────────────────────────────────────────── */
.products-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1.5px solid #e2e6f0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(13, 27, 75, 0.06);
}
.product-card:hover {
  border-color: rgba(212, 160, 23, 0.5);
  box-shadow: 0 24px 72px rgba(13, 27, 75, 0.22);
  transform: translateY(-8px);
}
.product-img-wrap,
.product-image {
  position: relative;
  overflow: hidden;
  background: #f8f9fc;
  aspect-ratio: 4/3;
}
.product-img-wrap img,
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-img-wrap img,
.product-card:hover .product-image img {
  transform: none;
}
.product-img-overlay,
.product-image-overlay,
.product-img-wrap-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 27, 75, 0.6) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1.25rem;
}
.product-card:hover .product-img-overlay,
.product-card:hover .product-image-overlay,
.product-card:hover .product-img-wrap-overlay {
  opacity: 1;
}
.product-quick-view,
.view-label {
  background: rgba(255, 255, 255, 0.97);
  color: #0d1b4b;
  border: none;
  padding: 0.55rem 1.35rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}
.product-quick-view:hover,
.view-label:hover {
  background: #d4a017;
  color: #0d1b4b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 160, 23, 0.45);
}
.product-badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  background: linear-gradient(135deg, #d4a017, #f0c040);
  color: #0d1b4b;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 0.3rem 0.7rem;
  border-radius: 9999px;
  z-index: 1;
}
.product-badge.featured {
  background: linear-gradient(135deg, #10b981, #34d399);
  left: auto;
  right: 0.9rem;
  top: auto;
  bottom: 0.9rem;
}
.product-badge.new {
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
}
.stock-low {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  background: linear-gradient(135deg, #ef4444, #f87171);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 0.3rem 0.7rem;
  border-radius: 9999px;
  z-index: 1;
}
.product-wishlist {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #9ca3af;
  font-size: 1rem;
  transition: all 0.25s ease;
  z-index: 1;
  backdrop-filter: blur(6px);
}
.product-wishlist:hover,
.product-wishlist.active {
  color: #ef4444;
  background: #ffffff;
  transform: scale(1.2);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.3);
}
.product-info {
  padding: 1.25rem 1.35rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-cat,
.product-category {
  font-size: 0.7rem;
  font-weight: 700;
  color: #d4a017;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem;
}
.product-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0d1b4b;
  margin-bottom: 0.55rem;
  line-height: 1.4;
  font-family: 'Poppins', sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-desc {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price-row,
.product-price {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.product-price,
.price-current {
  font-size: 1.15rem;
  font-weight: 900;
  color: #0d1b4b;
  font-family: 'Poppins', sans-serif;
}
.product-price-old,
.price-original {
  font-size: 0.85rem;
  color: #9ca3af;
  text-decoration: line-through;
}
.product-price-save,
.price-discount {
  font-size: 0.72rem;
  font-weight: 800;
  color: #16a34a;
  background: #dcfce7;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
}
.product-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: auto;
}
.product-actions .btn {
  flex: 1;
  padding: 0.65rem 0.85rem;
  font-size: 0.84rem;
}
.product-placeholder {
  font-size: 4.5rem;
  color: rgba(13, 27, 75, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
@media (max-width: 600px) {
  .products-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .product-info {
    padding: 1rem;
  }
}
@media (max-width: 420px) {
  .products-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* ── CART SUMMARY ───────────────────────────────────────────── */
.cart-summary {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.75rem;
}
.cart-summary h3 {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  font-weight: 800;
}
.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
  font-size: 0.92rem;
}
.summary-row .label {
  color: var(--text-muted);
  font-weight: 600;
}
.summary-row .value {
  font-weight: 700;
  color: var(--text-dark);
}
.summary-row.total {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 1.1rem;
}
.summary-row.total .value {
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--navy);
}
.coupon-form {
  display: flex;
  gap: 0.6rem;
  margin: 1.25rem 0;
}
.coupon-form .form-control {
  flex: 1;
}

/* ── CART ITEMS (layout + mobile) ───────────────────────────── */
.cart-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  transition: var(--transition);
}
.cart-item:hover {
  border-color: rgba(212,160,23,.35);
  box-shadow: var(--shadow-sm);
}
.cart-item-image {
  width: 92px;
  height: 92px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f0f4ff, #e8edf8);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid rgba(13,27,75,.06);
}
.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: .55rem;
}
.cart-item-image i {
  font-size: 2.35rem;
  color: rgba(13,27,75,.18);
}
.cart-item-info {
  flex: 1;
  min-width: 0;
}
.cart-item-name {
  font-weight: 800;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  display: inline-block;
}
.cart-item-name:hover { color: var(--navy-light); }
.cart-item-price { font-size: 1.05rem; font-weight: 900; color: var(--navy); }
.cart-item-original { font-size: .85rem; color: var(--text-muted); text-decoration: line-through; }

@media (max-width: 600px) {
  .cart-item {
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
    padding: 1rem;
  }
  .cart-item-image {
    width: 100%;
    height: 150px;
    border-radius: 16px;
  }
  .qty-control { flex-wrap: wrap; }
  .qty-input { width: 84px; }
}

/* ── CHECKOUT HELPERS ───────────────────────────────────────── */
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 1.5rem; align-items: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 900px) {
  .checkout-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ── PAYMENT OPTIONS ────────────────────────────────────────── */
.payment-option{
  display:flex;
  align-items:center;
  gap:.75rem;
  padding:1rem;
  border:2px solid var(--border);
  border-radius:var(--radius-lg);
  cursor:pointer;
  transition: var(--transition);
  margin-bottom:.75rem;
  background: var(--white);
}
.payment-option:hover{ border-color: rgba(26, 54, 93, 0.45); box-shadow: var(--shadow-xs); }
.payment-option input[type=radio]{ accent-color: var(--navy); width:18px; height:18px; }
.payment-option.selected{ border-color: var(--navy); background: rgba(13,27,75,.03); }

/* ── QTY CONTROL ────────────────────────────────────────────── */
.qty-control {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.qty-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 2px solid var(--border);
  background: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.2s ease;
}
.qty-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.qty-input {
  width: 68px;
  text-align: center;
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
}
.qty-input:focus {
  border-color: var(--navy);
  outline: none;
}

/* ── PRODUCT GALLERY ────────────────────────────────────────── */
.product-gallery {
  position: relative;
}
.gallery-main {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.25s ease;
}
.gallery-main img.zoomed {
  transform: scale(1.6);
  cursor: zoom-out;
}
.gallery-placeholder {
  font-size: 5.5rem;
  color: rgba(13, 27, 75, 0.1);
}
.gallery-badge {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  background: linear-gradient(135deg, #d4a017, #f0c040);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}
.gallery-thumbs {
  display: flex;
  gap: 0.9rem;
  margin-top: 1.25rem;
  overflow-x: auto;
  padding: 0.35rem;
}
.gallery-thumb {
  width: 88px;
  height: 88px;
  border-radius: 14px;
  border: 2px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.25s ease;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumb i {
  font-size: 2.2rem;
  color: rgba(13, 27, 75, 0.15);
}
.gallery-thumb:hover {
  border-color: rgba(212, 160, 23, 0.45);
}
.gallery-thumb.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.2);
}

/* ── STICKY ATC BAR ────────────────────────────────────────── */
.sticky-atc-bar {
  position: fixed;
  bottom: 72px;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 2px solid rgba(13, 27, 75, 0.1);
  box-shadow: 0 -6px 32px rgba(13, 27, 75, 0.16);
  display: none;
  align-items: center;
  gap: 1.25rem;
  padding: 0.9rem 1.75rem;
  z-index: 985;
}
.sticky-atc-bar .atc-product-name {
  flex: 1;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-atc-bar .atc-price {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--navy);
}
@media (max-width: 900px) {
  .sticky-atc-bar {
    bottom: var(--content-bottom-mobile, calc(72px + env(safe-area-inset-bottom, 0px)));
    padding: 0.8rem max(1rem, env(safe-area-inset-right)) 0.8rem max(1rem, env(safe-area-inset-left));
  }
}
@media (min-width: 901px) {
  .sticky-atc-bar {
    display: none !important;
  }
}

/* ── BRAND SHOWCASE BANNER ──────────────────────────────────── */
.brand-showcase {
  background: linear-gradient(135deg, #0f1e3a 0%, #1a365d 55%, #23487a 100%);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
  align-items: center;
}
.brand-showcase::before {
  content: '';
  position: absolute;
  top: -35%;
  right: -8%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.16) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.brand-showcase-content {
  padding: 3.5rem;
  position: relative;
  z-index: 1;
}
.brand-showcase-content h2 {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 0.9rem;
  letter-spacing: -0.02em;
  font-family: 'Poppins', sans-serif;
}
.brand-showcase-content p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.75rem;
}
.brand-showcase-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  position: relative;
  z-index: 1;
}
.brand-showcase-image img {
  max-height: 260px;
  width: auto;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.55));
  animation: floatImg 4.5s ease-in-out infinite;
  border-radius: 20px;
}
@media (max-width: 900px) {
  .brand-showcase {
    grid-template-columns: 1fr;
    border-radius: 24px;
    min-height: 0;
  }
  .brand-showcase-image {
    display: none;
  }
  .brand-showcase-content {
    padding: 2.25rem 1.5rem;
  }
  .brand-showcase-content h2 {
    font-size: clamp(1.35rem, 5vw, 1.85rem);
  }
}

/* ── PROMO CODE ────────────────────────────────────────────── */
.promo-code {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(212, 160, 23, 0.16);
  border: 2px dashed rgba(212, 160, 23, 0.55);
  color: #f0c040;
  padding: 0.6rem 1.4rem;
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: all 0.25s ease;
}
.promo-code:hover {
  background: rgba(212, 160, 23, 0.26);
  border-color: #d4a017;
  transform: translateY(-2px);
}

/* ── TESTIMONIALS ──────────────────────────────────────────── */
.testimonials-grid,
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: 24px;
  padding: 2rem;
  border: 1.5px solid #e2e6f0;
  position: relative;
  transition: all 0.35s ease;
}
.testimonial-card:hover {
  border-color: rgba(212, 160, 23, 0.35);
  box-shadow: 0 16px 56px rgba(13, 27, 75, 0.14);
  transform: translateY(-6px);
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 6rem;
  line-height: 1;
  color: rgba(212, 160, 23, 0.12);
  font-family: Georgia, serif;
  font-weight: 900;
}
.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}
.testimonial-stars i {
  color: #d4a017;
  font-size: 0.95rem;
}
.testimonial-text {
  color: #374151;
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d1b4b, #1a2d6b);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4a017;
  font-weight: 900;
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-name {
  font-size: 0.9rem;
  font-weight: 800;
  color: #0d1b4b;
  font-family: 'Poppins', sans-serif;
}
.testimonial-role {
  font-size: 0.75rem;
  color: #9ca3af;
}
@media (max-width: 1024px) {
  .testimonials-grid,
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .testimonials-grid,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ── NEWSLETTER ────────────────────────────────────────────── */
.newsletter-section {
  background: linear-gradient(135deg, #1a365d 0%, #2c5282 65%, #1a365d 100%);
  border-radius: 28px;
  padding: 4rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  top: -45%;
  left: -12%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.newsletter-section::after {
  content: '';
  position: absolute;
  bottom: -45%;
  right: -12%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.newsletter-section h2 {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
  font-family: 'Poppins', sans-serif;
}
.newsletter-section p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}
.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 540px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.newsletter-form input {
  flex: 1;
  padding: 0.9rem 1.25rem;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.25s ease;
  backdrop-filter: blur(12px);
}
.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.newsletter-form input:focus {
  border-color: rgba(212, 160, 23, 0.55);
}
.newsletter-form button {
  background: linear-gradient(135deg, #d4a017, #f0c040);
  color: #0d1b4b;
  border: none;
  padding: 0.9rem 1.8rem;
  border-radius: 14px;
  font-weight: 900;
  font-size: 0.95rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
  font-family: inherit;
}
.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(212, 160, 23, 0.45);
}
.newsletter-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.newsletter-note {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 1rem;
  text-align: center;
}
@media (max-width: 600px) {
  .newsletter-section {
    padding: 3rem 1.75rem;
    border-radius: 22px;
  }
  .newsletter-form {
    flex-direction: column;
  }
}

/* ── FOOTER ────────────────────────────────────────────────── */
.footer {
  background: linear-gradient(135deg, #0f1e3a 0%, #152a4f 55%, #0f1e3a 100%);
  color: rgba(255, 255, 255, 0.82);
  padding: 4.5rem 0 0;
  border-top: 1px solid rgba(214, 158, 46, 0.2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.footer-logo-pill {
  background: #ffffff;
  border-radius: 12px;
  padding: 7px 16px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.footer-logo-pill img {
  height: 40px;
  width: auto;
  object-fit: contain;
}
.footer-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
  max-width: 320px;
}
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.65);
}
.footer-contact-item i {
  color: #d4a017;
  width: 16px;
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.footer-contact-item a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.25s ease;
}
.footer-contact-item a:hover {
  color: #d4a017;
}
.footer h4 {
  font-size: 0.95rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 1.4rem;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.02em;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
  text-decoration: none;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.footer-links a::before {
  content: '';
  width: 0;
  height: 1.5px;
  background: #d4a017;
  transition: width 0.25s ease;
  flex-shrink: 0;
}
.footer-links a:hover {
  color: #d4a017;
  padding-left: 0.35rem;
}
.footer-links a:hover::before {
  width: 14px;
}
.social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.social-link:hover {
  background: #d4a017;
  color: #0d1b4b;
  border-color: #d4a017;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(212, 160, 23, 0.4);
}
.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2.5rem;
  }
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem;
  }
}
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ── TOAST NOTIFICATIONS ───────────────────────────────────── */
.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #ffffff;
  border-radius: 16px;
  padding: 1rem 1.3rem;
  box-shadow: 0 12px 48px rgba(13, 27, 75, 0.22);
  border-left: 5px solid #0d1b4b;
  min-width: 280px;
  max-width: 380px;
  pointer-events: all;
  animation: toastIn 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.toast.success {
  border-left-color: #16a34a;
}
.toast.error {
  border-left-color: #dc2626;
}
.toast.warning {
  border-left-color: #d4a017;
}
.toast-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}
.toast.success .toast-icon {
  color: #16a34a;
}
.toast.error .toast-icon {
  color: #dc2626;
}
.toast.warning .toast-icon {
  color: #d4a017;
}
.toast-msg {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0d1b4b;
}
.toast-close {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  font-size: 0.95rem;
  padding: 0.15rem;
  transition: color 0.2s;
  flex-shrink: 0;
}
.toast-close:hover {
  color: #374151;
}

/* ── SCROLL TO TOP ─────────────────────────────────────────── */
.scroll-top-btn {
  position: fixed;
  bottom: 88px;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #0d1b4b, #1a2d6b);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: 0 6px 24px rgba(13, 27, 75, 0.35);
  transition: all 0.3s ease;
  z-index: 980;
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
}
.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.scroll-top-btn:hover {
  background: linear-gradient(135deg, #d4a017, #f0c040);
  color: #0d1b4b;
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(212, 160, 23, 0.45);
}
@media (max-width: 900px) {
  .scroll-top-btn {
    bottom: calc(var(--content-bottom-mobile, 72px) + 12px);
    right: max(1rem, env(safe-area-inset-right));
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }
}

/* ── PAGE LAYOUT ───────────────────────────────────────────── */
.page-wrapper {
  min-height: 100vh;
}
@media (max-width: 900px) {
  .page-wrapper {
  }
}

/* ── PAGE HERO / HEADERS ───────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 2.25rem 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -45%;
  right: -18%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.16) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -55%;
  left: -20%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .breadcrumb { margin-bottom: .65rem; }
.page-hero .breadcrumb a { color: rgba(255, 255, 255, 0.72); }
.page-hero .breadcrumb .sep { color: rgba(255, 255, 255, 0.26); }
.page-hero .breadcrumb .current { color: var(--gold); font-weight: 800; }
.page-hero-title {
  color: var(--white);
  font-size: 1.85rem;
  display: flex;
  align-items: center;
  gap: .65rem;
}
.page-hero-title i { color: var(--gold); }
.page-hero-desc {
  margin-top: .35rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: .95rem;
  max-width: 760px;
}
.page-hero-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  .page-hero { padding: 1.75rem 0; }
  .page-hero-title { font-size: 1.55rem; }
  .page-hero-row { align-items: flex-start; }
}

/* ── EMPTY STATES ───────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 4.25rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.empty-state i {
  font-size: 4.25rem;
  color: rgba(13, 27, 75, 0.12);
  margin-bottom: 1.25rem;
  display: block;
}
.empty-state h2 { margin-bottom: .55rem; }
.empty-state p { color: var(--text-muted); margin-bottom: 1.6rem; }

/* ── ANIMATIONS ────────────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(214, 158, 46, 0.4);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(214, 158, 46, 0);
  }
}
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Entrance animation classes */
.animate-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-scale.visible {
  opacity: 1;
  transform: scale(1);
}
.animate-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.animate-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered delays for grid items */
.products-grid .product-card:nth-child(1),
.category-tiles .cat-tile:nth-child(1),
.grid-3 .testimonial-card:nth-child(1) { transition-delay: 0.05s; }
.products-grid .product-card:nth-child(2),
.category-tiles .cat-tile:nth-child(2),
.grid-3 .testimonial-card:nth-child(2) { transition-delay: 0.1s; }
.products-grid .product-card:nth-child(3),
.category-tiles .cat-tile:nth-child(3),
.grid-3 .testimonial-card:nth-child(3) { transition-delay: 0.15s; }
.products-grid .product-card:nth-child(4),
.category-tiles .cat-tile:nth-child(4) { transition-delay: 0.2s; }
.products-grid .product-card:nth-child(5),
.category-tiles .cat-tile:nth-child(5) { transition-delay: 0.25s; }
.products-grid .product-card:nth-child(6),
.category-tiles .cat-tile:nth-child(6) { transition-delay: 0.3s; }
.products-grid .product-card:nth-child(7),
.category-tiles .cat-tile:nth-child(7) { transition-delay: 0.35s; }
.products-grid .product-card:nth-child(8),
.category-tiles .cat-tile:nth-child(8) { transition-delay: 0.4s; }
