/* ============================================
   HOPX SPORTS - MAIN STYLESHEET
   Professional Sports Store - Meerut, India
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  /* Primary */
  --primary-orange: #FF6600;
  --primary-blue: #0066CC;
  --primary-green: #00A651;
  /* Secondary */
  --secondary-red: #E63946;
  --secondary-yellow: #FFB800;
  --secondary-teal: #00B4D8;
  /* Neutral */
  --white: #FFFFFF;
  --light-gray: #F5F5F5;
  --medium-gray: #E0E0E0;
  --text-gray: #4A4A4A;
  --dark-gray: #2B2B2B;
  /* Backgrounds */
  --bg-light: #FAFAFA;
  --bg-white: #FFFFFF;
  --bg-card: #FFFFFF;
  /* Accents */
  --accent-gold: #FFD700;
  --success-green: #28A745;
  --warning-orange: #FFA500;
  --error-red: #DC3545;
  --info-blue: #17A2B8;
  /* Indian theme */
  --saffron: #FF9933;
  --india-green: #138808;
  --navy-blue: #000080;
  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Roboto', sans-serif;
  --font-accent: 'Montserrat', sans-serif;
  /* Spacing */
  --container-max: 1280px;
  --section-padding: 60px 0;
  --header-height: 140px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.3s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-secondary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-gray);
  background: var(--bg-light);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-orange); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-accent); font-weight: 700; color: var(--dark-gray); }
h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 0.5em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p { margin-bottom: 0.75em; }
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.top-bar {
  background: linear-gradient(90deg, var(--primary-orange), var(--saffron));
  color: var(--white);
  padding: 8px 0;
  font-size: 14px;
  text-align: center;
}
.top-bar p { margin: 0; }
.main-header {
  background: var(--white);
  padding: 16px 0;
  box-shadow: var(--shadow-sm);
}
.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--dark-gray);
}
.logo img { width: 48px; height: 48px; object-fit: contain; }
.search-bar {
  flex: 1;
  max-width: 480px;
  display: flex;
  border: 2px solid var(--medium-gray);
  border-radius: var(--radius);
  overflow: hidden;
}
.search-bar input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  outline: none;
}
.search-bar input::placeholder { color: #999; }
.search-bar button {
  padding: 12px 20px;
  background: var(--primary-orange);
  color: var(--white);
  font-size: 1.2rem;
  transition: background var(--transition);
}
.search-bar button:hover { background: #e55a00; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-actions button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--text-gray);
  font-size: 14px;
  transition: background var(--transition), color var(--transition);
}
.header-actions button:hover { background: var(--light-gray); color: var(--primary-orange); }
.header-actions .cart {
  position: relative;
}
.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary-orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-count.bounce { animation: bounce 0.3s ease; }
@keyframes bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

/* ---------- Navigation ---------- */
.main-nav {
  background: var(--primary-blue);
  padding: 0;
}
.main-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.main-nav ul li a {
  display: block;
  padding: 16px 20px;
  color: var(--white);
  font-weight: 500;
  font-size: 15px;
  transition: background var(--transition);
}
.main-nav ul li a:hover,
.main-nav ul li a.active { background: rgba(255,255,255,0.15); }
.main-nav .dropdown { position: relative; }
.main-nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 100;
}
.main-nav .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-nav .dropdown-menu a {
  color: var(--text-gray);
  padding: 12px 20px;
  display: block;
  border-radius: 0;
}
.main-nav .dropdown-menu a:hover { background: var(--light-gray); color: var(--primary-orange); }
.mobile-menu-toggle {
  display: none;
  padding: 12px;
  font-size: 1.5rem;
  color: var(--white);
}

/* ---------- Sticky Header ---------- */
header.sticky .top-bar { display: none; }
header.sticky .main-header { padding: 10px 0; }
header.sticky .main-nav { position: sticky; top: 0; z-index: 99; }

