/* Aglobe Design System - Modern Overhaul */
:root {
  --aglobe-primary: #1f7a4c;
  --aglobe-primary-dark: #16633f;
  --aglobe-primary-light: #e8f2ec;
  --aglobe-primary-rgb: 31, 122, 76;
  --aglobe-secondary: #1f2937;
  --aglobe-text: #1f2937;
  --aglobe-text-muted: #5f6b79;
  --aglobe-bg: #f7faf8;
  --aglobe-surface-muted: #eff5f1;
  --aglobe-border: #d8e4db;
  --aglobe-border-light: #e2ebe5;
  --aglobe-white: #ffffff;
  --aglobe-radius: 10px;
  --aglobe-radius-lg: 16px;
  --aglobe-shadow: 0 10px 24px -24px rgba(31, 41, 55, 0.2);
  --aglobe-shadow-lg: 0 16px 36px -32px rgba(31, 41, 55, 0.24);
}

html {
  font-size: 15px;
}

body {
  font-family: 'Plus Jakarta Sans', 'Public Sans', 'Segoe UI', sans-serif;
  background-color: var(--aglobe-bg);
  color: var(--aglobe-text);
  line-height: 1.48;
  font-size: 0.95rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.22;
}

h1 {
  font-size: clamp(1.7rem, 2.2vw, 2.3rem);
}

h2 {
  font-size: clamp(1.42rem, 1.8vw, 1.9rem);
}

h3 {
  font-size: clamp(1.2rem, 1.45vw, 1.55rem);
}

h4 {
  font-size: 1.04rem;
}

h5 {
  font-size: 0.95rem;
}

h6 {
  font-size: 0.86rem;
}

input,
select,
textarea,
button {
  font: inherit;
}

@media (max-width: 992px) {
  html {
    font-size: 14px;
  }

  body {
    font-size: 0.92rem;
  }
}

/* Layout Utilities */
.container {
  max-width: 1200px;
}

/* Modern Header */
.main-header {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
  transition: all 0.3s ease;
}

/* Modern Hero */
.hero-gradient {
  background: linear-gradient(135deg, var(--aglobe-primary-dark) 0%, var(--aglobe-primary) 100%) !important;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 40px 40px;
}

.hero-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://www.transparenttextures.com/patterns/cubes.png');
  opacity: 0.05;
}

/* Search Container - Glassmorphism */
.hero-search {
  background: white !important;
  border-radius: 16px !important;
  padding: 8px !important;
  box-shadow: var(--aglobe-shadow-lg) !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
}

.hero-search input {
  border: none !important;
  font-weight: 500;
}

.hero-search input:focus {
  box-shadow: none !important;
}

/* Category Cards */
.category-card {
  background: white;
  padding: 24px 16px;
  border-radius: var(--aglobe-radius-lg);
  border: 1px solid #f1f5f9;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--aglobe-shadow-lg);
  border-color: var(--aglobe-primary-light);
  background: var(--aglobe-primary-light);
}

.category-icon {
  width: 56px;
  height: 56px;
  background: var(--aglobe-primary-light);
  color: var(--aglobe-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin: 0 auto 16px;
  transition: all 0.3s;
}

.category-card:hover .category-icon {
  background: var(--aglobe-primary);
  color: white;
  transform: scale(1.1) rotate(5deg);
}

/* Product Cards */
.product-card {
  background: white;
  border-radius: var(--aglobe-radius-lg);
  border: 1px solid #f1f5f9;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--aglobe-shadow-lg);
}

.product-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--aglobe-primary);
  text-transform: uppercase;
}

.product-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef4444;
  box-shadow: var(--aglobe-shadow);
  transition: all 0.2s;
}

.product-wishlist:hover {
  transform: scale(1.1);
  background: #fef2f2;
}

.product-content {
  padding: 16px;
}

.product-category {
  font-size: 0.75rem;
  color: var(--aglobe-text-muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}

.product-title {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--aglobe-text);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-location {
  font-size: 0.85rem;
  color: var(--aglobe-text-muted);
  margin-bottom: 12px;
}

.product-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--aglobe-primary);
}

/* Feature Cards */
.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: white;
  border-radius: var(--aglobe-radius-lg);
  border: 1px solid #f1f5f9;
  height: 100%;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--aglobe-primary-light);
  color: var(--aglobe-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.feature-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.feature-text {
  font-size: 0.875rem;
  color: var(--aglobe-text-muted);
  margin-bottom: 0;
}

/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(135deg, var(--aglobe-primary) 0%, var(--aglobe-primary-dark) 100%);
  border-radius: 40px;
  margin: 40px 0;
  padding: 60px 0;
}

/* Onboarding Banner */
.onboarding-banner {
  background: white;
  border-radius: 32px;
  border: 1px solid #f1f5f9;
  box-shadow: var(--aglobe-shadow);
}

.onboarding-card {
  background: var(--aglobe-bg);
  border-radius: 24px;
  border: 1px solid #e2e8f0;
}

/* Buttons */
.btn-primary {
  background: var(--aglobe-primary);
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(var(--aglobe-primary-rgb), 0.2);
  transition: all 0.2s;
}

.btn-primary:hover {
  background: var(--aglobe-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(var(--aglobe-primary-rgb), 0.3);
}

.btn-modern {
  border-radius: 999px;
  font-weight: 700;
  padding: 0.72rem 1.15rem;
  box-shadow: 0 16px 28px -22px rgba(31, 41, 55, 0.18);
}

.btn-outline-primary {
  color: var(--aglobe-primary);
  border-color: rgba(var(--aglobe-primary-rgb), 0.34);
}

.btn-outline-primary:hover {
  background: rgba(var(--aglobe-primary-rgb), 0.08);
  color: var(--aglobe-primary-dark);
  border-color: rgba(var(--aglobe-primary-rgb), 0.42);
}

.btn-outline-secondary {
  color: var(--aglobe-text-muted);
  border-color: rgba(148, 163, 184, 0.46);
  background: #fff;
}

.btn-outline-secondary:hover {
  background: rgba(var(--aglobe-primary-rgb), 0.06);
  border-color: rgba(var(--aglobe-primary-rgb), 0.26);
  color: var(--aglobe-text);
}

.bg-primary-light {
  background: rgba(var(--aglobe-primary-rgb), 0.1) !important;
}

.bg-warning-light {
  background: rgba(245, 158, 11, 0.14) !important;
}

.bg-danger-light {
  background: rgba(220, 38, 38, 0.12) !important;
}

.hover-primary {
  transition: color 0.2s ease;
}

.hover-primary:hover {
  color: var(--aglobe-primary) !important;
}

.category-icon-wrapper {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--aglobe-primary-rgb), 0.1);
  color: var(--aglobe-primary);
  font-size: 1.5rem;
}

.badge-aglobe {
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  font-size: 0.72rem;
  font-weight: 800;
}

.badge-aglobe-success {
  background: rgba(var(--aglobe-primary-rgb), 0.12);
  color: var(--aglobe-primary-dark);
}

.badge-aglobe-warning {
  background: rgba(245, 158, 11, 0.16);
  color: #9a6700;
}

.badge-aglobe-danger {
  background: rgba(220, 38, 38, 0.12);
  color: #b42318;
}

.badge-aglobe-info {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

html {
  scroll-behavior: smooth;
}

body.aglobe-site-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(var(--aglobe-primary-rgb), 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 20%),
    linear-gradient(180deg, #f7faf8 0%, #eef5f0 100%);
}

body.aglobe-site-shell::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.28;
  z-index: 0;
}

.aglobe-site-shell > * {
  position: relative;
  z-index: 1;
}

.aglobe-content-shell {
  padding: 2rem 0 3.5rem;
}

body.home-page .aglobe-content-shell {
  padding: 0;
}

.aglobe-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 228, 219, 0.92);
  box-shadow: 0 20px 44px -34px rgba(31, 41, 55, 0.24);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.aglobe-announcement {
  background: linear-gradient(90deg, var(--aglobe-primary-dark), var(--aglobe-primary));
  color: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.aglobe-announcement__inner,
.aglobe-header-shell__inner,
.aglobe-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.aglobe-announcement__inner {
  min-height: 42px;
}

.aglobe-announcement__items,
.aglobe-announcement__links,
.aglobe-footer-contact,
.aglobe-store-list,
.aglobe-footer-payments,
.aglobe-mobile-nav__inner {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.aglobe-announcement__items span,
.aglobe-announcement__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
}

.aglobe-announcement__links a {
  color: #fff;
  font-weight: 700;
}

.aglobe-announcement__links a:hover {
  opacity: 0.86;
}

.aglobe-header-shell {
  padding: 1rem 0;
}

.aglobe-header-shell__inner {
  min-height: 72px;
}

.aglobe-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.aglobe-brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--aglobe-primary-dark), var(--aglobe-primary));
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  box-shadow: 0 16px 30px -24px rgba(var(--aglobe-primary-rgb), 0.7);
}

.aglobe-brand__copy strong,
.aglobe-brand__copy small {
  display: block;
}

.aglobe-brand__copy strong {
  color: var(--aglobe-text);
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.aglobe-brand__copy small {
  color: var(--aglobe-text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.aglobe-brand--footer .aglobe-brand__copy strong,
.aglobe-brand--footer .aglobe-brand__copy small {
  color: #fff;
}

.aglobe-brand--footer .aglobe-brand__copy small {
  color: rgba(255, 255, 255, 0.7);
}

.aglobe-header-search {
  flex: 1;
  max-width: 540px;
  min-width: 240px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0.5rem 0.45rem 1rem;
  background: rgba(239, 245, 241, 0.92);
  border: 1px solid rgba(216, 228, 219, 0.9);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.aglobe-header-search i {
  color: var(--aglobe-text-muted);
}

.aglobe-header-search input {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--aglobe-text);
  outline: none;
  min-width: 0;
}

.aglobe-header-search button {
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.25rem;
  background: var(--aglobe-primary);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
}

.aglobe-header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.aglobe-action-icon {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--aglobe-text-muted);
  background: rgba(239, 245, 241, 0.7);
  border: 1px solid rgba(216, 228, 219, 0.7);
}

.aglobe-action-icon:hover {
  color: var(--aglobe-primary);
  background: var(--aglobe-primary-light);
}

.aglobe-action-icon__badge {
  position: absolute;
  top: -4px;
  right: -3px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--aglobe-primary);
  color: #fff;
  font-size: 0.63rem;
  font-weight: 800;
}

.aglobe-header-link {
  color: var(--aglobe-text-muted);
  font-weight: 700;
}

.aglobe-shell-btn {
  min-height: 44px;
}

.aglobe-user-shell {
  position: relative;
}

.aglobe-user-toggle {
  border: 1px solid rgba(216, 228, 219, 0.85);
  border-radius: 999px;
  padding: 0.35rem 0.5rem 0.35rem 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(239, 245, 241, 0.78);
  color: var(--aglobe-text);
  cursor: pointer;
  font: inherit;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
}

.aglobe-user-toggle__avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--aglobe-primary);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
}

