/* ==========================================================================
   Global Electronics System - Modern E-Commerce Stylesheet
   Font: Roboto (300, 400, 500, 700, 900)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,400;1,700&display=swap');

:root {
  --ges-font: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ges-primary: #0b1d3a;
  --ges-primary-dark: #060e1d;
  --ges-secondary: #0066cc;
  --ges-secondary-hover: #0052a3;
  --ges-accent: #00b4d8;
  --ges-accent-glow: rgba(0, 180, 216, 0.4);
  --ges-warning: #f59e0b;
  --ges-success: #10b981;
  --ges-danger: #ef4444;
  --ges-dark: #1e293b;
  --ges-gray-100: #f8fafc;
  --ges-gray-200: #e2e8f0;
  --ges-gray-300: #cbd5e1;
  --ges-gray-600: #64748b;
  --ges-gray-800: #334155;
  --ges-white: #ffffff;
  --ges-card-radius: 12px;
  --ges-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --ges-shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
  --ges-shadow-md: 0 4px 14px rgba(11, 29, 58, 0.08);
  --ges-shadow-lg: 0 10px 25px rgba(11, 29, 58, 0.12);
  --ges-shadow-hover: 0 14px 28px rgba(11, 29, 58, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  font-family: var(--ges-font) !important;
  color: var(--ges-dark);
  background-color: var(--ges-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ges-font) !important;
  font-weight: 700;
  color: var(--ges-primary);
  letter-spacing: -0.01em;
}

a {
  color: var(--ges-secondary);
  text-decoration: none;
  transition: var(--ges-transition);
}

a:hover {
  color: var(--ges-secondary-hover);
}

/* ==========================================================================
   TOP NOTIFICATION BAR
   ========================================================================== */
.ges-topbar {
  background: var(--ges-primary-dark);
  color: #ffffff;
  font-size: 0.825rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ges-topbar a {
  color: #ffffff;
}

.ges-topbar a:hover {
  color: var(--ges-accent);
}

.ges-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 18px;
}

.ges-topbar-item i {
  color: var(--ges-accent);
}

/* ==========================================================================
   MAIN HEADER & NAVIGATION
   ========================================================================== */
.ges-header {
  background: #ffffff;
  border-bottom: 1px solid var(--ges-gray-200);
  box-shadow: var(--ges-shadow-sm);
  position: relative;
  z-index: 1020;
}

.ges-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.ges-brand-logo img {
  height: 86px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  /* Sharper rendering: no blur-causing drop shadow, crisp downscaling */
  filter: none;
  image-rendering: -webkit-optimize-contrast;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: var(--ges-transition);
}

.ges-brand-logo:hover img {
  transform: scale(1.03);
}

.ges-brand-title {
  display: flex;
  flex-direction: column;
}

.ges-brand-title h1 {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--ges-primary);
  margin: 0;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ges-brand-title span {
  font-size: 0.75rem;
  color: var(--ges-gray-600);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Search Bar */
.ges-search-box {
  position: relative;
  width: 100%;
  max-width: 540px;
}

.ges-search-box .input-group {
  border: 2px solid var(--ges-gray-200);
  border-radius: 50px;
  overflow: hidden;
  background: var(--ges-gray-100);
  transition: var(--ges-transition);
}

.ges-search-box .input-group:focus-within {
  border-color: var(--ges-secondary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.12);
}

.ges-search-box input {
  border: none;
  background: transparent;
  padding: 10px 18px;
  font-size: 0.9rem;
  box-shadow: none !important;
}

.ges-search-box select {
  border: none;
  background: #f1f5f9;
  font-size: 0.825rem;
  font-weight: 500;
  padding: 0 14px;
  max-width: 160px;
  border-right: 1px solid var(--ges-gray-200);
  cursor: pointer;
}

.ges-search-box button {
  background: var(--ges-secondary);
  color: #fff;
  border: none;
  padding: 0 22px;
  font-weight: 600;
  transition: var(--ges-transition);
}

.ges-search-box button:hover {
  background: var(--ges-primary);
}

/* Header Quick Actions */
.ges-header-action {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ges-primary);
  font-size: 0.85rem;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  transition: var(--ges-transition);
  position: relative;
}