/* ---------- Hero Slider ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 480px;
}
.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s;
}
.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-orange));
}
.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: var(--white);
}
.slide-content h1 { color: var(--white); margin-bottom: 8px; }
.slide-content p { margin-bottom: 20px; opacity: 0.95; font-size: 1.1rem; }
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 10;
  pointer-events: none;
}
.slider-controls button {
  pointer-events: auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: var(--dark-gray);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.slider-controls button:hover { background: var(--white); transform: scale(1.1); }
.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.slider-dots .dot:hover,
.slider-dots .dot.active { background: var(--white); transform: scale(1.2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius);
  transition: all var(--transition);
  border: 2px solid transparent;
  min-height: 44px;
}
.btn-primary {
  background: var(--primary-orange);
  color: var(--white);
  border-color: var(--primary-orange);
}
.btn-primary:hover { background: #e55a00; border-color: #e55a00; transform: translateY(-1px); }
.btn-secondary {
  background: var(--white);
  color: var(--primary-orange);
  border-color: var(--white);
}
.btn-secondary:hover { background: var(--light-gray); color: var(--dark-gray); border-color: var(--medium-gray); }
.btn-outline {
  background: transparent;
  color: var(--primary-orange);
  border-color: var(--primary-orange);
}
.btn-outline:hover { background: var(--primary-orange); color: var(--white); }

/* ---------- Trust Badges ---------- */
.trust-badges {
  background: var(--white);
  padding: 32px 0;
  box-shadow: var(--shadow-sm);
}
.badges-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  align-items: start;
}
.badge {
  text-align: center;
  padding: 16px 8px;
}
.badge .feature-icon,
.badge [class^="icon-"] {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--primary-orange);
}
.badge h3 { font-size: 1rem; margin-bottom: 4px; }
.badge p { font-size: 13px; color: var(--text-gray); margin: 0; }

/* ---------- Section Titles ---------- */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}
.section-header h2 { margin-bottom: 0; }
.subtitle { color: var(--text-gray); margin-bottom: 24px; font-size: 1.05rem; }

/* ---------- Categories ---------- */
.categories { padding: var(--section-padding); }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  background: var(--medium-gray);
}
.category-card:hover img { transform: scale(1.08); }
.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(0,0,0,0.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--white);
  transition: background var(--transition);
}
.category-card:hover .category-overlay { background: linear-gradient(transparent 20%, rgba(0,0,0,0.85) 100%); }
.category-overlay h3 { color: var(--white); margin-bottom: 4px; }
.category-overlay p { font-size: 14px; opacity: 0.9; margin: 0 0 8px 0; }
.shop-now { font-weight: 600; font-size: 14px; opacity: 0; transform: translateY(8px); transition: all var(--transition); }
.category-card:hover .shop-now { opacity: 1; transform: translateY(0); }

/* ---------- Featured Products ---------- */
.featured-products { padding: var(--section-padding); background: var(--white); }
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-tabs button {
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 500;
  background: var(--light-gray);
  color: var(--text-gray);
  transition: all var(--transition);
}
.filter-tabs button:hover,
.filter-tabs button.active { background: var(--primary-orange); color: var(--white); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.product-card.show { animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.product-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--light-gray);
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-image img { transform: scale(1.05); }
.product-image .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  z-index: 2;
}
.badge-sale { background: var(--error-red); color: var(--white); }
.badge-new { background: var(--primary-green); color: var(--white); }
.quick-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 2;
}
.product-card:hover .quick-actions { opacity: 1; transform: translateX(0); }
.quick-actions button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.quick-actions button:hover { background: var(--primary-orange); color: var(--white); }
.product-info { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-brand { font-size: 12px; color: var(--primary-orange); font-weight: 600; margin-bottom: 4px; text-transform: uppercase; }
.product-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark-gray);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 14px;
}
.stars { color: var(--secondary-yellow); }
.rating-count { color: #888; font-size: 13px; }
.product-price {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.current-price { font-size: 1.35rem; font-weight: 700; color: var(--dark-gray); }
.original-price { font-size: 0.95rem; color: #999; text-decoration: line-through; }
.discount { font-size: 12px; color: var(--success-green); font-weight: 600; }
.product-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 12px;
}
.product-actions .btn { flex: 1; padding: 10px 12px; font-size: 13px; }
.product-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--success-green);
}
.view-all { text-align: center; margin-top: 40px; }