.aglobe-user-toggle__copy strong,
.aglobe-user-toggle__copy small {
  display: block;
  text-align: left;
}

.aglobe-user-toggle__copy strong {
  font-size: 0.86rem;
}

.aglobe-user-toggle__copy small {
  color: var(--aglobe-text-muted);
  font-size: 0.68rem;
  text-transform: capitalize;
}

.aglobe-user-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  width: min(260px, 84vw);
  display: none;
  background: #fff;
  border: 1px solid rgba(216, 228, 219, 0.96);
  border-radius: 20px;
  box-shadow: 0 28px 64px -38px rgba(31, 41, 55, 0.35);
  overflow: hidden;
}

.aglobe-user-menu.is-open {
  display: block;
}

.aglobe-user-menu__head,
.aglobe-user-menu__links,
.aglobe-user-menu__foot {
  padding: 0.9rem 1rem;
}

.aglobe-user-menu__head {
  border-bottom: 1px solid rgba(216, 228, 219, 0.85);
}

.aglobe-user-menu__head strong,
.aglobe-user-menu__head small {
  display: block;
}

.aglobe-user-menu__head small {
  color: var(--aglobe-text-muted);
  margin-top: 0.2rem;
  word-break: break-word;
}

.aglobe-user-menu__links {
  display: grid;
  gap: 0.2rem;
}

.aglobe-user-menu__links a,
.aglobe-user-menu__foot a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.72rem 0.8rem;
  border-radius: 14px;
  color: var(--aglobe-text-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.aglobe-user-menu__links a:hover,
.aglobe-user-menu__foot a:hover,
.aglobe-primary-nav__link:hover,
.aglobe-primary-nav__link:focus {
  background: rgba(var(--aglobe-primary-rgb), 0.08);
  color: var(--aglobe-text) !important;
}

.aglobe-user-menu__links a.is-highlight {
  color: var(--aglobe-primary);
}

.aglobe-user-menu__foot {
  border-top: 1px solid rgba(216, 228, 219, 0.85);
}

.aglobe-user-menu__foot a.is-danger {
  color: #b42318;
}

.aglobe-primary-nav {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.88));
  border-top: 1px solid rgba(216, 228, 219, 0.85);
}

.aglobe-primary-nav__list {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 0;
  overflow-x: auto;
}

.aglobe-primary-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.78rem 1rem;
  border-radius: 16px;
  color: var(--aglobe-text-muted);
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.aglobe-primary-nav__icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--aglobe-primary-rgb), 0.09);
  color: var(--aglobe-primary);
}

.aglobe-primary-nav__link.is-active {
  background: rgba(var(--aglobe-primary-rgb), 0.1);
  color: var(--aglobe-text);
  box-shadow: inset 0 0 0 1px rgba(var(--aglobe-primary-rgb), 0.14);
}

.aglobe-site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
  padding: 4rem 0 2rem;
  background: #0f1720;
  color: rgba(255, 255, 255, 0.72);
}

.aglobe-site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(var(--aglobe-primary-rgb), 0.18), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  pointer-events: none;
}

.aglobe-footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.aglobe-footer-brand p {
  max-width: 30rem;
  margin: 1rem 0 1.15rem;
  line-height: 1.75;
}

.aglobe-footer-contact span,
.aglobe-footer-column a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.74);
}

.aglobe-footer-column h6 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.aglobe-footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.aglobe-site-footer a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.aglobe-site-footer a:hover {
  color: #ffffff !important;
  transform: translateX(2px);
}

.aglobe-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.aglobe-store-badge i {
  font-size: 1.2rem;
}

.aglobe-store-badge small {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.aglobe-store-badge strong {
  display: block;
  font-size: 0.82rem;
}

.aglobe-footer-bottom {
  position: relative;
  z-index: 1;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.aglobe-footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.aglobe-footer-payments span {
  min-width: 82px;
  min-height: 40px;
  padding: 0 0.95rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}

.aglobe-mobile-nav {
  display: none;
  position: fixed;
  inset: auto 0 0;
  z-index: 1000;
  padding: 0.65rem 0 calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(216, 228, 219, 0.92);
  box-shadow: 0 -18px 40px -26px rgba(31, 41, 55, 0.32);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.aglobe-mobile-nav__inner {
  justify-content: space-around;
}

.aglobe-mobile-nav a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 64px;
  color: var(--aglobe-text-muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.aglobe-mobile-nav a i {
  font-size: 1rem;
}

.aglobe-mobile-nav a.is-active,
.aglobe-mobile-nav a:hover,
.aglobe-mobile-nav a:focus {
  color: var(--aglobe-primary) !important;
}

/* New Header Styles - UI Design */
.aglobe-header {
  position: sticky !important;
  top: 0;
  z-index: 1000;
  height: 70px !important;
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05) !important;
}

.aglobe-header__inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 100% !important;
  padding: 0 4rem !important;
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
}

@media (min-width: 992px) {
  .aglobe-header__inner {
    padding: 0 6rem !important;
  }
}

.aglobe-header__brand {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  flex-shrink: 0;
}

.aglobe-header__brand .material-symbols-outlined {
  font-size: 2rem;
  color: var(--aglobe-primary);
  font-weight: 700;
}

.aglobe-header__logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--aglobe-primary);
}

.aglobe-header__nav {
  display: flex !important;
  align-items: center !important;
  gap: 2rem !important;
  flex: 1 !important;
  justify-content: center !important;
}

/* Show nav by default, hide only on mobile */
.aglobe-header__nav {
  visibility: visible;
  opacity: 1;
}

/* Hide nav on small screens if has d-none class */
@media (max-width: 991px) {
  .aglobe-header__nav.d-none {
    display: none !important;
  }
}

.aglobe-header__nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--aglobe-text);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.aglobe-header__nav a:hover,
.aglobe-header__nav a.is-active {
  color: var(--aglobe-primary);
}

.aglobe-header__actions {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  flex-shrink: 0;
}

.aglobe-header__icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--aglobe-text-muted);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.aglobe-header__icon-btn:hover {
  background: #f1f5f9;
  color: var(--aglobe-text);
}

.aglobe-header__badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: #c9a227;
  color: white;
  font-size: 0.625rem;
  font-weight: 700;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aglobe-header__divider {
  width: 1px;
  height: 24px;
  background: #e2e8f0;
}

.aglobe-header__link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--aglobe-text);
  padding: 0.5rem 1rem;
  transition: color 0.2s ease;
}

.aglobe-header__link:hover {
  color: var(--aglobe-primary);
}

.aglobe-header__btn-primary {
  background: var(--aglobe-primary);
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.625rem 1.5rem;
  border-radius: 8px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.aglobe-header__btn-primary:hover {
  background: var(--aglobe-primary-dark);
  transform: translateY(-1px);
}

.aglobe-header__user-shell {
  position: relative;
}

.aglobe-header__user-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--aglobe-primary-light);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--aglobe-primary);
  font-weight: 700;
  font-size: 0.875rem;
}

.aglobe-header__user-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.15);
  border: 1px solid #e2e8f0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 100;
}

.aglobe-header__user-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.aglobe-header__user-menu-head {
  padding: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.aglobe-header__user-menu-head strong {
  display: block;
  color: var(--aglobe-text);
  font-size: 0.875rem;
}

.aglobe-header__user-menu-head small {
  display: block;
  color: var(--aglobe-text-muted);
  font-size: 0.75rem;
}

.aglobe-header__user-menu-links {
  padding: 0.5rem 0;
}

.aglobe-header__user-menu-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  color: var(--aglobe-text);
  font-size: 0.875rem;
  transition: background-color 0.15s ease;
}

.aglobe-header__user-menu-links a:hover {
  background: #f8fafc;
  color: var(--aglobe-primary);
}

.aglobe-header__user-menu-links a.is-highlight {
  color: var(--aglobe-primary);
  font-weight: 600;
}

.aglobe-header__user-menu-foot {
  padding: 0.5rem 0;
  border-top: 1px solid #e2e8f0;
}

.aglobe-header__user-menu-foot a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  color: #dc2626;
  font-size: 0.875rem;
}

.aglobe-header__user-menu-foot a:hover {
  background: #fef2f2;
}

/* New Footer Styles - UI Design */
.aglobe-footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 4rem 0 2rem;
}

.aglobe-footer__inner {
  padding: 0 2rem;
}

.aglobe-footer__brand {
  max-width: 280px;
}

.aglobe-footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.aglobe-footer__logo .material-symbols-outlined {
  font-size: 2rem;
  color: var(--aglobe-primary);
  font-weight: 700;
}

.aglobe-footer__logo span {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--aglobe-primary);
}

.aglobe-footer__desc {
  color: #64748b;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.aglobe-footer__app-label {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

.aglobe-footer__app-badges {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.aglobe-footer__app-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  background: #1f2937;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.aglobe-footer__app-badge:hover {
  opacity: 0.9;
  color: white;
}

.aglobe-footer__app-badge i {
  font-size: 1.25rem;
}

.aglobe-footer__app-badge small {
  display: block;
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.aglobe-footer__app-badge strong {
  display: block;
  font-size: 0.75rem;
}

.aglobe-footer__column h6 {
  color: var(--aglobe-text);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.aglobe-footer__column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.aglobe-footer__column a {
  color: #64748b;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.aglobe-footer__column a:hover {
  color: var(--aglobe-primary);
}

.aglobe-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  margin-top: 3rem;
  border-top: 1px solid #e2e8f0;
}

.aglobe-footer__bottom p {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #94a3b8;
  text-transform: uppercase;
}

.aglobe-footer__payments {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.aglobe-footer__payment-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.aglobe-footer__payment-icon i {
  font-size: 1.5rem;
  color: #64748b;
}

.aglobe-footer__payment-text {
  font-size: 0.75rem;
  color: #64748b;
}

/* Responsive */
@media (max-width: 991px) {
  .aglobe-header__nav {
    display: none;
  }
  
  .aglobe-header__link {
    display: none;
  }
}

@media (max-width: 767px) {
  .aglobe-header__inner,
  .aglobe-footer__inner {
    padding: 0 1rem;
  }
  
  .aglobe-footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

.page-header {
  position: relative;
  overflow: hidden;
  padding: 1.75rem 1.75rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(236, 253, 245, 0.92));
  border: 1px solid rgba(var(--aglobe-primary-rgb), 0.12);
  border-radius: 28px;
  box-shadow: 0 24px 50px -32px rgba(15, 23, 42, 0.4);
}

.page-header::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -12%;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(var(--aglobe-primary-rgb), 0.16), transparent 68%);
  pointer-events: none;
}

.page-title {
  margin: 0;
  font-size: clamp(1.8rem, 2vw, 2.6rem);
  color: var(--aglobe-text);
}

.page-subtitle {
  margin: 0.45rem 0 0;
  color: var(--aglobe-text-muted);
  max-width: 52rem;
}

.page-header-actions {
  align-items: center;
}

.page-header .breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 0;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  color: var(--aglobe-text-muted);
}

