/* ============================================================
   A2ZGT HEALTH PLATFORM — Premium CSS Design System
   Luxury Wellness Brand — Premium UX inspired design
   ============================================================ */

:root {
  /* Brand Colors */
  --gold:         #B8962E;
  --gold-light:   #D4AF57;
  --gold-dark:    #8B6914;
  --charcoal:     #1A1A1A;
  --charcoal-2:   #2C2C2C;
  --charcoal-3:   #3D3D3D;
  --ivory:        #FAF8F3;
  --ivory-2:      #F2EDE3;
  --white:        #FFFFFF;
  --slate:        #6B7280;
  --emerald:      #10B981;
  --ruby:         #EF4444;

  /* Typography */
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'Montserrat', 'Segoe UI', sans-serif;
  --font-body:    'Lato', Arial, sans-serif;

  /* Spacing */
  --section-pad:  140px;
  --nav-height:   90px;

  /* Transitions */
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --ease-slow:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================================
   BASE
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body.a2zgt-body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--charcoal);
  overflow-x: hidden;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

.serif        { font-family: var(--font-serif); }
.sans         { font-family: var(--font-sans); }

h1, h2, h3   { font-family: var(--font-serif); font-weight: 600; line-height: 1.2; }
h4, h5, h6   { font-family: var(--font-sans); font-weight: 600; }

.display-serif {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.heading-section {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 600;
  color: var(--charcoal);
}

.overline {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.a2zgt-nav {
  height: var(--nav-height);
  padding: 0;
  background: transparent;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
  z-index: 1000;
}

.a2zgt-nav.scrolled {
  background: rgba(26, 26, 26, 0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

/* Inner pages: nav is always solid (no transparent hero behind it) */
.a2zgt-nav.inner-nav {
  background: var(--charcoal);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

/* ============================================================
   PAGE BANNER (inner pages — short hero with breadcrumb)
   ============================================================ */
.page-banner {
  position: relative;
  padding: calc(var(--nav-height) + 2.5rem) 0 2.5rem;
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-2) 55%, var(--gold-dark) 150%);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(212,175,87,0.18) 0%, transparent 45%),
                     radial-gradient(circle at 85% 75%, rgba(212,175,87,0.12) 0%, transparent 50%);
  pointer-events: none;
}
.page-banner .container,
.page-banner .container-xl { position: relative; z-index: 1; }
.page-banner h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.page-banner p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto;
}
.page-banner .breadcrumb {
  justify-content: center;
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.page-banner .breadcrumb-item a { color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.2s; }
.page-banner .breadcrumb-item a:hover { color: var(--gold-light); }
.page-banner .breadcrumb-item.active { color: var(--gold-light); }
.page-banner .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.35);
  content: "/";
}

@media (max-width: 576px) {
  .page-banner { padding: calc(var(--nav-height) + 1.5rem) 0 1.75rem; }
  .page-banner p { font-size: 0.85rem; }
}

.brand-serif  { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 700; color: var(--white); letter-spacing: 0.08em; }
.brand-accent { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 300; color: var(--gold-light); letter-spacing: 0.4em; }

.a2zgt-nav .nav-link {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85) !important;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s;
  position: relative;
}
.a2zgt-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 1px;
  background: var(--gold);
  transition: all 0.3s var(--ease);
}
.a2zgt-nav .nav-link:hover::after { left: 0; right: 0; }
.a2zgt-nav .nav-link:hover { color: var(--white) !important; }

/* Mega Menu */
.mega-menu {
  width: 100vw;
  max-width: 900px;
  left: 50%;
  transform: translateX(-50%);
  border: none;
  border-radius: 0;
  border-top: 2px solid var(--gold);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  padding: 0;
}
.mega-heading {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* Buttons Icons */
.btn-icon {
  background: none;
  border: none;
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  transition: color 0.3s;
  position: relative;
}
.btn-icon:hover { color: var(--gold-light); }

.cart-badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--gold);
  color: var(--charcoal);
  font-size: 0.6rem;
  font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.notif-dot {
  position: absolute;
  top: 0; right: 0;
  width: 8px; height: 8px;
  background: var(--ruby);
  border-radius: 50%;
}