.ges-header-action:hover {
  background: var(--ges-gray-100);
  color: var(--ges-secondary);
}

.ges-action-icon {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ges-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--ges-primary);
  transition: var(--ges-transition);
}

.ges-header-action:hover .ges-action-icon {
  background: var(--ges-secondary);
  color: #fff;
}

.ges-badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--ges-danger);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

/* Navbar */
.ges-navbar {
  background: var(--ges-primary);
  padding: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  margin-bottom: 0 !important;
}

.ges-nav-link {
  color: #e2e8f0 !important;
  font-weight: 500;
  font-size: 0.925rem;
  padding: 14px 18px !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--ges-transition);
  position: relative;
}

.ges-nav-link:hover,
.ges-nav-link.active {
  color: var(--ges-accent) !important;
  background: rgba(255, 255, 255, 0.05);
}

.ges-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--ges-accent);
}

.ges-btn-rfq {
  background: linear-gradient(135deg, #00b4d8, #0077b6);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 180, 216, 0.35);
  transition: var(--ges-transition);
}

.ges-btn-rfq:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 180, 216, 0.5);
  color: #fff !important;
}

/* ==========================================================================
   HERO CAROUSEL SECTION
   ========================================================================== */
.ges-hero-carousel {
  position: relative;
  background: var(--ges-primary-dark);
  overflow: hidden;
  margin-top: 0;
}

.ges-hero-slide {
  min-height: 520px;
  position: relative;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.ges-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(6, 14, 29, 0.94) 0%, rgba(11, 29, 58, 0.82) 55%, rgba(6, 14, 29, 0.4) 100%);
  z-index: 1;
}

.ges-hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  padding: 60px 0;
  max-width: 750px;
}

.ges-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 180, 216, 0.15);
  border: 1px solid var(--ges-accent);
  color: var(--ges-accent);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
  animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(0, 180, 216, 0); }
}

.ges-hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.ges-hero-subtitle {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 32px;
  line-height: 1.6;
}

.ges-hero-btn-primary {
  background: var(--ges-secondary);
  color: #fff;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
  transition: var(--ges-transition);
}

.ges-hero-btn-primary:hover {
  background: #0052a3;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 102, 204, 0.55);
}

.ges-hero-btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.5);
  font-weight: 600;
  padding: 11px 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  transition: var(--ges-transition);
}

.ges-hero-btn-outline:hover {
  border-color: var(--ges-accent);
  color: var(--ges-accent);
  background: rgba(0, 180, 216, 0.1);
  transform: translateY(-3px);
}

/* ==========================================================================
   FEATURE STRIP (WHY CHOOSE GES)
   ========================================================================== */
.ges-features-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--ges-gray-200);
  padding: 30px 0;
  box-shadow: var(--ges-shadow-sm);
}

.ges-feature-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border-radius: 10px;
  transition: var(--ges-transition);
}

.ges-feature-card:hover {
  background: var(--ges-gray-100);
  transform: translateY(-2px);
}

.ges-feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(0, 102, 204, 0.08);
  color: var(--ges-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: var(--ges-transition);
}

.ges-feature-card:hover .ges-feature-icon {
  background: var(--ges-secondary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.ges-feature-info h6 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 2px 0;
  color: var(--ges-primary);
}

.ges-feature-info p {
  font-size: 0.8rem;
  color: var(--ges-gray-600);
  margin: 0;
}

/* ==========================================================================
   SECTION TITLES & HEADINGS
   ========================================================================== */
.ges-section-title {
  position: relative;
  margin-bottom: 36px;
}

.ges-section-title .ges-subtitle {
  color: var(--ges-secondary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 6px;
}

.ges-section-title h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ges-primary);
  margin: 0;
}

.ges-section-title p {
  color: var(--ges-gray-600);
  font-size: 0.95rem;
  margin-top: 6px;
  max-width: 600px;
}

/* ==========================================================================
   CATEGORY CARDS
   ========================================================================== */
.ges-category-card {
  background: #ffffff;
  border: 1px solid var(--ges-gray-200);
  border-radius: var(--ges-card-radius);
  padding: 24px 16px;
  text-align: center;
  transition: var(--ges-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: var(--ges-shadow-sm);
  position: relative;
  overflow: hidden;
}

.ges-category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ges-secondary), var(--ges-accent));
  opacity: 0;
  transition: var(--ges-transition);
}