.page-header .breadcrumb-item a:hover {
  color: var(--aglobe-primary);
}

.card,
.table,
.alert {
  border-radius: 14px;
}

.card {
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 10px 24px -24px rgba(15, 23, 42, 0.22);
}

.card-header,
.card-footer {
  background: rgba(248, 250, 252, 0.82);
}

.table {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
}

.table > :not(caption) > * > * {
  border-color: rgba(226, 232, 240, 0.9);
}

.table thead th {
  color: var(--aglobe-text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.btn,
.form-control,
.form-select,
.input-group-text {
  border-radius: 10px;
}

.btn {
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 0.9rem;
  padding: 0.42rem 0.76rem;
}

.btn-outline-secondary,
.btn-outline-primary,
.btn-outline-info,
.btn-outline-success,
.btn-outline-danger {
  border-width: 1.5px;
}

.form-control,
.form-select {
  border-color: rgba(203, 213, 225, 0.9);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
  font-size: 0.92rem;
  min-height: 40px;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(var(--aglobe-primary-rgb), 0.55);
  box-shadow: 0 0 0 0.24rem rgba(var(--aglobe-primary-rgb), 0.16);
}

.badge {
  border-radius: 999px;
  padding: 0.34rem 0.58rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 0.72rem;
}

.alert {
  border: 1px solid transparent;
  box-shadow: 0 18px 34px -28px rgba(15, 23, 42, 0.28);
}

.hero-gradient.aglobe-home-hero {
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
  box-shadow: 0 40px 80px -44px rgba(22, 99, 63, 0.55);
}

.aglobe-home-label {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 30px -20px rgba(15, 23, 42, 0.45);
}

.aglobe-hero-search {
  box-shadow: 0 28px 60px -34px rgba(15, 23, 42, 0.42) !important;
}

.aglobe-quick-links {
  row-gap: 0.85rem !important;
}

.aglobe-quick-link {
  padding: 0.7rem 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.aglobe-quick-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  opacity: 1 !important;
}

.aglobe-home-section {
  position: relative;
}

.aglobe-section-title {
  letter-spacing: -0.03em;
}

.aglobe-section-intro {
  max-width: 38rem;
}

.aglobe-section-link {
  transition: gap 0.2s ease, color 0.2s ease;
}

.aglobe-section-link:hover {
  color: var(--aglobe-primary-dark) !important;
  gap: 0.45rem !important;
}

.product-card {
  box-shadow: 0 20px 44px -32px rgba(15, 23, 42, 0.34);
}

.feature-card {
  box-shadow: 0 18px 42px -34px rgba(15, 23, 42, 0.24);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px -36px rgba(15, 23, 42, 0.32);
  border-color: rgba(var(--aglobe-primary-rgb), 0.16);
}

.aglobe-cta-shell {
  box-shadow: 0 36px 80px -42px rgba(22, 99, 63, 0.58);
}

.aglobe-cta-sidecar {
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@media (max-width: 991.98px) {
  .aglobe-primary-nav ul {
    padding: 0.65rem 0 !important;
  }

  .aglobe-primary-nav a {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  body.aglobe-site-shell {
    padding-bottom: 5.4rem;
  }

  .aglobe-content-shell {
    padding-bottom: 1rem;
  }

  .page-header {
    padding: 1.3rem 1.2rem;
    border-radius: 22px;
  }

  .hero-gradient.aglobe-home-hero {
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
  }

  .aglobe-hero-search > div {
    border-right: none !important;
    border-bottom: 1px solid #e2e8f0;
    width: 100%;
    padding-top: 0.35rem !important;
    padding-bottom: 0.35rem !important;
  }

  .aglobe-hero-search > div:last-of-type {
    border-bottom: none;
  }

  .aglobe-quick-link {
    width: 100%;
  }
}

.aglobe-listing-page,
.aglobe-shop-page {
  position: relative;
}

.aglobe-listing-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 2vw, 2rem);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(var(--aglobe-primary-rgb), 0.18), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(240, 253, 244, 0.92));
  border: 1px solid rgba(var(--aglobe-primary-rgb), 0.14);
  box-shadow: 0 30px 70px -42px rgba(15, 23, 42, 0.34);
}

.aglobe-listing-hero::after {
  content: '';
  position: absolute;
  inset: auto -10% -55% auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(var(--aglobe-primary-rgb), 0.16), transparent 68%);
  pointer-events: none;
}

.aglobe-listing-copy,
.aglobe-listing-scope,
.aglobe-search-surface,
.aglobe-info-panel,
.aglobe-stat-card {
  position: relative;
  z-index: 1;
}

.aglobe-listing-copy {
  max-width: 44rem;
}

.aglobe-listing-eyebrow,
.aglobe-panel-label,
.aglobe-location-scope-label,
.aglobe-info-panel__label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aglobe-primary-dark);
}

.aglobe-listing-subtitle {
  max-width: 40rem;
  font-size: 1rem;
}

.aglobe-search-surface {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 22px;
}

.aglobe-info-panel,
.aglobe-stat-card,
.aglobe-filter-panel,
.aglobe-summary-card,
.aglobe-table-shell,
.aglobe-location-scope-card,
.aglobe-tab-strip {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 24px;
  box-shadow: 0 22px 44px -34px rgba(15, 23, 42, 0.24);
}

.aglobe-info-panel,
.aglobe-stat-card {
  height: 100%;
  padding: 1.15rem 1.2rem;
}

.aglobe-info-panel__items {
  display: grid;
  gap: 0.75rem;
}

.aglobe-info-panel__items span {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--aglobe-text);
  font-weight: 600;
}

.aglobe-info-panel__items i {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(var(--aglobe-primary-rgb), 0.12);
  color: var(--aglobe-primary-dark);
}

.aglobe-stat-card strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
  color: var(--aglobe-text);
}

.aglobe-stat-card small {
  display: block;
  color: var(--aglobe-text-muted);
  line-height: 1.6;
}

.aglobe-location-scope-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
}

.aglobe-location-scope-copy {
  min-width: 0;
}

.aglobe-location-scope-copy strong,
.aglobe-location-scope-copy small {
  display: block;
}

.aglobe-location-scope-copy strong {
  font-size: 0.96rem;
  color: var(--aglobe-text);
}

.aglobe-location-scope-copy small {
  margin-top: 0.22rem;
  color: var(--aglobe-text-muted);
  line-height: 1.45;
}

.aglobe-location-scope-actions {
  flex-wrap: wrap;
  gap: 0.5rem;
}

.aglobe-location-chip {
  border-radius: 999px !important;
  font-weight: 700 !important;
  border-width: 1.5px !important;
}

.aglobe-location-chip.is-active {
  box-shadow: 0 16px 34px -24px rgba(var(--aglobe-primary-rgb), 0.52);
}

.aglobe-filter-panel {
  border-radius: 26px;
}

.aglobe-filter-list .list-group-item {
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  background: transparent;
  transition: transform 0.18s ease, color 0.18s ease;
}

.aglobe-filter-list .list-group-item:hover {
  transform: translateX(2px);
}

.aglobe-catalog-grid {
  align-items: stretch;
}

.aglobe-catalog-card {
  height: 100%;
  overflow: hidden;
}

.aglobe-media-frame {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

.aglobe-media-frame img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.aglobe-card-meta {
  min-height: 1.5rem;
}

.aglobe-card-footer {
  border-color: rgba(226, 232, 240, 0.85) !important;
}

.aglobe-card-cta {
  border-radius: 999px !important;
  font-weight: 700;
}

.aglobe-job-card .product-title,
.aglobe-land-card .product-title,
.aglobe-service-card .product-title {
  min-height: 3rem;
}

.aglobe-land-badge {
  background: rgba(22, 99, 63, 0.92);
  color: #fff;
}

.aglobe-land-badge--rent {
  background: rgba(37, 99, 235, 0.92);
}

.aglobe-land-badge--installment {
  background: rgba(217, 119, 6, 0.92);
}

.aglobe-land-badge--sale {
  background: rgba(22, 99, 63, 0.92);
}

.aglobe-land-badge--featured {
  top: 10px;
  right: 50px;
  background: rgba(var(--aglobe-primary-rgb), 0.94);
  color: #fff;
}

.aglobe-tab-strip {
  padding: 0.7rem;
}

.aglobe-tab-strip .btn {
  white-space: nowrap;
  border-radius: 999px;
}

.aglobe-empty-state,
.aglobe-empty-cart {
  border-radius: 28px !important;
}

.aglobe-empty-state__icon {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(var(--aglobe-primary-rgb), 0.1);
  color: var(--aglobe-primary-dark);
}

.aglobe-table-shell {
  overflow: hidden;
}

.aglobe-order-table {
  margin-bottom: 0;
}

.aglobe-order-table tbody tr:last-child td {
  border-bottom: 0;
}

.aglobe-cart-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 16px;
}

.aglobe-qty-input {
  width: 82px;
}

.aglobe-summary-card .card-body {
  padding: 1.45rem;
}

.aglobe-mini-note {
  border-radius: 18px;
}

.aglobe-warning-stack ul {
  margin-bottom: 0;
}

.aglobe-payment-options {
  border-radius: 20px;
}

.aglobe-payment-choice {
  padding: 0.7rem 0.85rem;
  margin-bottom: 0.55rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
}

.aglobe-payment-choice:last-child {
  margin-bottom: 0;
}

.aglobe-pay-btn {
  min-height: 3.2rem;
}

.aglobe-detail-page {
  padding-top: 0.5rem;
}

.aglobe-detail-grid {
  align-items: flex-start;
}

.aglobe-detail-card,
.aglobe-detail-sidebar .card,
.aglobe-topic-card,
.aglobe-forum-list-card {
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 26px;
  box-shadow: 0 24px 48px -34px rgba(31, 41, 55, 0.22);
}

.aglobe-detail-card .card-body,
.aglobe-topic-card .card-body {
  padding: 1.5rem;
}