/* ---------- Offers ---------- */
.offers { padding: var(--section-padding); background: var(--bg-light); }
.offers h2 { margin-bottom: 32px; text-align: center; }
.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.offer-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition);
}
.offer-card:hover { box-shadow: var(--shadow-md); }
.offer-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-orange), var(--saffron));
}
.offer-image img { width: 100%; height: 100%; object-fit: cover; }
.offer-content { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.offer-badge {
  display: inline-block;
  background: var(--primary-orange);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  width: fit-content;
}
.offer-content h3 { margin-bottom: 8px; }
.offer-content p { font-size: 14px; margin-bottom: 12px; color: var(--text-gray); flex: 1; }
.offer-code code,
.offer-validity { font-size: 13px; color: var(--text-gray); margin-bottom: 16px; }
.offer-code code { background: var(--light-gray); padding: 4px 8px; border-radius: 4px; font-weight: 600; }

/* ---------- Brands ---------- */
.brands { padding: var(--section-padding); background: var(--white); }
.brands h2 { text-align: center; }
.brands .subtitle { text-align: center; }
.brands-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  align-items: center;
}
.brand-card {
  background: var(--white);
  border: 1px solid var(--medium-gray);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.brand-card:hover { border-color: var(--primary-orange); box-shadow: var(--shadow-sm); }
.brand-card img { max-height: 48px; width: auto; object-fit: contain; filter: grayscale(100%); opacity: 0.8; }
.brand-card:hover img { filter: grayscale(0%); opacity: 1; }

/* ---------- Reviews ---------- */
.reviews { padding: var(--section-padding); background: var(--bg-light); }
.reviews h2 { text-align: center; }
.reviews .subtitle { text-align: center; }
.reviews-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 16px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.review-card {
  flex: 0 0 340px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  transition: box-shadow var(--transition);
}
.review-card:hover { box-shadow: var(--shadow-md); }
.review-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.review-header img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--light-gray);
}
.reviewer-info h4 { margin-bottom: 2px; font-size: 1rem; }
.reviewer-info .location { font-size: 13px; color: #888; }
.review-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.review-text { font-size: 0.95rem; margin-bottom: 12px; line-height: 1.6; color: var(--text-gray); }
.review-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #888;
}
.verified { color: var(--success-green); }
.review-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--medium-gray);
}
.review-stats .stat { text-align: center; }
.review-stats .stat h3 { color: var(--primary-orange); font-size: 2rem; margin-bottom: 4px; }
.review-stats .stat p { margin: 0; font-size: 14px; color: var(--text-gray); }

/* ---------- Why Choose Us ---------- */
.why-choose-us { padding: var(--section-padding); background: var(--white); }
.why-choose-us h2 { text-align: center; margin-bottom: 40px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-light);
  transition: background var(--transition), transform var(--transition);
}
.feature:hover { background: var(--light-gray); transform: translateY(-4px); }
.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}
.feature h3 { margin-bottom: 8px; font-size: 1.15rem; }
.feature p { margin: 0; font-size: 14px; color: var(--text-gray); }

/* ---------- Showroom ---------- */
.showroom { padding: var(--section-padding); background: var(--bg-light); }
.showroom-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.showroom-info h2 { margin-bottom: 12px; }
.showroom-info > p { margin-bottom: 24px; color: var(--text-gray); }
.showroom-details { margin-bottom: 24px; }
.showroom-details .detail {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}
.showroom-details .detail [class^="icon-"] {
  font-size: 1.5rem;
  color: var(--primary-orange);
  flex-shrink: 0;
}
.showroom-details h4 { margin-bottom: 4px; font-size: 1rem; }
.showroom-details p { margin: 0; font-size: 14px; color: var(--text-gray); }
.showroom-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.showroom-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.showroom-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  background: var(--medium-gray);
}
.showroom-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--primary-orange);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
}