.ges-category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ges-shadow-hover);
  border-color: var(--ges-accent);
}

.ges-category-card:hover::before {
  opacity: 1;
}

.ges-category-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ges-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--ges-primary);
  margin-bottom: 14px;
  transition: var(--ges-transition);
}

.ges-category-card:hover .ges-category-icon {
  background: var(--ges-primary);
  color: var(--ges-accent);
  transform: scale(1.1);
}

.ges-category-card h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--ges-primary);
  transition: var(--ges-transition);
}

.ges-category-card:hover h5 {
  color: var(--ges-secondary);
}

.ges-category-card span {
  font-size: 0.8rem;
  color: var(--ges-gray-600);
  font-weight: 500;
}

/* ==========================================================================
   PRODUCT CARDS (E-COMMERCE)
   ========================================================================== */
.ges-product-card {
  background: #ffffff;
  border: 1px solid var(--ges-gray-200);
  border-radius: var(--ges-card-radius);
  overflow: hidden;
  transition: var(--ges-transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--ges-shadow-sm);
  position: relative;
}

.ges-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ges-shadow-hover);
  border-color: rgba(0, 102, 204, 0.35);
}

/* Product Detail Page - Gallery Thumbnails */
.ges-gallery-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--ges-gray-200);
  cursor: pointer;
  transition: var(--ges-transition);
  background: #fff;
}

.ges-gallery-thumb:hover {
  border-color: var(--ges-accent);
}

.ges-gallery-thumb.active {
  border-color: var(--ges-secondary);
  box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
}

.ges-product-thumb {
  position: relative;
  background: #0a1128;
  height: 220px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.ges-product-card:hover .ges-product-thumb img {
  transform: scale(1.06);
}

/* Home page Featured Products: show the full product image instead of cropping it */
.ges-home-product-card .ges-product-thumb {
  padding: 10px;
  box-sizing: border-box;
}

.ges-home-product-card .ges-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ges-home-product-card:hover .ges-product-thumb img {
  transform: scale(1.04);
}

.ges-badge-sale {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--ges-danger);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 2;
}

.ges-badge-new {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--ges-accent);
  color: var(--ges-primary);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 2;
}

.ges-product-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ges-product-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ges-gray-600);
  margin-bottom: 6px;
  display: block;
}

.ges-product-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ges-primary);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
}

.ges-product-title a {
  color: inherit;
}

.ges-product-title a:hover {
  color: var(--ges-secondary);
}

.ges-product-sku {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 12px;
}

.ges-product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 16px;
}

.ges-price-current {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--ges-primary);
}

.ges-price-old {
  font-size: 0.9rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.ges-product-actions {
  display: flex;
  gap: 8px;
}

.ges-btn-cart {
  flex-grow: 1;
  background: var(--ges-secondary);
  color: #fff;
  border: none;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--ges-transition);
}

.ges-btn-cart:hover {
  background: var(--ges-primary);
  color: #fff;
}

.ges-btn-inquire {
  background: #f1f5f9;
  color: var(--ges-dark);
  border: 1px solid var(--ges-gray-200);
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--ges-transition);
}

.ges-btn-inquire:hover {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}

/* ==========================================================================
   INTERMEDIATE PROMOTIONAL BANNERS
   ========================================================================== */
.ges-promo-banner {
  border-radius: var(--ges-card-radius);
  overflow: hidden;
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: center;
  padding: 30px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--ges-shadow-md);
  transition: var(--ges-transition);
  text-decoration: none;
}

.ges-promo-banner:hover {
  transform: translateY(-4px);
  box-shadow: var(--ges-shadow-hover);
}

.ges-promo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(11, 29, 58, 0.94) 0%, rgba(11, 29, 58, 0.75) 100%);
  z-index: 1;
}

.ges-promo-content {
  position: relative;
  z-index: 2;
  max-width: 80%;
  color: #fff;
}

.ges-promo-tag {
  display: inline-block;
  background: var(--ges-accent);
  color: var(--ges-primary);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.ges-promo-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.25;
}