.aglobe-detail-media {
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

.aglobe-detail-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.aglobe-detail-media--contain img {
  min-height: 420px;
  max-height: 520px;
  object-fit: contain;
  background: #fff;
}

.aglobe-detail-price {
  color: var(--aglobe-primary);
  font-size: clamp(1.8rem, 2vw, 2.3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.aglobe-detail-panel {
  background: linear-gradient(135deg, rgba(var(--aglobe-primary-rgb), 0.08), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(var(--aglobe-primary-rgb), 0.14);
  border-radius: 22px;
  padding: 1.2rem 1.25rem;
}

.aglobe-detail-panel h6,
.aglobe-detail-section h5,
.aglobe-detail-section h6 {
  color: var(--aglobe-text);
  font-weight: 800;
}

.aglobe-detail-section + .aglobe-detail-section {
  margin-top: 1.5rem;
}

.aglobe-detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.aglobe-detail-metric {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(216, 228, 219, 0.9);
}

.aglobe-detail-metric span {
  display: block;
  margin-bottom: 0.28rem;
  color: var(--aglobe-text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.aglobe-detail-metric strong {
  color: var(--aglobe-text);
  font-size: 0.96rem;
}

.aglobe-detail-sidebar {
  display: grid;
  gap: 1rem;
}

.aglobe-sticky-card {
  position: sticky;
  top: 10rem;
}

.aglobe-sidebar-actions {
  display: grid;
  gap: 0.8rem;
}

.aglobe-forum-hero,
.aglobe-topic-shell {
  margin-bottom: 1.5rem;
}

.aglobe-forum-list-card {
  background: #fff;
}

.aglobe-forum-list-card .product-card {
  border: 0;
  box-shadow: none;
}

.aglobe-prose,
.forum-content {
  color: var(--aglobe-text);
  line-height: 1.8;
}

.aglobe-prose > *:last-child,
.forum-content > *:last-child {
  margin-bottom: 0;
}

.aglobe-avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid rgba(var(--aglobe-primary-rgb), 0.12);
}

.premium-locked,
.premium-content-unlocked,
.aglobe-reply-box {
  border-radius: 22px;
}

@media (max-width: 991.98px) {
  .aglobe-location-scope-card {
    flex-direction: column;
    align-items: stretch;
  }

  .aglobe-listing-hero,
  .aglobe-filter-panel,
  .aglobe-summary-card,
  .aglobe-tab-strip {
    border-radius: 24px;
  }
}

@media (max-width: 767.98px) {
  .aglobe-listing-hero {
    padding: 1.2rem;
    border-radius: 22px;
  }

  .aglobe-content-shell {
    padding-top: 1.25rem;
  }

  .aglobe-location-scope-actions {
    width: 100%;
  }

  .aglobe-location-scope-actions .btn {
    flex: 1 1 calc(50% - 0.5rem);
  }

  .aglobe-media-frame img {
    height: 200px;
  }

  .aglobe-cart-thumb {
    width: 54px;
    height: 54px;
  }

  .aglobe-qty-input {
    width: 72px;
  }

  .aglobe-header-shell__inner,
  .aglobe-footer-grid,
  .aglobe-detail-meta-grid {
    grid-template-columns: 1fr;
  }

  .aglobe-header-search {
    order: 3;
    width: 100%;
    min-width: 0;
  }

  .aglobe-footer-grid {
    display: grid;
  }

  .aglobe-announcement__links {
    display: none;
  }

  .aglobe-user-toggle__copy,
  .aglobe-primary-nav {
    display: none;
  }

  .aglobe-mobile-nav {
    display: block;
  }

  .aglobe-detail-card .card-body,
  .aglobe-topic-card .card-body {
    padding: 1.2rem;
  }

  .aglobe-detail-media--contain img {
    min-height: 280px;
  }
}

/* Legacy Consistency Pass */
main.site-main-content {
  background: #eef2ef;
}

main.site-main-content .container {
  padding-top: 0.5rem;
  padding-bottom: 1.5rem;
}

main.site-main-content .card {
  border: 1px solid #d8e3dd;
  border-radius: 18px;
  background: #f8fbf9;
  box-shadow: 0 16px 28px -30px rgba(15, 23, 42, 0.34);
}

main.site-main-content .card-header {
  background: #f5faf6;
  border-bottom: 1px solid #e0e9e3;
  color: #13233a;
  font-weight: 700;
  border-radius: 18px 18px 0 0 !important;
}

main.site-main-content .card-body,
main.site-main-content .card-footer {
  background: transparent;
}

main.site-main-content .table {
  --bs-table-bg: transparent;
  --bs-table-striped-bg: #f2f7f3;
  --bs-table-hover-bg: #edf5ef;
  border-color: #dce5df;
}

main.site-main-content .table > :not(caption) > * > * {
  padding: 0.82rem 0.74rem;
  vertical-align: middle;
}

main.site-main-content .table thead th {
  color: #5e728a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.74rem;
  font-weight: 800;
  border-bottom: 1px solid #d9e3de;
}

main.site-main-content .form-control,
main.site-main-content .form-select,
main.site-main-content .input-group-text,
main.site-main-content textarea {
  border: 1px solid #d2dce8;
  border-radius: 12px;
  min-height: 42px;
  background: #f6f9f6;
  color: #1b2b42;
}

main.site-main-content .form-control:focus,
main.site-main-content .form-select:focus,
main.site-main-content textarea:focus {
  border-color: #16c73b;
  box-shadow: 0 0 0 3px rgba(22, 199, 59, 0.14);
  background: #fff;
}

main.site-main-content .btn {
  border-radius: 12px;
  font-weight: 700;
  min-height: 40px;
}

main.site-main-content .btn-primary,
main.site-main-content .btn-success {
  background: #16c73b;
  border-color: #16c73b;
  color: #fff;
}

main.site-main-content .btn-primary:hover,
main.site-main-content .btn-success:hover {
  background: #13ac33;
  border-color: #13ac33;
}

main.site-main-content .btn-outline-primary {
  border-color: #16c73b;
  color: #16c73b;
}

main.site-main-content .btn-outline-primary:hover {
  background: #16c73b;
  border-color: #16c73b;
  color: #fff;
}

main.site-main-content .btn-outline-secondary {
  border-color: #c8d4e3;
  color: #445a75;
}

main.site-main-content .btn-outline-secondary:hover {
  background: #e8eff6;
  border-color: #b9c8d9;
  color: #2a3d56;
}

main.site-main-content .badge {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

main.site-main-content .alert {
  border-radius: 14px;
  border: 1px solid transparent;
}

main.site-main-content .alert-info {
  background: #eef8f0;
  border-color: #cde7d3;
  color: #1e5130;
}

main.site-main-content .alert-warning {
  background: #fff8eb;
  border-color: #f5deae;
  color: #7a4f00;
}

main.site-main-content .alert-danger {
  background: #fff2f2;
  border-color: #f2c9c9;
  color: #7c2727;
}

main.site-main-content .alert-success {
  background: #ecf9ef;
  border-color: #c8e8cf;
  color: #1e5b2f;
}

main.site-main-content .nav-tabs {
  border-bottom: 1px solid #dbe4ef;
}

main.site-main-content .nav-tabs .nav-link {
  border: 0;
  border-bottom: 2px solid transparent;
  color: #63758d;
  font-weight: 700;
  border-radius: 0;
}

main.site-main-content .nav-tabs .nav-link.active {
  color: #16c73b;
  border-bottom-color: #16c73b;
  background: transparent;
}

main.site-main-content .list-group-item {
  border-color: #e0e8f0;
}

main.site-main-content .list-group-item.active {
  background: #16c73b;
  border-color: #16c73b;
}

main.site-main-content .pagination .page-link {
  color: #3d546f;
  border-color: #d0dbe8;
  border-radius: 11px;
  margin: 0 2px;
  min-width: 38px;
  text-align: center;
}

main.site-main-content .pagination .page-item.active .page-link {
  background: #16c73b;
  border-color: #16c73b;
}

main.site-main-content .form-check-input {
  border-color: #bfd0e3;
}

main.site-main-content .form-check-input:checked {
  background-color: #16c73b;
  border-color: #16c73b;
}

@media (max-width: 767.98px) {
  main.site-main-content .table > :not(caption) > * > * {
    padding: 0.62rem 0.55rem;
  }
}

/* ============================================================ */
/* Layout — migrated from inline styles in layouts/main.php     */
/* ============================================================ */
        .container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
        .container-fluid { width: 100%; padding: 0 15px; }
        .row { --bs-gutter-x: 1.5rem; --bs-gutter-y: 0; display: flex; flex-wrap: wrap; margin-top: calc(var(--bs-gutter-y) * -1); margin-right: calc(var(--bs-gutter-x) * -0.5); margin-left: calc(var(--bs-gutter-x) * -0.5); }
        .row > * { flex-shrink: 0; width: 100%; max-width: 100%; padding-right: calc(var(--bs-gutter-x) * 0.5); padding-left: calc(var(--bs-gutter-x) * 0.5); margin-top: var(--bs-gutter-y); }
        .col { flex: 1 0 0%; }
        .col-auto { flex: 0 0 auto; width: auto; }
        .col-1 { flex: 0 0 auto; width: 8.333333%; }
        .col-2 { flex: 0 0 auto; width: 16.666667%; }
        .col-3 { flex: 0 0 auto; width: 25%; }
        .col-4 { flex: 0 0 auto; width: 33.333333%; }
        .col-5 { flex: 0 0 auto; width: 41.666667%; }
        .col-6 { flex: 0 0 auto; width: 50%; }
        .col-7 { flex: 0 0 auto; width: 58.333333%; }
        .col-8 { flex: 0 0 auto; width: 66.666667%; }
        .col-9 { flex: 0 0 auto; width: 75%; }
        .col-10 { flex: 0 0 auto; width: 83.333333%; }
        .col-11 { flex: 0 0 auto; width: 91.666667%; }
        .col-12 { flex: 0 0 auto; width: 100%; }
        
        @media (min-width: 768px) {
            .col-md-auto { flex: 0 0 auto; width: auto; }
            .col-md-1 { flex: 0 0 auto; width: 8.333333%; }
            .col-md-2 { flex: 0 0 auto; width: 16.666667%; }
            .col-md-3 { flex: 0 0 auto; width: 25%; }
            .col-md-4 { flex: 0 0 auto; width: 33.333333%; }
            .col-md-5 { flex: 0 0 auto; width: 41.666667%; }
            .col-md-6 { flex: 0 0 auto; width: 50%; }
            .col-md-7 { flex: 0 0 auto; width: 58.333333%; }
            .col-md-8 { flex: 0 0 auto; width: 66.666667%; }
            .col-md-9 { flex: 0 0 auto; width: 75%; }
            .col-md-10 { flex: 0 0 auto; width: 83.333333%; }
            .col-md-11 { flex: 0 0 auto; width: 91.666667%; }
            .col-md-12 { flex: 0 0 auto; width: 100%; }
            .d-md-block { display: block !important; }
            .d-md-none { display: none !important; }
        }
        
        @media (min-width: 992px) {
            .col-lg-auto { flex: 0 0 auto; width: auto; }
            .col-lg-1 { flex: 0 0 auto; width: 8.333333%; }
            .col-lg-2 { flex: 0 0 auto; width: 16.666667%; }
            .col-lg-3 { flex: 0 0 auto; width: 25%; }
            .col-lg-4 { flex: 0 0 auto; width: 33.333333%; }
            .col-lg-5 { flex: 0 0 auto; width: 41.666667%; }
            .col-lg-6 { flex: 0 0 auto; width: 50%; }
            .col-lg-7 { flex: 0 0 auto; width: 58.333333%; }
            .col-lg-8 { flex: 0 0 auto; width: 66.666667%; }
            .col-lg-9 { flex: 0 0 auto; width: 75%; }
            .col-lg-10 { flex: 0 0 auto; width: 83.333333%; }
            .col-lg-11 { flex: 0 0 auto; width: 91.666667%; }
            .col-lg-12 { flex: 0 0 auto; width: 100%; }
            .d-lg-block { display: block !important; }
            .d-lg-none { display: none !important; }
        }

        /* Utilities */
        .d-none { display: none !important; }
        .d-block { display: block !important; }
        .d-flex { display: flex !important; }
        .d-inline-block { display: inline-block !important; }
        .d-inline { display: inline !important; }
        .flex-wrap { flex-wrap: wrap !important; }
        .flex-nowrap { flex-wrap: nowrap !important; }
        .align-items-center { align-items: center !important; }
        .align-items-start { align-items: flex-start !important; }
        .align-items-end { align-items: flex-end !important; }
        .justify-content-center { justify-content: center !important; }
        .justify-content-between { justify-content: space-between !important; }
        .justify-content-end { justify-content: flex-end !important; }
        .flex-column { flex-direction: column !important; }
        .flex-grow-1 { flex-grow: 1 !important; }
        .gap-1 { gap: 0.25rem; }
        .gap-2 { gap: 0.5rem; }
        .gap-3 { gap: 1rem; }
        .gap-4 { gap: 1.5rem; }
        .gap-5 { gap: 3rem; }

        .m-0 { margin: 0 !important; }
        .m-1 { margin: 0.25rem !important; }
        .m-2 { margin: 0.5rem !important; }
        .m-3 { margin: 1rem !important; }
        .m-4 { margin: 1.5rem !important; }
        .m-5 { margin: 3rem !important; }
        .mx-auto { margin-left: auto !important; margin-right: auto !important; }
        .my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
        .my-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
        .my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
        .my-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }
        .mt-0 { margin-top: 0 !important; }
        .mt-1 { margin-top: 0.25rem !important; }
        .mt-2 { margin-top: 0.5rem !important; }
        .mt-3 { margin-top: 1rem !important; }
        .mt-4 { margin-top: 1.5rem !important; }
        .mt-5 { margin-top: 3rem !important; }
        .mb-0 { margin-bottom: 0 !important; }
        .mb-1 { margin-bottom: 0.25rem !important; }
        .mb-2 { margin-bottom: 0.5rem !important; }
        .mb-3 { margin-bottom: 1rem !important; }
        .mb-4 { margin-bottom: 1.5rem !important; }
        .mb-5 { margin-bottom: 3rem !important; }
        .me-0 { margin-right: 0 !important; }
        .me-1 { margin-right: 0.25rem !important; }
        .me-2 { margin-right: 0.5rem !important; }
        .me-3 { margin-right: 1rem !important; }
        .me-4 { margin-right: 1.5rem !important; }
        .ms-0 { margin-left: 0 !important; }
        .ms-1 { margin-left: 0.25rem !important; }
        .ms-2 { margin-left: 0.5rem !important; }
        .ms-3 { margin-left: 1rem !important; }
        .ms-4 { margin-left: 1.5rem !important; }
        .ms-auto { margin-left: auto !important; }
        .me-auto { margin-right: auto !important; }

        .p-0 { padding: 0 !important; }
        .p-1 { padding: 0.25rem !important; }
        .p-2 { padding: 0.5rem !important; }
        .p-3 { padding: 1rem !important; }
        .p-4 { padding: 1.5rem !important; }
        .p-5 { padding: 3rem !important; }
        .py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
        .py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
        .py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
        .py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
        .py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
        .py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
        .py-lg-6 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
        .px-0 { padding-left: 0 !important; padding-right: 0 !important; }
        .px-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
        .px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
        .px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
        .pt-0 { padding-top: 0 !important; }
        .pt-3 { padding-top: 1rem !important; }
        .pt-4 { padding-top: 1.5rem !important; }
        .pb-0 { padding-bottom: 0 !important; }
        .pb-3 { padding-bottom: 1rem !important; }
        .pb-4 { padding-bottom: 1.5rem !important; }

        .w-100 { width: 100% !important; }
        .h-100 { height: 100% !important; }
        .h-auto { height: auto !important; }
        .mw-100 { max-width: 100% !important; }

        .text-center { text-align: center !important; }
        .text-start { text-align: left !important; }
        .text-end { text-align: right !important; }
        .text-uppercase { text-transform: uppercase !important; }
        .text-lowercase { text-transform: lowercase !important; }
        .fw-bold { font-weight: 700 !important; }
        .fw-semibold { font-weight: 600 !important; }
        .fw-medium { font-weight: 500 !important; }
        .fw-normal { font-weight: 400 !important; }
        .fst-italic { font-style: italic !important; }
        .lh-1 { line-height: 1 !important; }

        .text-white { color: #fff !important; }
        .text-white-50 { color: rgba(255,255,255,0.5) !important; }
        .text-muted { color: #6c757d !important; }
        .text-dark { color: #212529 !important; }
        .text-success { color: #198754 !important; }
        .text-danger { color: #dc3545 !important; }
        .text-warning { color: #ffc107 !important; }
        .text-info { color: #0dcaf0 !important; }
        .text-primary { color: var(--aglobe-primary) !important; }
        .text-emerald { color: #10b981 !important; }
        
        .bg-white { background-color: #fff !important; }
        .bg-light { background-color: #f8f9fa !important; }
        .bg-dark { background-color: #212529 !important; }
        .bg-primary { background-color: var(--aglobe-primary) !important; }
        .bg-success { background-color: #198754 !important; }
        .bg-danger { background-color: #dc3545 !important; }
        .bg-warning { background-color: #ffc107 !important; }
        .bg-info { background-color: #0dcaf0 !important; }
        .bg-emerald { background-color: #10b981 !important; }

        .border { border: 1px solid #dee2e6 !important; }
        .border-0 { border: 0 !important; }
        .border-top { border-top: 1px solid #dee2e6 !important; }
        .border-bottom { border-bottom: 1px solid #dee2e6 !important; }
        .border-success { border-color: #198754 !important; }
        .rounded { border-radius: 0.25rem !important; }
        .rounded-0 { border-radius: 0 !important; }
        .rounded-1 { border-radius: 0.2rem !important; }
        .rounded-2 { border-radius: 0.25rem !important; }
        .rounded-3 { border-radius: 0.3rem !important; }
        .rounded-circle { border-radius: 50% !important; }
        .rounded-pill { border-radius: 50rem !important; }

        .shadow-sm { box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075) !important; }
        .shadow { box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15) !important; }
        .shadow-lg { box-shadow: 0 1rem 3rem rgba(0,0,0,0.175) !important; }
        .shadow-none { box-shadow: none !important; }

        .position-relative { position: relative !important; }
        .position-absolute { position: absolute !important; }
        .position-static { position: static !important; }
        .position-sticky { position: sticky !important; }
        .top-0 { top: 0 !important; }
        .start-0 { left: 0 !important; }
        .end-0 { right: 0 !important; }
        .bottom-0 { bottom: 0 !important; }
        .translate-middle { transform: translate(-50%,-50%) !important; }
        .translate-middle-x { transform: translateX(-50%) !important; }
        .translate-middle-y { transform: translateY(-50%) !important; }

        .overflow-hidden { overflow: hidden !important; }
        .overflow-auto { overflow: auto !important; }

        .img-fluid { max-width: 100%; height: auto; }
        .img-cover { object-fit: cover; }

        .lead { font-size: 1.25rem; font-weight: 300; }
        .display-1 { font-size: calc(1.625rem + 4.5vw); font-weight: 300; line-height: 1.2; }
        .display-2 { font-size: calc(1.575rem + 3.5vw); font-weight: 300; line-height: 1.2; }
        .display-3 { font-size: calc(1.525rem + 2.5vw); font-weight: 300; line-height: 1.2; }
        .display-4 { font-size: calc(1.475rem + 1.5vw); font-weight: 300; line-height: 1.2; }
        .display-5 { font-size: calc(1.425rem + 0.5vw); font-weight: 300; line-height: 1.2; }
        .display-6 { font-size: 1rem; font-weight: 300; line-height: 1.2; }

        .small { font-size: 0.875em; }
        .mark { padding: 0.2em; background-color: #fcf8e3; }
        
        .list-unstyled { list-style: none; padding: 0; margin: 0; }
        
        .visible { visibility: visible !important; }
        .invisible { visibility: hidden !important; }

        @media (max-width: 767px) {
            .d-sm-none { display: none !important; }
            .d-sm-block { display: block !important; }
            .d-sm-flex { display: flex !important; }
            .text-sm-center { text-align: center !important; }
            .text-sm-start { text-align: left !important; }
            .text-sm-end { text-align: right !important; }
            .flex-sm-column { flex-direction: column !important; }
            .flex-sm-wrap { flex-wrap: wrap !important; }
            .justify-content-sm-center { justify-content: center !important; }
            .justify-content-sm-between { justify-content: space-between !important; }
            .align-items-sm-center { align-items: center !important; }
            .mt-sm-0 { margin-top: 0 !important; }
            .mt-sm-2 { margin-top: 0.5rem !important; }
            .mt-sm-3 { margin-top: 1rem !important; }
            .mt-sm-4 { margin-top: 1.5rem !important; }
            .mb-sm-0 { margin-bottom: 0 !important; }
            .mb-sm-2 { margin-bottom: 0.5rem !important; }
            .mb-sm-3 { margin-bottom: 1rem !important; }
            .mb-sm-4 { margin-bottom: 1.5rem !important; }
            .p-sm-0 { padding: 0 !important; }
            .p-sm-2 { padding: 0.5rem !important; }
            .p-sm-3 { padding: 1rem !important; }
            .p-sm-4 { padding: 1.5rem !important; }
        }

        /* Buttons */
        .btn { display: inline-block; font-weight: 500; line-height: 1.45; color: #212529; text-align: center; text-decoration: none; vertical-align: middle; cursor: pointer; background-color: transparent; border: 1px solid transparent; padding: 0.38rem 0.72rem; font-size: 0.9rem; border-radius: 0.25rem; transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; }
        .btn:hover { text-decoration: none; }
        .btn:focus { outline: 0; box-shadow: 0 0 0 0.25rem rgba(16,185,129,0.25); }
        .btn:disabled { pointer-events: none; opacity: 0.65; }
        .btn-primary { color: #fff; background-color: var(--aglobe-primary); border-color: var(--aglobe-primary); }
        .btn-primary:hover { color: #fff; background-color: var(--aglobe-primary-dark); border-color: var(--aglobe-primary-dark); }
        .btn-secondary { color: #fff; background-color: #6c757d; border-color: #6c757d; }
        .btn-success { color: #fff; background-color: #198754; border-color: #198754; }
        .btn-danger { color: #fff; background-color: #dc3545; border-color: #dc3545; }
        .btn-warning { color: #000; background-color: #ffc107; border-color: #ffc107; }
        .btn-info { color: #000; background-color: #0dcaf0; border-color: #0dcaf0; }
        .btn-light { color: #000; background-color: #f8f9fa; border-color: #f8f9fa; }
        .btn-dark { color: #fff; background-color: #212529; border-color: #212529; }
        .btn-outline-secondary { color: #6c757d; border-color: #6c757d; background: transparent; }
        .btn-outline-secondary:hover { color: #fff; background-color: #6c757d; border-color: #6c757d; }
        .btn-outline-emerald { color: #10b981; border: 2px solid #10b981; background: transparent; }
        .btn-outline-emerald:hover { background: #10b981; color: white; }
        .btn-white { background: white; color: #1e293b; }
        .btn-white:hover { background: #f8fafc; color: #1e293b; }
        .btn-sm { padding: 0.24rem 0.5rem; font-size: 0.8rem; border-radius: 0.2rem; }
        .btn-lg { padding: 0.48rem 0.92rem; font-size: 1.08rem; border-radius: 0.3rem; }
        .btn-circle { border-radius: 50%; width: 40px; height: 40px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
        .rounded-circle { border-radius: 50% !important; }

        /* Cards */
        .card { position: relative; display: flex; flex-direction: column; min-width: 0; word-wrap: break-word; background-color: #fff; background-clip: border-box; border: 1px solid rgba(0,0,0,0.125); border-radius: 0.2rem; }
        .card-body { flex: 1 1 auto; padding: 0.82rem; }
        .card-title { margin-bottom: 0.5rem; }
        .card-subtitle { margin-top: -0.25rem; margin-bottom: 0.5rem; }
        .card-text:last-child { margin-bottom: 0; }
        .card-link:hover { text-decoration: none; }
        .card-header { padding: 0.5rem 1rem; margin-bottom: 0; background-color: rgba(0,0,0,0.03); border-bottom: 1px solid rgba(0,0,0,0.125); }
        .card-footer { padding: 0.5rem 1rem; background-color: rgba(0,0,0,0.03); border-top: 1px solid rgba(0,0,0,0.125); }

        /* Forms */
        .form-control { display: block; width: 100%; padding: 0.36rem 0.7rem; font-size: 0.92rem; font-weight: 400; line-height: 1.45; color: #212529; background-color: #fff; background-clip: padding-box; border: 1px solid #ced4da; appearance: none; border-radius: 0.25rem; transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; }
        .form-control:focus { color: #212529; background-color: #fff; border-color: #34d399; outline: 0; box-shadow: 0 0 0 0.25rem rgba(16,185,129,0.25); }
        .form-select { display: block; width: 100%; padding: 0.36rem 2.15rem 0.36rem 0.7rem; -moz-padding-start: calc(0.7rem - 3px); font-size: 0.92rem; font-weight: 400; line-height: 1.45; color: #212529; background-color: #fff; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 0.75rem center; background-size: 16px 12px; border: 1px solid #ced4da; border-radius: 0.25rem; appearance: none; }
        .form-label { margin-bottom: 0.5rem; }
        .form-check { display: block; min-height: 1.5rem; padding-left: 1.5em; margin-bottom: 0.125rem; }
        .form-check-input { width: 1em; height: 1em; margin-top: 0.25em; vertical-align: top; background-color: #fff; background-repeat: no-repeat; background-position: center; background-size: contain; border: 1px solid rgba(0,0,0,0.25); appearance: none; print-color-adjust: exact; }

        /* Alerts */
        .alert { position: relative; padding: 1rem 1rem; margin-bottom: 1rem; border: 1px solid transparent; border-radius: 0.25rem; }
        .alert-success { color: #0f5132; background-color: #d1e7dd; border-color: #badbcc; }
        .alert-danger { color: #842029; background-color: #f8d7da; border-color: #f5c2c7; }
        .alert-warning { color: #664d03; background-color: #fff3cd; border-color: #ffecb5; }
        .alert-info { color: #055160; background-color: #cff4fc; border-color: #b6effb; }

        /* Badges */
        .badge { display: inline-block; padding: 0.35em 0.65em; font-size: 0.75em; font-weight: 700; line-height: 1; color: #fff; text-align: center; white-space: nowrap; vertical-align: baseline; border-radius: 0.25rem; }
        .badge.bg-white { color: #000; }
        .badge.bg-primary { background-color: var(--aglobe-primary) !important; }
        .badge.bg-success { background-color: #198754 !important; }
        .badge.bg-danger { background-color: #dc3545 !important; }
        .badge.bg-warning { color: #000; background-color: #ffc107 !important; }
        .badge.bg-info { color: #000; background-color: #0dcaf0 !important; }
        .badge.bg-light { color: #000; background-color: #f8f9fa !important; }
        .badge.bg-dark { background-color: #212529 !important; }
        .badge.rounded-pill { padding-right: 0.6em; padding-left: 0.6em; border-radius: 50rem; }

        /* Tables */
        .table { width: 100%; margin-bottom: 1rem; color: #212529; vertical-align: top; border-color: #dee2e6; }
        .table > thead { vertical-align: bottom; }
        .table > tbody { vertical-align: inherit; }
        .table th, .table td { padding: 0.75rem; vertical-align: top; border-top: 1px solid #dee2e6; }
        .table-sm > thead > tr > th, .table-sm > tbody > tr > th, .table-sm > tfoot > tr > th, .table-sm > thead > tr > td, .table-sm > tbody > tr > td, .table-sm > tfoot > tr > td { padding: 0.3rem; }

        /* Modals */
        .modal { position: fixed; top: 0; left: 0; z-index: 1055; display: none; width: 100%; height: 100%; overflow-x: hidden; overflow-y: auto; outline: 0; }
        .modal-dialog { position: relative; width: auto; margin: 0.5rem; pointer-events: none; max-width: 500px; margin-left: auto; margin-right: auto; }
        .modal-content { position: relative; display: flex; flex-direction: column; width: 100%; pointer-events: auto; background-color: #fff; background-clip: padding-box; border: 1px solid rgba(0,0,0,0.2); border-radius: 0.3rem; outline: 0; }
        .modal-header { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; padding: 1rem 1rem; border-bottom: 1px solid #dee2e6; border-top-left-radius: 0.3rem; border-top-right-radius: 0.3rem; }
        .modal-body { position: relative; flex: 1 1 auto; padding: 1rem; }
        .modal-footer { display: flex; flex-shrink: 0; flex-wrap: wrap; align-items: center; justify-content: flex-end; padding: 0.75rem; border-top: 1px solid #dee2e6; border-bottom-right-radius: 0.3rem; border-bottom-left-radius: 0.3rem; }

        /* Nav */
        .nav { display: flex; flex-wrap: wrap; padding-left: 0; margin-bottom: 0; list-style: none; }
        .nav-link { display: block; padding: 0.5rem 1rem; color: var(--aglobe-primary); text-decoration: none; transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out; }
        .nav-tabs { border-bottom: 1px solid #dee2e6; }
        .nav-tabs .nav-link { margin-bottom: -1px; border: 1px solid transparent; border-top-left-radius: 0.25rem; border-top-right-radius: 0.25rem; }
        .nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus { border-color: #e9ecef #e9ecef #dee2e6; }
        .nav-pills .nav-link { border-radius: 0.25rem; }
        .breadcrumb { display: flex; flex-wrap: wrap; padding: 0 0; margin-bottom: 1rem; list-style: none; }
        .breadcrumb-item + .breadcrumb-item::before { float: left; padding-right: 0.5rem; color: #6c757d; content: "/"; }
        .breadcrumb-item + .breadcrumb-item:hover::before { text-decoration: underline; }
        .breadcrumb-item + .breadcrumb-item:hover::before { text-decoration: none; }
        .breadcrumb-item.active { color: #6c757d; }

        /* Misc */
        .clearfix::after { display: block; clear: both; content: ""; }
        .link-primary { color: var(--aglobe-primary); }
        .link-secondary { color: #6c757d; }
        .stretched-link::after { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; content: ""; }
        .text-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        
        /* Responsive embeds */
        .ratio { position: relative; width: 100%; }
        .ratio::before { display: block; padding-top: var(--bs-aspect-ratio); content: ""; }
        .ratio-1x1::before { --bs-aspect-ratio: 100%; }
        .ratio-16x9::before { --bs-aspect-ratio: 56.25%; }
        
        /* Hover effects */
        .hover:text-white:hover { color: #fff !important; }
        .hover:bg-primary:hover { background-color: var(--aglobe-primary) !important; }
        
        /* Transitions */
        .transition { transition: all 0.2s ease-in-out; }
        
        /* Z-index */
        .zindex-1 { z-index: 1; }
        .zindex-2 { z-index: 2; }
        .zindex-3 { z-index: 3; }

/* duplicate :root block removed */

        .main-header {
            background: rgba(255, 255, 255, 0.9) !important;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--aglobe-border) !important;
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        
        .header-search input {
            background: #f1f5f9;
            border: 1px solid transparent;
            border-radius: 12px;
            padding: 10px 16px 10px 44px;
            width: 100%;
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .header-search input:focus {
            background: white;
            border-color: var(--aglobe-primary);
            box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .header-search {
            max-width: 500px;
            margin: 0 auto;
            position: relative;
        }

        .header-search i {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: #94a3b8;
        }

        .btn-icon {
            background: transparent;
            border: none;
            padding: 8px;
            color: #64748b;
            cursor: pointer;
            transition: color 0.2s;
        }

        .btn-icon:hover {
            color: var(--aglobe-primary);
        }

        .btn-signin {
            color: #64748b;
            text-decoration: none;
            padding: 8px 16px;
            font-weight: 500;
            transition: color 0.2s;
        }

        .btn-signin:hover {
            color: var(--aglobe-primary);
        }

        .btn-signup {
            background: var(--aglobe-primary);
            color: white !important;
            text-decoration: none;
            padding: 8px 20px;
            border-radius: 8px;
            font-weight: 500;
            transition: background 0.2s;
        }

        .btn-signup:hover {
            background: var(--aglobe-primary-dark);
        }

        .user-dropdown {
            position: relative;
            margin-left: 8px;
        }

        .user-dropdown-toggle {
            display: flex;
            align-items: center;
            gap: 8px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 6px 12px;
            border-radius: 50px;
            transition: background 0.2s;
        }

        .user-dropdown-toggle:hover {
            background: var(--aglobe-primary-light);
        }

        .user-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            object-fit: cover;
        }

        .user-avatar-placeholder {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--aglobe-primary);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 0.9rem;
        }

        .user-name {
            color: #475569;
            font-weight: 500;
            font-size: 0.9rem;
        }

        .user-dropdown-toggle .fa-chevron-down {
            font-size: 0.7rem;
            color: #94a3b8;
        }

        .user-dropdown-menu {
            position: absolute;
            top: 100%;
            right: 0;
            min-width: 220px;
            background: white;
            border: 1px solid var(--aglobe-border);
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.15);
            padding: 8px;
            display: none;
            z-index: 1000;
        }

        .user-dropdown:hover .user-dropdown-menu {
            display: block;
        }

        .user-dropdown-header {
            padding: 12px 16px;
            border-bottom: 1px solid var(--aglobe-border-light);
        }

        .user-dropdown-header strong {
            display: block;
            color: #1e293b;
            font-size: 0.95rem;
        }

        .user-dropdown-header span {
            font-size: 0.8rem;
            color: #64748b;
        }

        .user-dropdown-divider {
            height: 1px;
            background: var(--aglobe-border-light);
            margin: 8px 0;
        }

        .user-dropdown-menu a {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 14px;
            color: #475569;
            text-decoration: none;
            border-radius: 8px;
            font-size: 0.9rem;
            transition: all 0.2s;
        }

        .user-dropdown-menu a:hover {
            background: var(--aglobe-primary-light);
            color: var(--aglobe-primary);
        }

        .user-dropdown-menu a i {
            width: 18px;
            text-align: center;
        }

        .user-dropdown-menu a.text-danger {
            color: #dc2626;
        }

        .user-dropdown-menu a.text-danger:hover {
            background: #fef2f2;
            color: #dc2626;
        }

        .sub-nav {
            background: white;
            border-top: 1px solid var(--aglobe-border);
        }

        .sub-nav ul, .nav-menu {
            display: flex;
            list-style: none;
            padding: 0;
            margin: 0;
            gap: 0.5rem;
            align-items: center;
        }

        .sub-nav a, .nav-menu > li > a {
            color: #64748b;
            text-decoration: none;
            padding: 12px 16px;
            font-weight: 500;
            font-size: 0.9rem;
            transition: all 0.2s;
            display: block;
        }

        .sub-nav a:hover, .sub-nav a.active,
        .nav-menu > li > a:hover, .nav-menu > li > a.active {
            color: var(--aglobe-primary);
        }

        .nav-menu > li {
            position: relative;
        }

        .nav-menu > li > a {
            border-radius: 8px;
        }

        .nav-menu > li > a:hover, .nav-menu > li > a.active {
            background: var(--aglobe-primary-light);
        }

        @media (max-width: 1200px) {
            .nav-menu > li > a {
                padding: 12px 10px;
                font-size: 0.8rem;
            }
        }

        @media (max-width: 991px) {
            .sub-nav .nav-menu {
                display: none;
                flex-direction: column;
                width: 100%;
                padding: 16px;
            }
            .sub-nav.show .nav-menu {
                display: flex;
            }
            .nav-menu .dropdown-menu {
                position: static;
                box-shadow: none;
                border: none;
                padding-left: 16px;
                background: #f8fafc;
            }
            .nav-menu > li > a {
                padding: 12px 16px;
            }
            .mobile-menu-toggle {
                display: block;
            }
        }

        .nav-menu .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            min-width: 180px;
            background: white;
            border: 1px solid var(--aglobe-border);
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.1);
            padding: 8px;
            display: none;
            z-index: 100;
        }

        .nav-menu .has-dropdown:hover .dropdown-menu {
            display: block;
        }

        .nav-menu .dropdown-menu li a {
            color: #475569;
            text-decoration: none;
            padding: 10px 14px;
            font-size: 0.85rem;
            display: block;
            border-radius: 8px;
            transition: all 0.2s;
        }

        .nav-menu .dropdown-menu li a:hover {
            color: var(--aglobe-primary);
            background: var(--aglobe-primary-light);
        }

        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 1.25rem;
            color: #475569;
            cursor: pointer;
            padding: 8px;
        }

        @media (max-width: 991px) {
            .sub-nav {
                position: relative;
            }
            .sub-nav .nav-menu {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: white;
                border-bottom: 1px solid var(--aglobe-border);
                flex-direction: column;
                width: 100%;
                padding: 16px;
                box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            }
            .sub-nav.show .nav-menu {
                display: flex;
            }
            .sub-nav .nav-menu > li {
                width: 100%;
            }
            .sub-nav .nav-menu > li > a {
                padding: 14px 16px;
                font-size: 1rem;
                border-radius: 8px;
            }
            .sub-nav .nav-menu > li > a:hover {
                background: var(--aglobe-primary-light);
            }
            .sub-nav .dropdown-menu {
                position: static;
                box-shadow: none;
                border: none;
                padding: 0 0 0 20px;
                background: transparent;
                display: none;
                margin-top: 0;
            }
            .sub-nav .has-dropdown:hover .dropdown-menu,
            .sub-nav .has-dropdown.active .dropdown-menu {
                display: block;
            }
            .sub-nav .dropdown-menu li a {
                padding: 12px 16px;
                font-size: 0.9rem;
                color: #64748b;
            }
            .mobile-menu-toggle {
                display: block;
            }
        }

        @media (max-width: 1200px) {
            .header-search {
                max-width: 400px;
            }
            .sub-nav ul {
                gap: 1rem;
            }
            .sub-nav a {
                font-size: 0.85rem;
            }
        }

        .top-announcement {
            background: #064e3b !important;
            color: rgba(255,255,255,0.9);
            font-size: 0.85rem;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }

        .top-announcement a {
            color: white;
            text-decoration: none;
            transition: opacity 0.2s;
        }

        .top-announcement a:hover {
            opacity: 0.8;
        }

        footer {
            background: #0f172a !important;
            color: #94a3b8;
            padding: 80px 0 40px;
        }

        footer h6.footer-title {
            color: white;
            font-weight: 700;
            margin-bottom: 24px;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        footer a {
            color: #94a3b8 !important;
            text-decoration: none;
            transition: all 0.2s;
        }

        footer a:hover {
            color: var(--aglobe-primary) !important;
            padding-left: 4px;
        }

        .gum-header {
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
        }

        .gum-header-top {
            background: #353535;
            border-bottom: 1px solid #2a2a2a;
        }

        .gum-header-inner {
            max-width: var(--aglobe-shell-max);
            margin: 0 auto;
            padding: 10px 20px;
            display: flex;
            align-items: center;
            gap: 14px;
            flex-wrap: wrap;
        }

        .gum-brand {
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            min-width: 180px;
        }

        .gum-brand-badge {
            width: 36px;
            height: 36px;
            border-radius: 999px;
            background: #1f7a4c;
            color: #fff;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 0.82rem;
        }

        .gum-brand-name {
            color: #ffffff;
            font-size: 2rem;
            line-height: 1;
            font-weight: 700;
        }

        .gum-search-wrap {
            flex: 1;
            min-width: 290px;
            display: grid;
            grid-template-columns: minmax(220px, 1.8fr) minmax(130px, 0.8fr) minmax(130px, 0.8fr) auto;
            border-radius: 12px;
            overflow: hidden;
            background: #fff;
            border: 1px solid #d4d4d4;
        }

        .gum-search-main,
        .gum-location-select {
            min-height: 48px;
            border: 0;
            border-right: 1px solid #e5e7eb;
        }

        .gum-search-main {
            display: flex;
            align-items: center;
            gap: 8px;
            background: #fff;
            padding: 0 12px;
        }

        .gum-icon {
            color: #6b7280;
            font-size: 0.95rem;
        }

        .gum-search-main input {
            border: 0;
            outline: none;
            background: transparent;
            width: 100%;
            font-size: 1rem;
            color: #1f2937;
        }

        .gum-location-select {
            background: #fff;
            color: #1f2937;
            font-size: 0.95rem;
            padding: 0 10px;
            outline: none;
        }

        .gum-search-btn {
            min-height: 48px;
            min-width: 72px;
            border: 0;
            background: #1f7a4c;
            color: #fff;
            cursor: pointer;
            font-size: 1.15rem;
            font-weight: 700;
        }

        .gum-search-btn i {
            color: #ffffff;
            font-size: 1rem;
        }

        .gum-actions {
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .gum-icon-btn {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            border: 1px solid #4a4a4a;
            background: #3f3f3f;
            color: #ffffff;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .gum-icon-btn i {
            color: #ffffff;
            font-size: 0.95rem;
        }

        .gum-auth-link {
            color: #ffffff;
            text-decoration: none;
            font-weight: 600;
            padding: 0 4px;
            white-space: nowrap;
        }

        .gum-user-menu-wrap {
            position: relative;
        }

        .gum-user-btn {
            min-height: 40px;
            border-radius: 999px;
            border: 1px solid #4a4a4a;
            background: #3f3f3f;
            color: #fff;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 4px 10px 4px 4px;
            cursor: pointer;
        }

        .gum-avatar {
            width: 30px;
            height: 30px;
            border-radius: 999px;
            background: #1f7a4c;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-weight: 700;
            font-size: 0.85rem;
        }

        .gum-user-name {
            max-width: 100px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            font-size: 0.92rem;
            font-weight: 600;
        }

        .gum-caret {
            font-size: 0.65rem;
            color: #d1d5db;
        }

        .gum-user-menu {
            position: absolute;
            right: 0;
            top: calc(100% + 8px);
            min-width: 230px;
            background: #fff;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
            display: none;
            overflow: hidden;
        }

        .gum-user-menu.show {
            display: block;
        }

        .gum-user-menu-head {
            padding: 12px 14px;
            border-bottom: 1px solid #eef2f7;
        }

        .gum-user-menu-head strong {
            display: block;
            color: #111827;
            font-size: 0.94rem;
        }

        .gum-user-menu-head span {
            display: block;
            color: #6b7280;
            font-size: 0.82rem;
            margin-top: 2px;
        }

        .gum-user-menu a {
            display: block;
            text-decoration: none;
            color: #334155;
            font-size: 0.92rem;
            padding: 10px 14px;
        }

        .gum-user-menu a:hover {
            background: #f8fafc;
        }

        .gum-user-signout {
            border-top: 1px solid #eef2f7;
            color: #dc2626 !important;
            font-weight: 600;
        }

        .gum-menu-bar {
            background: #ececec;
            border-bottom: 1px solid #dddddd;
        }

        .gum-menu-inner {
            max-width: var(--aglobe-shell-max);
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            align-items: center;
            gap: 8px;
            overflow-x: auto;
            scrollbar-width: thin;
        }

        .gum-menu-item {
            text-decoration: none;
            color: #1f2937;
            font-size: 1rem;
            padding: 9px 10px;
            white-space: nowrap;
            display: inline-flex;
            align-items: center;
            gap: 7px;
        }

        .gum-menu-item:hover {
            color: #111827;
            background: #e5e7eb;
        }

        .gum-menu-icon {
            width: 18px;
            height: 18px;
            color: #1f7a45;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 0.88rem;
        }

        @media (max-width: 1100px) {
            .gum-search-wrap {
                order: 3;
                width: 100%;
                grid-template-columns: 1fr;
                border-radius: 10px;
            }

            .gum-search-main,
            .gum-location-select {
                border-right: 0;
                border-bottom: 1px solid #e5e7eb;
            }

            .gum-search-btn {
                width: 100%;
            }

            .gum-brand-name {
                font-size: 1.7rem;
            }
        }

        @media (max-width: 640px) {
            .gum-header-inner {
                padding: 10px 12px;
            }

            .gum-menu-inner {
                padding: 0 12px;
            }

            .gum-user-name {
                display: none;
            }

            .gum-actions {
                gap: 6px;
            }

            .gum-icon-btn {
                width: 36px;
                height: 36px;
            }
        }

    .site-main-content {
        min-height: 55vh;
    }

    .site-footer {
        width: 100%;
        background: #0f172a;
        color: #94a3b8;
        padding: 56px 0 28px;
    }

    .site-footer-inner {
        max-width: var(--aglobe-shell-max);
        margin: 0 auto;
        padding: 0 20px;
    }

    .site-footer-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 34px;
    }

    .site-footer-brand {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 14px;
    }

    .site-footer-brand-badge {
        width: 42px;
        height: 42px;
        border-radius: 10px;
        background: var(--aglobe-primary);
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 1.05rem;
    }

    .site-footer-brand-text {
        font-size: 1.48rem;
        line-height: 1;
        font-weight: 700;
        color: #fff;
    }

    .site-footer-copy {
        margin: 0 0 14px;
        max-width: 290px;
        line-height: 1.6;
    }

    .site-footer-contact {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .site-footer h6 {
        color: #fff;
        font-weight: 700;
        margin-bottom: 18px;
        text-transform: uppercase;
        font-size: 0.84rem;
        letter-spacing: 0.05em;
    }

    .site-footer ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .site-footer a {
        color: #94a3b8;
        text-decoration: none;
    }

    .site-footer a:hover {
        color: #c9d5ea;
    }

    .site-footer hr {
        border-color: #1e293b;
        margin: 34px 0 16px;
    }

    .site-footer-bottom {
        text-align: center;
        color: #64748b;
        font-size: 0.88rem;
    }

    .mobile-bottom-nav {
        display: none;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        background: #fff;
        border-top: 1px solid #e2e8f0;
        padding: 10px 0;
    }

    .mobile-bottom-nav-inner {
        display: flex;
        justify-content: space-around;
        max-width: var(--aglobe-content-max);
        margin: 0 auto;
    }

    .mobile-bottom-nav a {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        color: #64748b;
        text-decoration: none;
        font-size: 0.74rem;
        padding: 4px;
    }

    .mobile-bottom-nav a span {
        font-size: 1.2rem;
        line-height: 1;
        margin-bottom: 2px;
    }

    @media (max-width: 767px) {
        .mobile-bottom-nav {
            display: block;
        }

        .site-footer {
            padding-bottom: 82px;
        }
    }


/* ============================================================ */
/* Hamburger menu — mobile category nav                         */
/* ============================================================ */
.gum-menu-bar-top {
    display: none;
}

.gum-menu-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #1f2937;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px 16px;
    cursor: pointer;
    width: 100%;
}

.gum-menu-toggle:hover {
    background: #e5e7eb;
}

@media (max-width: 767px) {
    .gum-menu-bar-top {
        display: block;
        border-bottom: 1px solid #d1d5db;
    }

    .gum-menu-toggle {
        display: flex;
    }

    .gum-menu-inner {
        display: none;
        flex-direction: column;
        padding: 8px 0 12px;
        background: #ececec;
    }

    .gum-menu-inner.open {
        display: flex;
    }

    .gum-menu-item {
        padding: 12px 20px;
        font-size: 0.95rem;
        border-bottom: 1px solid #e5e7eb;
    }

    .gum-menu-item:last-child {
        border-bottom: none;
    }
}

/* ============================================================ */
/* Mobile header search — compact pill on small screens         */
/* ============================================================ */
@media (max-width: 640px) {
    .gum-search-wrap {
        grid-template-columns: 1fr auto !important;
        min-width: 0;
    }

    .gum-location-select {
        display: none;
    }

    .gum-search-main {
        border-right: none;
    }

    .gum-search-btn {
        min-width: 48px;
        border-radius: 0 10px 10px 0;
    }
}

/* ============================================================ */
/* Tablet breakpoints (768px – 991px) — missing mid-tier        */
/* ============================================================ */
@media (min-width: 768px) and (max-width: 991px) {
    /* Grids drop from 4-col to 2-col on tablet */
    .home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .home-cat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .home-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .home-grow-card {
        grid-template-columns: 1fr !important;
    }

    /* Dashboard and stat cards */
    .col-lg-3 { flex: 0 0 auto; width: 50%; }
    .col-lg-4 { flex: 0 0 auto; width: 50%; }
    .col-lg-6 { flex: 0 0 auto; width: 100%; }

    /* Site footer grid */
    .site-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    /* Header search stays inline on tablet */
    .gum-search-wrap {
        order: unset !important;
        width: auto !important;
        grid-template-columns: minmax(180px, 1.5fr) minmax(100px, 0.7fr) auto !important;
    }

    .gum-location-select:last-of-type {
        display: none;
    }
}

/* ============================================================ */
/* Improved mobile search bar — better UX on phones             */
/* ============================================================ */
@media (max-width: 1100px) {
    .gum-header-inner {
        flex-wrap: wrap;
    }

    .gum-search-wrap {
        order: 3;
        width: 100%;
        grid-template-columns: 1fr 1fr auto;
        border-radius: 10px;
        margin-top: 6px;
    }

    .gum-search-main {
        border-right: 0;
        border-bottom: 1px solid #e5e7eb;
        grid-column: 1 / -1;
    }

    .gum-location-select {
        border-right: 0;
        border-right: 1px solid #e5e7eb;
        min-height: 44px;
    }

    .gum-search-btn {
        min-height: 44px;
        border-radius: 0 0 10px 0;
        min-width: 56px;
    }
}

/* ============================================================ */
/* Auth pages — remove non-functional social buttons            */
/* (applied via CSS until PHP templates are updated)            */
/* ============================================================ */
.login-social-row {
    display: none !important;
}
.login-divider {
    display: none !important;
}

/* ============================================================ */
/* Modernisation — Phase 1 additions                            */
/* ============================================================ */

/* Page fade-in transition */
@media (prefers-reduced-motion: no-preference) {
  body {
    animation: agPageIn .18s ease-out both;
  }
  @keyframes agPageIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
}

/* Skeleton shimmer */
@keyframes agShimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}

.ag-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 600px 100%;
  animation: agShimmer 1.4s infinite linear;
  border-radius: 6px;
}

.ag-skeleton-card {
  background: #fff;
  border: 0.5px solid #e2e8e4;
  border-radius: 16px;
  overflow: hidden;
}

.ag-skeleton-img {
  aspect-ratio: 4 / 3;
  width: 100%;
}

.ag-skeleton-body {
  padding: 12px 14px 14px;
}

.ag-skeleton-line {
  height: 14px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.ag-skeleton-line.short  { width: 45%; }
.ag-skeleton-line.medium { width: 70%; }
.ag-skeleton-line.full   { width: 100%; }
.ag-skeleton-line.price  { width: 55%; height: 20px; margin-top: 4px; }

/* Shared empty state — works across all pages */
.ag-empty-state {
  background: #fff;
  border: 0.5px solid #e2e8e4;
  border-radius: 16px;
  padding: 56px 24px 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ag-empty-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #e8f5ee;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.ag-empty-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #111825;
  margin: 0 0 8px;
}

.ag-empty-sub {
  font-size: 0.9rem;
  color: #64748b;
  max-width: 320px;
  line-height: 1.6;
  margin: 0 0 24px;
}

.ag-empty-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 220px;
}

.ag-empty-btn-primary {
  display: block;
  padding: 10px 20px;
  background: #1f7a4c;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background .15s;
  text-align: center;
}

.ag-empty-btn-primary:hover { background: #16633f; color: #fff; }

.ag-empty-btn-secondary {
  display: block;
  padding: 9px 20px;
  background: transparent;
  color: #64748b;
  border: 0.5px solid #cbd5e1;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all .15s;
  text-align: center;
}

.ag-empty-btn-secondary:hover { background: #f8fafc; color: #1f2937; }

.ag-empty-tips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 20px;
  max-width: 360px;
}

.ag-empty-tip {
  padding: 4px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 0.5px solid #e2e8f0;
  font-size: 0.8rem;
  color: #475569;
  text-decoration: none;
  transition: all .12s;
  cursor: default;
}

a.ag-empty-tip { cursor: pointer; }
a.ag-empty-tip:hover { background: #e8f5ee; border-color: #a7d9bc; color: #1f7a4c; }

/* Nav active state */
.gum-menu-active {
  background: #d4e8dd !important;
  color: #1f7a4c !important;
  font-weight: 600;
}

/* Mobile tap target fix — icon buttons min 44px */
@media (max-width: 767px) {
  .gum-icon-btn { width: 44px !important; height: 44px !important; }
}

/* Toast region — already in main layout JS, scoped here for specificity */
.ag-toast-region {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 340px;
  width: calc(100% - 40px);
  pointer-events: none;
}

/* Form validation — consistent inline error style */
.ag-field-error {
  font-size: 0.8rem;
  color: #dc2626;
  margin-top: 4px;
  display: block;
}

.ag-input-error {
  border-color: #fca5a5 !important;
}

.ag-input-error:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
}