/* ---------- Newsletter ---------- */
.newsletter {
  background: linear-gradient(135deg, var(--primary-blue), var(--navy-blue));
  color: var(--white);
  padding: 48px 0;
}
.newsletter-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.newsletter h2 { color: var(--white); margin-bottom: 8px; }
.newsletter-text p { margin-bottom: 24px; opacity: 0.95; }
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form input {
  flex: 1;
  min-width: 220px;
  padding: 14px 20px;
  border: none;
  border-radius: var(--radius);
  outline: none;
}
.newsletter-form .btn { background: var(--primary-orange); border-color: var(--primary-orange); }
.newsletter-form .btn:hover { background: #e55a00; border-color: #e55a00; }
.newsletter-note { font-size: 13px; opacity: 0.9; margin: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--dark-gray); color: var(--light-gray); margin-top: 0; }
.footer-main { padding: 48px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
}
.footer-col h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-family: var(--font-accent);
}
.footer-col p { font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: var(--light-gray);
  font-size: 14px;
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--primary-orange); }
.footer-social h4 { font-size: 14px; margin-bottom: 12px; color: var(--white); }
.social-links {
  display: flex;
  gap: 12px;
}
.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
}
.social-links a:hover { background: var(--primary-orange); color: var(--white); }
.contact-info .contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
}
.contact-info .contact-item [class^="icon-"] { flex-shrink: 0; color: var(--primary-orange); }
.contact-info a { color: var(--light-gray); }
.contact-info a:hover { color: var(--primary-orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
}
.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { margin: 0; font-size: 14px; }
.payment-methods {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.payment-methods span { font-size: 13px; }
.payment-methods img { height: 28px; width: auto; opacity: 0.9; }

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25D366;
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6); }
.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--white);
  color: var(--dark-gray);
  padding: 8px 15px;
  border-radius: var(--radius);
  font-size: 14px;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.whatsapp-float svg { width: 32px; height: 32px; fill: currentColor; }

/* ---------- Policy Pages ---------- */
.policy-page,
.faq-page {
  padding: 48px 0 80px;
  background: var(--white);
  min-height: 60vh;
}
.policy-page h1,
.faq-page h1 { margin-bottom: 8px; }
.last-updated { color: #888; margin-bottom: 32px; font-size: 14px; }
.policy-content h2 { margin-top: 32px; margin-bottom: 12px; font-size: 1.35rem; }
.policy-content h3 { margin-top: 20px; margin-bottom: 8px; font-size: 1.1rem; }
.policy-content ul, .policy-content ol { margin: 12px 0 12px 24px; }
.policy-content li { margin-bottom: 6px; }
.delivery-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
  overflow: hidden;
}
.delivery-table th,
.delivery-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--medium-gray); }
.delivery-table th { background: var(--primary-blue); color: var(--white); font-weight: 600; }
.delivery-table tr:hover { background: var(--bg-light); }