.ges-promo-desc {
  font-size: 0.875rem;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.ges-promo-btn {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ges-accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ges-promo-banner:hover .ges-promo-btn {
  color: #fff;
  transform: translateX(4px);
}

/* Full Width Middle Banner */
.ges-middle-banner {
  background: var(--ges-primary);
  background-size: cover;
  background-position: center;
  padding: 70px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.ges-middle-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 14, 29, 0.85);
}

.ges-middle-content {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   DEAL COUNTDOWN SECTION
   ========================================================================== */
.ges-deal-box {
  background: #ffffff;
  border-radius: var(--ges-card-radius);
  border: 2px solid #e0e7ff;
  padding: 36px;
  box-shadow: var(--ges-shadow-md);
}

.ges-countdown-timer {
  display: flex;
  gap: 12px;
  margin: 20px 0;
}

.ges-countdown-item {
  background: var(--ges-primary);
  color: #ffffff;
  border-radius: 8px;
  padding: 10px;
  min-width: 65px;
  text-align: center;
}

.ges-countdown-num {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--ges-accent);
  line-height: 1;
}

.ges-countdown-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   STATS COUNTERS & TRUST SECTION
   ========================================================================== */
.ges-stats-section {
  background: var(--ges-primary-dark);
  color: #ffffff;
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ges-stat-card {
  text-align: center;
  padding: 20px;
}

.ges-stat-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--ges-accent);
  line-height: 1;
  margin-bottom: 8px;
}

.ges-stat-label {
  font-size: 0.95rem;
  color: #cbd5e1;
  font-weight: 500;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.ges-service-card {
  background: #ffffff;
  border: 1px solid var(--ges-gray-200);
  border-radius: var(--ges-card-radius);
  padding: 28px;
  transition: var(--ges-transition);
  height: 100%;
}

.ges-service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--ges-shadow-hover);
  border-color: var(--ges-secondary);
}

.ges-service-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(0, 180, 216, 0.1);
  color: var(--ges-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.ges-service-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.ges-footer {
  background: var(--ges-primary-dark);
  color: #ffffff;
  padding-top: 70px;
  border-top: 3px solid var(--ges-secondary);
}

.ges-footer h5 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.ges-footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--ges-accent);
}

.ges-footer p {
  font-size: 0.885rem;
  line-height: 1.7;
  color: #ffffff;
}

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

.ges-footer-links li {
  margin-bottom: 10px;
}

.ges-footer-links a {
  color: #e2e8f0;
  font-size: 0.885rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--ges-transition);
}

.ges-footer-links a:hover {
  color: var(--ges-accent);
  transform: translateX(4px);
}

.ges-footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.885rem;
  color: #ffffff;
}

.ges-footer-contact-item i {
  color: var(--ges-accent);
  font-size: 1.1rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.ges-footer-bottom {
  background: #030813;
  padding: 20px 0;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.825rem;
  color: #ffffff;
}

/* Bootstrap's .text-muted (grey) is hard to read on the dark footer/topbar
   background, so force white text anywhere it's used inside these sections. */
.ges-footer .text-muted,
.ges-footer-bottom .text-muted,
.ges-topbar .text-muted {
  color: #ffffff !important;
}

/* Floating WhatsApp Button */
.ges-floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  z-index: 1000;
  transition: var(--ges-transition);
}

.ges-floating-whatsapp:hover {
  transform: scale(1.1) rotate(6deg);
  color: #fff;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .ges-hero-title {
    font-size: 2rem;
  }
  .ges-hero-slide {
    min-height: 420px;
  }
}

/* ==========================================================================
   SPECIAL PRODUCTS - 3D COVERFLOW SLIDER
   ========================================================================== */