/* Gold Button */
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--charcoal);
  border: none;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease);
  padding: 0.6rem 1.5rem;
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(184,150,46,0.4);
  color: var(--white);
}

.btn-outline-gold {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease);
  padding: 0.6rem 1.5rem;
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--charcoal);
}

.btn-charcoal {
  background: var(--charcoal);
  color: var(--white);
  border: none;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.3s;
  padding: 0.75rem 2rem;
}
.btn-charcoal:hover {
  background: var(--charcoal-3);
  color: var(--gold-light);
  transform: translateY(-2px);
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.testimonial-avatar-initial {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gold, #c9a85c);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-family: var(--font-serif);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,26,26,0.8) 0%,
    rgba(26,26,26,0.4) 50%,
    rgba(26,26,26,0.6) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 900px;
  padding: 0 2rem;
}

.hero-content .overline {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.3s var(--ease) forwards;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 1.25rem 0;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s 0.5s var(--ease) forwards;
}

.hero-content .overline {
  font-size: 0.8rem;
  letter-spacing: 0.35em;
}

.hero-content p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 300;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.7s var(--ease) forwards;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: rgba(255,255,255,0.85);
}

.hero-actions {
  opacity: 0;
  animation: fadeUp 0.8s 0.9s var(--ease) forwards;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: scrollBounce 2s infinite;
}
.hero-scroll-indicator span {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 0 auto;
}

/* ============================================================
   SECTIONS
   ============================================================ */

.section-pad { padding: var(--section-pad) 0; }
.section-pad-sm { padding: calc(var(--section-pad) * 0.6) 0; }

.section-header { margin-bottom: 4rem; }
.section-header p { font-size: 1.1rem; color: var(--slate); max-width: 600px; }

.section-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  margin: 1rem 0 1.5rem;
}
.section-divider.center { margin-left: auto; margin-right: auto; }

/* ============================================================
   PRODUCTS SWIPER
   ============================================================ */

.products-swiper {
  position: relative;
  padding: 0.5rem 0 3rem;
  overflow: hidden;
}
.products-swiper .swiper-slide {
  height: auto;
  display: flex;
}
.products-swiper .swiper-slide .product-card {
  width: 100%;
}

.products-swiper .swiper-next,
.products-swiper ~ .swiper-next,
.products-swiper .swiper-prev,
.products-swiper ~ .swiper-prev {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s var(--ease);
}
.products-swiper .swiper-prev,
.products-swiper ~ .swiper-prev { left: 0.5rem; }
.products-swiper .swiper-next,
.products-swiper ~ .swiper-next { right: 0.5rem; }
.products-swiper .swiper-prev:hover,
.products-swiper .swiper-next:hover,
.products-swiper ~ .swiper-prev:hover,
.products-swiper ~ .swiper-next:hover {
  background: var(--gold);
  color: var(--white) !important;
}
.products-swiper .swiper-button-disabled { opacity: 0.3; pointer-events: none; }

@media (max-width: 767px) {
  .products-swiper .swiper-next,
  .products-swiper .swiper-prev,
  .products-swiper ~ .swiper-next,
  .products-swiper ~ .swiper-prev {
    display: none;
  }
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */

.product-card {
  border: none;
  border-radius: 0;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  background: var(--white);
  cursor: pointer;
}

.product-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(0,0,0,0.12); }

.product-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--ivory);
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-slow);
}

.product-card:hover .product-card-img img { transform: scale(1.05); }

.product-card-actions {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.85), transparent);
  padding: 1.5rem 1rem 1rem;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
  display: flex;
  gap: 0.5rem;
}

.product-card:hover .product-card-actions { transform: translateY(0); }

.product-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--gold);
  color: var(--charcoal);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
}

.product-card-body {
  padding: 1.25rem 0.5rem 0.5rem;
}

.product-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.35rem;
  text-decoration: none;
}

.product-price {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
}

.product-price .original-price {
  font-size: 0.85rem;
  text-decoration: line-through;
  color: var(--slate);
  margin-right: 0.5rem;
}

.product-price .special-price { color: var(--ruby); }

/* ============================================================
   STATS STRIP
   ============================================================ */

.stats-strip {
  background: var(--charcoal);
  padding: 3rem 0;
}

.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 0.5rem;
}

/* ============================================================
   FEATURE CARDS (Become WC/STM)
   ============================================================ */