/* ---------- FAQ ---------- */
.faq-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.faq-cat-btn {
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 500;
  background: var(--light-gray);
  color: var(--text-gray);
  transition: all var(--transition);
}
.faq-cat-btn:hover,
.faq-cat-btn.active { background: var(--primary-orange); color: var(--white); }
.faq-section { margin-bottom: 32px; }
.faq-section h2 { margin-bottom: 20px; font-size: 1.25rem; }
.faq-item {
  border: 1px solid var(--medium-gray);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 18px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: var(--white);
  transition: background var(--transition);
}
.faq-question:hover { background: var(--bg-light); }
.faq-icon { font-size: 1.25rem; color: var(--primary-orange); flex-shrink: 0; }
.faq-answer { display: none; padding: 0 20px 20px; }
.faq-answer p { margin-bottom: 8px; }
.faq-answer ul, .faq-answer ol { margin-left: 20px; margin-bottom: 8px; }
.faq-contact {
  margin-top: 48px;
  padding: 32px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  text-align: center;
}
.faq-contact h3 { margin-bottom: 8px; }
.faq-contact p { margin-bottom: 20px; }
.contact-options { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact Page ---------- */
.contact-page { padding: var(--section-padding); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-form-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark-gray);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--medium-gray);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--primary-orange); }
.contact-form input.error,
.contact-form textarea.error { border-color: var(--error-red); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-details h3 { margin-bottom: 24px; }
.contact-details .detail {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-details .detail [class^="icon-"] { font-size: 1.5rem; color: var(--primary-orange); flex-shrink: 0; }
.map-placeholder {
  background: var(--medium-gray);
  border-radius: var(--radius-lg);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  margin-top: 24px;
}

/* ---------- Cart Page ---------- */
.cart-page { padding: var(--section-padding); }
.cart-table {
  width: 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.cart-table th,
.cart-table td { padding: 20px; text-align: left; border-bottom: 1px solid var(--medium-gray); }
.cart-table th { background: var(--bg-light); font-weight: 600; }
.cart-item-image { width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius); background: var(--light-gray); }
.cart-summary {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
  max-width: 400px;
  margin-left: auto;
}
.cart-summary h3 { margin-bottom: 20px; }
.cart-summary .row { display: flex; justify-content: space-between; margin-bottom: 12px; }
.cart-summary .total { font-size: 1.25rem; font-weight: 700; margin-top: 16px; padding-top: 16px; border-top: 2px solid var(--medium-gray); }
.cart-empty {
  text-align: center;
  padding: 80px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
}
.cart-empty h2 { margin-bottom: 16px; }
.cart-empty p { margin-bottom: 24px; color: var(--text-gray); }

/* ---------- Scroll to Top ---------- */
.scroll-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-orange);
  color: var(--white);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.scroll-to-top.show { opacity: 1; visibility: visible; }
.scroll-to-top:hover { background: #e55a00; transform: translateY(-4px); }

/* ---------- Notifications ---------- */
.notification {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 16px 24px;
  border-radius: var(--radius);
  color: var(--white);
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transition: transform 0.3s ease;
}
.notification.show { transform: translateX(-50%) translateY(0); }
.notification.success { background: var(--success-green); }
.notification.error { background: var(--error-red); }
.notification.info { background: var(--info-blue); }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s;
}
.modal-overlay.active .modal-content { transform: scale(1); }
.close-modal {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--light-gray);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.close-modal:hover { background: var(--medium-gray); }

/* ---------- Page Header (inner pages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--primary-blue), var(--navy-blue));
  color: var(--white);
  padding: 48px 0;
  text-align: center;
}
.page-header h1 { color: var(--white); margin-bottom: 8px; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  margin-top: 12px;
}
.breadcrumb a { color: rgba(255,255,255,0.9); }
.breadcrumb span { opacity: 0.8; }

/* ---------- About Page ---------- */
.about-hero { padding: 48px 0; }
.about-content { max-width: 800px; margin: 0 auto; }
.about-content p { margin-bottom: 16px; }

/* ---------- Products Listing ---------- */
.products-page { padding: var(--section-padding); }
.products-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.products-count { font-size: 14px; color: var(--text-gray); }
.products-sort select {
  padding: 10px 16px;
  border: 2px solid var(--medium-gray);
  border-radius: var(--radius);
  background: var(--white);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .badges-grid { grid-template-columns: repeat(3, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .offers-grid { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: repeat(4, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .showroom-content { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-header .container { flex-direction: column; align-items: stretch; }
  .search-bar { max-width: none; }
  .mobile-menu-toggle { display: block; }
  .main-nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-blue);
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: var(--shadow-lg);
  }
  .main-nav ul.active { max-height: 80vh; overflow-y: auto; }
  .main-nav .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    background: rgba(0,0,0,0.1);
    box-shadow: none;
  }
  .main-nav .dropdown:hover .dropdown-menu { max-height: 500px; }
  .badges-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .section-header { flex-direction: column; align-items: flex-start; }
  .brands-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .review-card { flex: 0 0 300px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-bottom-content { flex-direction: column; }
  .contact-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .showroom-cta { justify-content: center; }
}

@media (max-width: 576px) {
  .hero { min-height: 380px; }
  .hero-slider { min-height: 380px; }
  .slide-content { padding: 32px 16px; }
  .cta-buttons { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .badges-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .product-actions { flex-direction: column; }
  .review-stats { flex-direction: column; gap: 24px; }
  .slider-controls button { width: 40px; height: 40px; font-size: 1.2rem; }
}

/* ---------- Utility: Icon placeholders (use SVG or icon font in production) ---------- */
.icon-delivery::before { content: "🚚"; }
.icon-cod::before { content: "💵"; }
.icon-warranty::before { content: "✓"; }
.icon-return::before { content: "🔄"; }
.icon-support::before { content: "📞"; }
.icon-location::before { content: "📍"; }
.icon-clock::before { content: "🕐"; }
.icon-phone::before { content: "📞"; }
.icon-email::before { content: "✉"; }
.icon-facebook::before { content: "f"; font-family: var(--font-accent); font-weight: 700; }
.icon-instagram::before { content: "📷"; }
.icon-twitter::before { content: "𝕏"; }
.icon-youtube::before { content: "▶"; }
.icon-whatsapp::before { content: "💬"; }
.search-icon::before { content: "🔍"; }