.ges-special-section {
  position: relative;
  padding: 64px 0 70px;
  background:
    radial-gradient(1000px 420px at 50% -10%, rgba(0, 180, 216, 0.18), transparent 70%),
    linear-gradient(180deg, var(--ges-primary) 0%, #102a54 55%, var(--ges-primary-dark) 100%);
  overflow: hidden;
}

.ges-special-head {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.ges-special-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 180, 216, 0.14);
  border: 1px solid rgba(0, 180, 216, 0.35);
  color: var(--ges-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 30px;
  margin-bottom: 14px;
}

.ges-special-head h2 {
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.ges-special-head p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
  margin-bottom: 0;
}

.ges-coverflow {
  position: relative;
  width: 100%;
  margin-top: 30px;
}

.ges-coverflow-stage {
  position: relative;
  height: 470px;
  width: 100%;
  perspective: 1600px;
  perspective-origin: 50% 50%;
  cursor: grab;
  touch-action: pan-y;               /* allow vertical page scroll, capture horizontal drag */
  -webkit-user-select: none;
  user-select: none;
  outline: none;
}

.ges-coverflow-stage.is-grabbing {
  cursor: grabbing;
}

.ges-cf-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 330px;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%);
  transform-style: preserve-3d;
  transform-origin: center center;
  will-change: transform, opacity;
  transition: box-shadow 0.35s ease;
}

/* Side cards are click-to-center only: their inner links must not steal the click */
.ges-cf-card:not(.is-active) {
  cursor: pointer;
}

.ges-cf-card:not(.is-active) a,
.ges-cf-card:not(.is-active) button {
  pointer-events: none;
}

.ges-cf-card:not(.is-active) .ges-cf-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 29, 58, 0.28);
}

.ges-cf-card.is-active {
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45), 0 0 0 3px rgba(0, 180, 216, 0.55);
}

.ges-cf-thumb {
  position: relative;
  height: 230px;
  background: #0a1128;
  overflow: hidden;
  padding: 10px;
  box-sizing: border-box;
}

.ges-cf-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  -webkit-user-drag: none;
}

.ges-cf-badge {
  position: absolute;
  top: 12px;
  z-index: 3;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 11px;
  border-radius: 20px;
  color: #fff;
}

.ges-cf-badge-sale {
  left: 12px;
  background: var(--ges-danger);
}

.ges-cf-badge-new {
  right: 12px;
  background: var(--ges-success);
}

.ges-cf-body {
  padding: 18px 18px 20px;
}

.ges-cf-category {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ges-secondary);
  margin-bottom: 6px;
}

.ges-cf-title {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 6px;
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ges-cf-title a {
  color: var(--ges-primary);
}

.ges-cf-title a:hover {
  color: var(--ges-secondary);
}

.ges-cf-sku {
  font-size: 0.75rem;
  color: var(--ges-gray-600);
  margin-bottom: 10px;
}

.ges-cf-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}

.ges-cf-price-now {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ges-primary);
}

.ges-cf-price-old {
  font-size: 0.9rem;
  color: var(--ges-gray-600);
  text-decoration: line-through;
}

.ges-cf-actions {
  display: flex;
  gap: 8px;
}

.ges-cf-btn-cart {
  flex: 1;
  border: none;
  background: var(--ges-secondary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 8px;
  transition: var(--ges-transition);
}

.ges-cf-btn-cart:hover {
  background: var(--ges-primary);
}

.ges-cf-btn-wa {
  width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #e8f7ee;
  color: #128c7e;
  font-size: 1.15rem;
}

.ges-cf-btn-wa:hover {
  background: #25d366;
  color: #fff;
}

/* Arrows */
.ges-cf-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--ges-transition);
}

.ges-cf-nav:hover {
  background: var(--ges-accent);
  border-color: var(--ges-accent);
  color: var(--ges-primary-dark);
}

.ges-cf-prev { left: 24px; }
.ges-cf-next { right: 24px; }

/* Dots */
.ges-cf-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  flex-wrap: wrap;
  padding: 0 16px;
}

.ges-cf-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: var(--ges-transition);
}

.ges-cf-dot.is-active {
  width: 30px;
  border-radius: 10px;
  background: var(--ges-accent);
}

.ges-cf-viewall {
  display: inline-flex;
  align-items: center;
  margin-top: 26px;
  padding: 11px 28px;
  border-radius: 30px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--ges-transition);
}

.ges-cf-viewall:hover {
  background: var(--ges-accent);
  border-color: var(--ges-accent);
  color: var(--ges-primary-dark) !important;
}