.opportunity-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  border-radius: 0;
}

.opportunity-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-slow);
}

.opportunity-card:hover img { transform: scale(1.05); }

.opportunity-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.85) 0%, rgba(26,26,26,0.05) 55%, transparent 100%);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
}
.opportunity-card-overlay h3,
.opportunity-card-overlay h4,
.opportunity-card-overlay h5 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.opportunity-card-overlay::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-top: 0.75rem;
  order: -1;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */

.testimonial-card {
  background: var(--ivory);
  padding: 2.5rem;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--gold-light);
  opacity: 0.3;
  position: absolute;
  top: 1rem; left: 1.5rem;
  line-height: 1;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal-3);
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

/* ============================================================
   SEARCH OVERLAY
   ============================================================ */

.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,26,0.98);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease);
}

.search-overlay.active { opacity: 1; visibility: visible; }

.search-inner { width: 100%; max-width: 700px; padding: 2rem; }

.search-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--gold);
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--white);
  padding: 1rem 0;
  outline: none;
}
.search-input::placeholder { color: rgba(255,255,255,0.3); }

.search-close {
  position: absolute;
  top: 2rem; right: 2rem;
  background: none; border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s;
}
.search-close:hover { opacity: 1; }

/* ============================================================
   FLASH ALERTS
   ============================================================ */

.alert-float {
  position: fixed;
  top: calc(var(--nav-height) + 1rem);
  right: 1.5rem;
  z-index: 9998;
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 4px;
  animation: slideInRight 0.4s var(--ease) forwards, fadeOut 0.4s 4s forwards;
  max-width: 380px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.alert-float-success { background: var(--emerald); color: var(--white); }
.alert-float-danger  { background: var(--ruby); color: var(--white); }

/* ============================================================
   FOOTER
   ============================================================ */

.a2zgt-footer { background: var(--charcoal); color: rgba(255,255,255,0.7); }

.footer-top { padding: 80px 0 60px; }
.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
}

.footer-tagline { font-size: 0.95rem; line-height: 1.7; color: rgba(255,255,255,0.5); max-width: 360px; }

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.footer-links { list-style: none; padding: 0; }
.footer-links li + li { margin-top: 0.6rem; }
.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold-light); }

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: all 0.3s;
  font-size: 0.9rem;
  margin-right: 0.5rem;
}
.social-link:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.payment-icons { font-size: 1.8rem; color: rgba(255,255,255,0.3); }
.payment-icons i + i { margin-left: 0.5rem; }

/* ============================================================
   ADMIN / PORTAL LAYOUT
   ============================================================ */

.portal-wrapper { display: flex; min-height: 100vh; }

.portal-sidebar {
  width: 260px;
  min-width: 260px;
  background: var(--charcoal);
  position: fixed;
  top: 0; left: 0; bottom: 0;
  overflow-y: auto;
  z-index: 100;
  transition: transform 0.3s var(--ease);
}

.portal-sidebar-brand {
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.portal-nav { padding: 1rem 0; }

.portal-nav-section {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding: 1.5rem 1.5rem 0.5rem;
}

.portal-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.25s;
  position: relative;
}

.portal-nav-link:hover,
.portal-nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.04);
}

.portal-nav-link.active::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
}

.portal-nav-link i { width: 18px; text-align: center; font-size: 0.9rem; }

.portal-main {
  flex: 1;
  margin-left: 260px;
  background: #F4F5F7;
  min-height: 100vh;
}

.portal-topbar {
  background: var(--white);
  padding: 0.875rem 2rem;
  border-bottom: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.portal-content { padding: 2rem; }

/* Dashboard Cards */
.stat-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  border: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s;
}
.stat-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }

.stat-card-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}

.stat-card .stat-number { font-size: 1.8rem; color: var(--charcoal); }
.stat-card .stat-label  { font-size: 0.8rem; color: var(--slate); }

.stat-card .trend-up   { color: var(--emerald); font-size: 0.8rem; }
.stat-card .trend-down { color: var(--ruby); font-size: 0.8rem; }

.chart-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  padding: 1.5rem;
}

/* Data Tables */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  padding: 0.75rem 1rem;
  border-bottom: 2px solid #E5E7EB;
  background: #F9FAFB;
  white-space: nowrap;
}
.data-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid #F3F4F6;
  font-size: 0.875rem;
  color: var(--charcoal-3);
  vertical-align: middle;
}
.data-table tbody tr:hover { background: #FAFBFC; }

/* ============================================================
   PORTAL SIDEBAR (STM/WC/Customer)
   ============================================================ */

.portal-body { background: #F4F5F7; }

.portal-sidebar .sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--white);
  text-decoration: none;
}

.sidebar-brand-text {
  font-family: var(--font-serif, 'Playfair Display', serif);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--white);
}

.sidebar-nav { padding: 1rem 0; }

.sidebar-section-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding: 1.5rem 1.5rem 0.5rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.25s;
  position: relative;
}

.sidebar-link:hover,
.sidebar-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.04);
}

.sidebar-link.active::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
}

.sidebar-link i { width: 18px; text-align: center; font-size: 0.9rem; }

.sidebar-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 0.5rem 0;
}

.sidebar-footer .sidebar-link.text-danger { color: #F87171 !important; }
.sidebar-footer .sidebar-link.text-danger:hover { background: rgba(248,113,113,0.08); }

/* Avatar */
.avatar-sm {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gold-dark);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* KPI Stat Cards (portal) */
.stat-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s;
}
.stat-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }

.stat-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--white);
}
.stat-icon.gold     { background: var(--gold-dark); }
.stat-icon.charcoal { background: var(--charcoal); }
.stat-icon.green    { background: var(--emerald, #10B981); }
.stat-icon.purple   { background: #8B5CF6; }

.stat-value { font-size: 1.6rem; font-weight: 700; color: var(--charcoal); line-height: 1.2; }
.stat-label { font-size: 0.8rem; color: var(--slate); margin-top: 0.25rem; }

.card-title-sm {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--charcoal);
}

/* Portal layout collapse behavior */
.portal-sidebar.collapsed { transform: translateX(-100%); }
.portal-main.expanded { margin-left: 0; }

@media (min-width: 992px) {
  .portal-sidebar { display: flex; flex-direction: column; }
}

/* ============================================================
   LOYALTY TIER BADGES
   ============================================================ */

.tier-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.tier-bronze  { background: rgba(205,127,50,0.1);  color: #CD7F32; }
.tier-silver  { background: rgba(192,192,192,0.15); color: #808080; }
.tier-gold    { background: rgba(255,215,0,0.15);   color: var(--gold-dark); }
.tier-platinum { background: rgba(229,228,226,0.2); color: #777; }
.tier-diamond { background: rgba(185,242,255,0.2);  color: #0EA5E9; }

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeOut {
  to { opacity: 0; visibility: hidden; }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(10px); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 991px) {
  .portal-sidebar { transform: translateX(-100%); }
  .portal-sidebar.open,
  .portal-sidebar.collapsed { transform: translateX(0); }
  .portal-main { margin-left: 0; }
  :root { --section-pad: 60px; }
}

@media (max-width: 767px) {
  .hero-content h1 { font-size: 2.5rem; }
  .hero-actions { flex-direction: column; align-items: center; }
}

/* ============================================================
   PREMIUM NAV UPGRADE
   ============================================================ */

/* Nav brand text — Rolex-style spaced serif */
.brand-serif {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #fff;
}
.brand-accent {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  vertical-align: middle;
}

.a2zgt-nav .nav-link {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82) !important;
  padding: 0.5rem 0.75rem !important;
  position: relative;
  transition: color 0.3s;
}
.a2zgt-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%; right: 50%;
  height: 1px;
  background: var(--gold-light);
  transition: left 0.3s var(--ease), right 0.3s var(--ease);
}
.a2zgt-nav .nav-link:hover { color: #fff !important; }
.a2zgt-nav .nav-link:hover::after { left: 0.75rem; right: 0.75rem; }

/* Mega menu */
.mega-menu {
  border: none;
  border-radius: 0;
  border-top: 2px solid var(--gold-dark);
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  min-width: 600px;
  padding: 1.5rem 0;
  background: #fff;
}
.mega-heading {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1rem;
  padding: 0 1rem;
}
.mega-menu .dropdown-item {
  font-size: 0.82rem;
  color: var(--charcoal);
  padding: 0.45rem 1rem;
  transition: color 0.2s, padding-left 0.2s;
}
.mega-menu .dropdown-item:hover {
  background: transparent;
  color: var(--gold-dark);
  padding-left: 1.4rem;
}

/* Search overlay — premium dark */
.search-overlay {
  background: rgba(15,15,15,0.97);
  backdrop-filter: blur(12px);
}
.search-input {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 400;
  color: #fff;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding: 1rem 0;
  width: 100%;
  outline: none;
  letter-spacing: 0.02em;
}
.search-input::placeholder { color: rgba(255,255,255,0.25); }
.search-btn {
  background: none;
  border: none;
  color: var(--gold-light);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.2s;
}
.search-btn:hover { color: #fff; }

/* ============================================================
   FOOTER PREMIUM UPGRADE
   ============================================================ */

.a2zgt-footer { background: var(--charcoal); color: rgba(255,255,255,0.65); }

.footer-top { padding: 6rem 0 4rem; }

.footer-brand {
  font-size: 1.1rem;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
  max-width: 280px;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.25s, padding-left 0.2s;
  display: block;
}
.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }

.footer-social { display: flex; gap: 1rem; }
.social-link {
  display: flex;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.9rem;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.social-link:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  background: rgba(212,175,87,0.08);
}

.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

.payment-icons {
  display: flex;
  gap: 1rem;
  font-size: 1.4rem;
  justify-content: flex-end;
  color: rgba(255,255,255,0.3);
}
.payment-icons i:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   BUTTON SYSTEM — PREMIUM
   ============================================================ */

.btn-gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  color: #fff;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border-radius: 0;
  transition: opacity 0.3s, transform 0.2s;
}
.btn-gold:hover { opacity: 0.88; color: #fff; transform: translateY(-1px); }

.btn-charcoal {
  background: var(--charcoal);
  color: #fff;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 0;
}
.btn-charcoal:hover { background: var(--charcoal-3); color: #fff; }

.btn-outline-gold {
  background: transparent;
  color: var(--gold-dark);
  border: 1px solid var(--gold-dark);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 0;
  transition: background 0.3s, color 0.3s;
}
.btn-outline-gold:hover { background: var(--gold-dark); color: #fff; }

/* ============================================================
   PRODUCT CARD PREMIUM
   ============================================================ */

.product-card {
  background: var(--white);
  border: 0.5px solid rgba(0,0,0,0.07);
  transition: box-shadow 0.4s var(--ease);
  height: 100%;
}
.product-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.1); }

.product-card-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--ivory);
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-slow);
  display: block;
}
.product-card:hover .product-card-img img { transform: scale(1.05); }

.product-badge {
  position: absolute;
  top: 0.85rem; left: 0.85rem;
  background: var(--gold-dark);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  z-index: 2;
}

.product-card-actions {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  transform: translateY(100%);
  transition: transform 0.35s var(--ease);
  z-index: 3;
}
.product-card:hover .product-card-actions { transform: translateY(0); }

.product-card-body { padding: 1.25rem; }
.product-name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
  line-height: 1.4;
  display: block;
}
.product-name:hover { color: var(--gold-dark); }
.product-price {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
}
.original-price {
  font-size: 0.8rem;
  color: var(--slate);
  text-decoration: line-through;
  margin-right: 0.4rem;
}
.special-price { color: var(--gold-dark); font-weight: 700; }

/* ============================================================
   SCROLL-TRIGGERED NAV GLOW LINE
   ============================================================ */

.a2zgt-nav.scrolled::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-dark), transparent);
  opacity: 0.5;
}

/* PRELOADER — styles moved inline to layout for self-containment */

/* ============================================================
   RESPONSIVE — CINEMATIC HERO
   ============================================================ */

@media (max-width: 991px) {
  .hero-stage-inner { padding: 0 2rem; }
  .hero-headline { font-size: clamp(2.2rem, 7vw, 3.5rem); }
}
@media (max-width: 575px) {
  .hero-stage { padding-bottom: 5rem; }
  .hero-stage-inner { padding: 0 1.5rem; }
  .hero-headline { font-size: 2.2rem; }
  .hero-subline { font-size: 0.95rem; }
  .hero-cta-group { gap: 1.25rem; }
}