@media (prefers-reduced-motion: reduce) {
  .ges-cf-card {
    transition: none;
  }
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.max-w-700 {
  max-width: 700px;
}

img {
  max-width: 100%;
}

/* ==========================================================================
   RESPONSIVE / MOBILE FRIENDLY LAYER
   ========================================================================== */

/* Large desktops and small laptops */
@media (max-width: 1399px) {
  .ges-cf-card { width: 310px; }
  .ges-coverflow-stage { height: 450px; }
}

@media (max-width: 1199px) {
  .ges-hero-title { font-size: 2.3rem; }
  .ges-hero-slide { min-height: 460px; }
  .ges-nav-link { padding: 12px 12px !important; font-size: 0.85rem; }
  .ges-stat-num { font-size: 2.3rem; }
  .ges-special-head h2 { font-size: 2rem; }
  .ges-cf-card { width: 290px; }
  .ges-cf-thumb { height: 210px; }
  .ges-coverflow-stage { height: 430px; }
}

/* Tablets / collapsed navbar */
@media (max-width: 991px) {
  body { font-size: 0.95rem; }

  .container-fluid.px-lg-5 { padding-left: 16px !important; padding-right: 16px !important; }

  /* Large Bootstrap gutters overflow narrow viewports - tighten them */
  .row.g-5, .row.gx-5 { --bs-gutter-x: 1.5rem !important; }
  .row.g-5 { --bs-gutter-y: 1.75rem !important; }

  section.py-5 { padding-top: 2.25rem !important; padding-bottom: 2.25rem !important; }

  /* Header */
  .ges-brand-logo img { height: 66px; }
  .ges-header { padding-top: 0.75rem !important; padding-bottom: 0.75rem !important; }

  /* Navbar - collapsed menu */
  .ges-navbar .navbar-collapse {
    background: var(--ges-primary-dark);
    border-radius: 10px;
    margin: 8px 0 12px;
    padding: 8px 4px;
    max-height: 72vh;
    overflow-y: auto;
  }
  .ges-nav-link {
    padding: 12px 14px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .ges-navbar .dropdown-menu {
    margin: 0 8px 8px;
    box-shadow: none !important;
  }
  .ges-btn-rfq {
    width: 100%;
    justify-content: center;
    margin: 8px 0;
  }
  .ges-navbar .d-flex.align-items-center { width: 100%; }

  /* Hero */
  .ges-hero-slide { min-height: 360px; }
  .ges-hero-title { font-size: 1.85rem; }
  .ges-hero-subtitle { font-size: 0.98rem; }
  .ges-hero-badge { font-size: 0.68rem; }
  .ges-hero-content { padding: 26px 0; }

  /* Typography of section headings */
  .ges-section-title h2,
  .display-6 { font-size: 1.6rem !important; }
  .ges-special-head h2 { font-size: 1.75rem; }
  .ges-special-section { padding: 44px 0 50px; }

  /* Coverflow */
  .ges-coverflow-stage { height: 420px; }
  .ges-cf-card { width: 270px; }
  .ges-cf-thumb { height: 190px; }
  .ges-cf-nav { width: 44px; height: 44px; font-size: 1rem; }
  .ges-cf-prev { left: 10px; }
  .ges-cf-next { right: 10px; }

  /* Cards */
  .ges-product-thumb { height: 190px; }
  .ges-promo-banner { min-height: 210px; padding: 24px; }
  .ges-middle-banner { padding: 46px 0; }
  .ges-deal-box { padding: 24px; }
  .ges-stat-num { font-size: 2rem; }
  .ges-stat-label { font-size: 0.82rem; }
  .ges-feature-card { padding: 16px; }
}

/* Phones */
@media (max-width: 767px) {
  /* Prevent iOS zoom-on-focus */
  input.form-control,
  select.form-select,
  textarea.form-control { font-size: 16px !important; }

  section.py-5 { padding-top: 1.75rem !important; padding-bottom: 1.75rem !important; }

  /* Header */
  .ges-brand-logo img { height: 58px; }
  .ges-header .row > div { padding-top: 0; padding-bottom: 0; }

  /* Hero */
  .ges-hero-slide { min-height: 300px; }
  .ges-hero-title { font-size: 1.5rem; line-height: 1.25; margin-bottom: 12px; }
  .ges-hero-subtitle { font-size: 0.9rem; margin-bottom: 16px; }
  .ges-hero-content { padding: 20px 0; max-width: 100%; }
  .ges-hero-btn-primary,
  .ges-hero-btn-outline {
    width: 100%;
    justify-content: center;
    font-size: 0.85rem;
    padding: 11px 16px;
  }
  .ges-hero-carousel .carousel-control-prev,
  .ges-hero-carousel .carousel-control-next { width: 12%; opacity: 0.7; }
  .carousel-indicators { margin-bottom: 8px; }

  /* Section headings */
  .ges-section-title h2,
  .display-6 { font-size: 1.35rem !important; }
  .ges-section-title p { font-size: 0.88rem; }
  .ges-subtitle { font-size: 0.72rem; }

  /* Buttons/rows that must not overflow */
  .d-flex.flex-wrap.justify-content-between.align-items-end .btn { width: 100%; }

  /* Coverflow on mobile: center card dominant, neighbours peeking */
  .ges-special-section { padding: 36px 0 42px; }
  .ges-special-head h2 { font-size: 1.5rem; }
  .ges-special-head p { font-size: 0.88rem; }
  .ges-coverflow-stage { height: 400px; }
  .ges-cf-card { width: 230px; border-radius: 14px; }
  .ges-cf-thumb { height: 165px; }
  .ges-cf-body { padding: 14px; }
  .ges-cf-title { font-size: 0.92rem; }
  .ges-cf-price-now { font-size: 1.1rem; }
  .ges-cf-btn-cart { font-size: 0.78rem; padding: 9px 8px; }
  .ges-cf-btn-wa { width: 40px; }
  .ges-cf-nav { width: 38px; height: 38px; font-size: 0.85rem; }
  .ges-cf-prev { left: 4px; }
  .ges-cf-next { right: 4px; }
  .ges-cf-dots { margin-top: 18px; }

  /* Product / category cards */
  .ges-product-thumb { height: 170px; }
  .ges-category-card { padding: 18px 12px; }
  .ges-category-card h5 { font-size: 0.9rem; }
  .ges-category-icon { width: 56px; height: 56px; font-size: 1.3rem; }
  .ges-product-title { font-size: 0.92rem; }
  .ges-btn-cart { font-size: 0.8rem; }

  /* Deal box + countdown */
  .ges-deal-box { padding: 18px; }
  .ges-countdown-timer { gap: 8px; }
  .ges-countdown-item { padding: 10px 12px; min-width: 62px; }
  .ges-countdown-num { font-size: 1.3rem; }
  .ges-countdown-label { font-size: 0.65rem; }

  /* Promo + middle banners */
  .ges-promo-banner { min-height: 180px; padding: 20px; }
  .ges-promo-title { font-size: 1.15rem; }
  .ges-middle-banner { padding: 36px 0; text-align: center; }

  /* Stats */
  .ges-stat-card { padding: 14px 8px; }
  .ges-stat-num { font-size: 1.7rem; }
  .ges-stat-label { font-size: 0.75rem; }

  /* Services */
  .ges-service-card { padding: 20px; }
  .ges-service-card h4 { font-size: 1rem; }

  /* Footer */
  .ges-footer { text-align: center; }
  .ges-footer-contact-item { justify-content: center; }
  .ges-footer-links { margin-bottom: 18px; }
  .ges-footer-bottom { font-size: 0.8rem; }

  /* Floating WhatsApp shouldn't cover content */
  .ges-floating-whatsapp { width: 52px; height: 52px; font-size: 1.4rem; bottom: 16px; right: 16px; }

  /* Tables scroll instead of breaking layout */
  .table-responsive > table { min-width: 520px; }
  .table-responsive { -webkit-overflow-scrolling: touch; }
}

/* Small phones */
@media (max-width: 575px) {
  .ges-brand-logo img { height: 52px; }
  .ges-hero-slide { min-height: 260px; }
  .ges-hero-title { font-size: 1.3rem; }
  .ges-coverflow-stage { height: 380px; }
  .ges-cf-card { width: 210px; }
  .ges-cf-thumb { height: 150px; }
  .ges-special-head h2 { font-size: 1.35rem; }
  .ges-product-thumb { height: 155px; }
  .ges-product-actions { flex-wrap: wrap; }
  .ges-stat-num { font-size: 1.45rem; }
  .card.rounded-4.p-4 { padding: 18px !important; }
}
