@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================
   GLOBAL STYLES & VARIABLES
============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --dark-color: #1a1a2e;
  --light-color: #ffffff;
  --text-color: #333;
  --gray-color: #6c757d;
  --border-radius: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================
   ANIMATIONS
============================================ */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

/* ============================================
   HEADER & NAVIGATION  — Blue/Teal/Orange theme
============================================ */

/* ── Header shell ── */
.modern-header {
  background: #fff;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, #2563eb, #0d9488, #f97316) 1;
  box-shadow: 0 4px 24px rgba(37,99,235,.10);
  position: sticky;
  top: 0;
  z-index: 1000;
  animation: slideDown 0.5s ease-out;
}

/* ── Container ── */
.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 32px;
}

/* ── Logo ── */
.modern-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.modern-logo i {
  font-size: 22px;
  background: linear-gradient(135deg, #2563eb, #0d9488);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.modern-logo span {
  font-size: 22px;
  font-weight: 900;
  color: #1e293b;
  letter-spacing: 1px;
  transition: letter-spacing .25s ease;
}
.modern-logo span em {
  font-style: normal;
  background: linear-gradient(135deg, #2563eb, #0d9488);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.modern-logo:hover span { letter-spacing: 2px; }

/* ── Nav menu (desktop) ── */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.nav-menu .nav-item > a {
  display: block;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  border-radius: 8px;
  letter-spacing: .4px;
  position: relative;
  transition: color .2s ease, background .2s ease;
}
.nav-menu .nav-item > a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: linear-gradient(90deg, #2563eb, #0d9488);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform .25s ease;
}
.nav-menu .nav-item > a:hover,
.nav-menu .nav-item.active > a {
  color: #2563eb;
  background: rgba(37,99,235,.06);
}
.nav-menu .nav-item > a:hover::after,
.nav-menu .nav-item.active > a::after {
  transform: scaleX(1);
}

/* Mobile-only auth row — hidden on desktop */
.nav-mobile-auth { display: none !important; }

/* ── Right cluster ── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ── Cart icon ── */
.nav-cart {
  position: relative;
  color: #475569;
  text-decoration: none;
  font-size: 20px;
  padding: 6px;
  border-radius: 8px;
  transition: color .2s ease, background .2s ease;
}
.nav-cart:hover,
.nav-cart.active {
  color: #2563eb;
  background: rgba(37,99,235,.07);
}
.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: linear-gradient(135deg, #f97316, #fbbf24);
  color: #fff;
  border-radius: 50%;
  min-width: 18px;
  height: 18px;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(249,115,22,.4);
}

/* ── Profile icon button ── */
.nav-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(37,99,235,.07);
  color: #2563eb;
  font-size: 15px;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.nav-icon-btn:hover {
  background: linear-gradient(135deg, #2563eb, #0d9488);
  color: #fff;
  transform: translateY(-2px);
}

/* ── Desktop auth actions ── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  background: transparent;
  border: 1.5px solid #cbd5e1;
  border-radius: 50px;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all .25s ease;
  white-space: nowrap;
}
.nav-link-btn:hover {
  background: linear-gradient(135deg, #2563eb, #0d9488);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37,99,235,.28);
}
.nav-link-btn.primary {
  background: linear-gradient(135deg, #2563eb, #0d9488);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37,99,235,.25);
}
.nav-link-btn.primary:hover {
  background: linear-gradient(135deg, #f97316, #fbbf24);
  box-shadow: 0 6px 18px rgba(249,115,22,.35);
}
.nav-link-btn.active {
  background: linear-gradient(135deg, #2563eb, #0d9488);
  border-color: transparent;
  color: #fff;
}
.nav-link-btn.active:hover { transform: none; }

/* ── Logout button ── */
.logout-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  background: #f1f5f9;
  border: none;
  border-radius: 50px;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s ease;
  font-family: inherit;
  white-space: nowrap;
}
.logout-button:hover {
  background: #ef4444;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(239,68,68,.3);
}

/* ── Hamburger ── */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(37,99,235,.07);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: #2563eb;
  border-radius: 4px;
  transition: all .3s ease;
  transform-origin: center;
}
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Mobile nav ── */
@media (max-width: 991px) {
  .nav-container {
    padding: 0 20px;
    height: 64px;
    gap: 12px;
  }

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

  /* Desktop auth hidden on mobile */
  .nav-actions { display: none; }
  .nav-icon-btn { display: none !important; }

  /* Slide-down drawer */
  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 20px 32px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    z-index: 999;
    box-shadow: 4px 0 24px rgba(0,0,0,.12);
  }
  .nav-menu.active { transform: translateX(0); }

  .nav-menu .nav-item { width: 100%; }
  .nav-menu .nav-item > a {
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 10px;
    border-bottom: 1px solid #f1f5f9;
  }
  .nav-menu .nav-item > a::after { display: none; }
  .nav-menu .nav-item:last-child > a { border-bottom: none; }

  /* Show mobile auth section */
  .nav-mobile-auth {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
    margin-top: 8px;
    border-top: 2px solid #e2e8f0;
  }

  /* Mobile auth buttons */
  .nmb-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: all .25s ease;
    width: 100%;
  }
  .nmb-outline {
    background: #f1f5f9;
    color: #1e293b;
    border: 1.5px solid #cbd5e1;
  }
  .nmb-outline:hover { background: #e2e8f0; color: #1e293b; }
  .nmb-primary {
    background: linear-gradient(135deg, #2563eb, #0d9488);
    color: #fff;
    box-shadow: 0 4px 14px rgba(37,99,235,.3);
  }
  .nmb-primary:hover { background: linear-gradient(135deg, #f97316, #fbbf24); }
  .nmb-danger {
    background: #fef2f2;
    color: #ef4444;
    border: 1.5px solid #fecaca;
  }
  .nmb-danger:hover { background: #ef4444; color: #fff; }
}

@media (max-width: 576px) {
  .modern-logo span { font-size: 19px; }
}

/* ── Small phones (iPhone SE, Galaxy A series, etc.) ── */
@media (max-width: 390px) {
  .nav-container {
    padding: 0 12px;
    height: 56px;
    gap: 8px;
  }

  /* Shrink logo text so it doesn't crowd the right side */
  .modern-logo span { font-size: 15px; letter-spacing: 0; }
  .modern-logo i { font-size: 18px; }
  .modern-logo { gap: 6px; }

  /* Tighten right cluster */
  .nav-right { gap: 6px; }

  /* Smaller cart icon */
  .nav-cart { font-size: 17px; padding: 4px; }
  .cart-count { min-width: 16px; height: 16px; font-size: 9px; top: -3px; right: -3px; }

  /* Smaller hamburger */
  .mobile-menu-toggle { width: 34px; height: 34px; padding: 6px; }

  /* Drawer starts below the shorter header */
  .nav-menu { top: 56px; }
}

/* ── Very small phones (iPhone SE 1st gen, 320px) ── */
@media (max-width: 320px) {
  .nav-container { padding: 0 10px; gap: 6px; }
  .modern-logo span { font-size: 13px; }
  .modern-logo em { display: none; } /* hide "Glass & Aluminium", keep "Ali" */
}

/* ============================================
   HERO SECTION
============================================ */
.hero-section {
  max-width: 1400px;
  margin: 60px auto;
  padding: 0 50px;
}

.hero-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 30px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 80px 60px;
}

.hero-text {
  animation: fadeInLeft 0.8s ease-out;
}

.hero-title {
  font-size: 58px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 25px;
  color: var(--dark-color);
}

.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 18px;
  color: var(--gray-color);
  line-height: 1.8;
  margin-bottom: 40px;
}

/* CTA Button */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 45px;
  background: var(--primary-gradient);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  transition: left 0.4s ease;
  z-index: 0;
}

.cta-button span,
.cta-button i {
  position: relative;
  z-index: 1;
}

.cta-button:hover::before {
  left: 0;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(102, 126, 234, 0.5);
  color: white;
}

/* Hero Image Section */
.hero-image {
  position: relative;
  animation: fadeInRight 0.8s ease-out;
}

.image-wrapper {
  position: relative;
}

.image-wrapper img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.image-wrapper:hover img {
  transform: scale(1.03);
}

/* Floating Cards */
.floating-card {
  position: absolute;
  background: white;
  padding: 15px 25px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 3s ease-in-out infinite;
}

.floating-card i {
  font-size: 24px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.floating-card span {
  font-weight: 600;
  font-size: 14px;
}

.card-1 {
  top: 50px;
  left: -30px;
  animation-delay: 0s;
}

.card-2 {
  bottom: 50px;
  right: -30px;
  animation-delay: 1.5s;
}

/* ============================================
   PRODUCTS SECTION
============================================ */
.products-section {
  max-width: 1400px;
  margin: 100px auto;
  padding: 0 50px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 48px;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--gray-color);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
}

/* Product Card */
.product-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  position: relative;
}

.product-card .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.product-badge {
  position: absolute;
  top: 17px;
  left: 17px;
  background: var(--secondary-gradient);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  z-index: 10;
  box-shadow: 0 5px 15px rgba(245, 87, 108, 0.3);
}

.product-image {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8edf3 100%);
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  transition: var(--transition);
}

.product-card:hover .product-image img {
  transform: scale(1.15) rotate(5deg);
}

/* Product Overlay */
.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(102, 126, 234, 0.9);
  color: white !important;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.quick-view-btn {
  background: white;
  color: #667eea;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transform: translateY(20px);
  transition: var(--transition);
  text-decoration: none;
}

.quick-view-btn a {
  text-decoration: none;
}

.quick-view-btn :hover {
  color: white;
}

.quick-view-btn a:hover {
  color: white;
}

.product-card:hover .quick-view-btn {
  transform: translateY(0);
}

.quick-view-btn:hover {
  background: var(--primary-gradient);
  color: var(--light-color);

}

/* Product Info */
.product-info {
  padding: 25px;
}

.product-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 10px;
}

.product-rating {
  color: #ffc107;
  font-size: 14px;
  margin-bottom: 15px;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-size: 22px;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.add-cart-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  background: var(--primary-gradient);
  color: white;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.add-cart-btn:hover {
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* View All Section */
.view-all-section {
  text-align: center;
  margin-top: 60px;
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 50px;
  background: white;
  color: #667eea;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  border: 3px solid #667eea;
  transition: var(--transition);
}

.view-all-btn:hover {
  background: var(--primary-gradient);
  color: white;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
}

/* ============================================
   PRODUCT DETAIL PAGE
============================================ */
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
  color: #666;
  font-size: 13px;
}

.breadcrumb a {
  color: #667eea;
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: #764ba2;
}

.product-detail {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 0;
}

/* Image Section */
.image-section {
  position: relative;
  padding: 30px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ebf0 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.main-image {
  /* width: 100%;
  max-width: 350px;
  height: auto; */
  width:  450px  !important;
  height: 450px !important;
  object-fit: cover;
  border-radius: 15px;
  margin: 0 auto 20px;
  transition: transform 0.3s;
}

.main-image:hover {
  transform: scale(1.02);
}

.thumbnail-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 350px;
  margin: 0 auto;
}

.thumbnail {
  width: 100%;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.thumbnail:hover,
.thumbnail.active {
  border-color: #667eea;
  transform: translateY(-3px);
}

/* Info Section */
.info-section {
  padding: 35px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-category {
  color: #667eea;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.product-title {
  font-size: 32px;
  color: var(--dark-color);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.stars {
  color: #ffc107;
  font-size: 16px;
}

.reviews {
  color: #666;
  font-size: 13px;
}

.reviews a {
  color: #667eea;
  text-decoration: none;
}

.price-section {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.current-price {
  font-size: 38px;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.original-price {
  font-size: 22px;
  color: #999;
  text-decoration: line-through;
}

.discount-badge {
  background: #ff6b6b;
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
}

.description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 14px;
}

/* Features List */
.features {
  margin-bottom: 25px;
}

.features h4 {
  margin-bottom: 12px;
  color: var(--dark-color);
  font-size: 16px;
}

.features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features li {
  padding: 8px 0;
  color: #666;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.features li i {
  color: #667eea;
  font-size: 11px;
}

/* Quantity Selector */
.quantity-section {
  margin-bottom: 20px;
}

.quantity-section label {
  display: block;
  margin-bottom: 8px;
  color: var(--dark-color);
  font-weight: 600;
  font-size: 14px;
}

.quantity-selector {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #f8f9fa;
  padding: 8px 16px;
  border-radius: 12px;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border: none;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  color: #667eea;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: #667eea;
  color: white;
  transform: scale(1.05);
}

.qty-value {
  font-size: 16px;
  font-weight: 600;
  min-width: 25px;
  text-align: center;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.btn {
  flex: 1;
  padding: 14px 24px;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #fff;
  text-decoration: none;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
  color: #fff;
}

.btn-secondary {
  background: white;
  color: #667eea;
  border: 2px solid #667eea !important;
}

.btn-secondary:hover {
  background: var(--primary-gradient);
  color: white;
  transform: translateY(-2px);
}

.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 12px;
  background: #f8f9fa;
  color: #667eea;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-icon:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
}

/* Info Cards */
.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.info-card {
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ebf0 100%);
  padding: 16px;
  border-radius: 12px;
  text-align: center;
}

.info-card i {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 8px;
}

.info-card h5 {
  font-size: 13px;
  color: var(--dark-color);
  margin-bottom: 4px;
  font-weight: 600;
}

.info-card p {
  font-size: 11px;
  color: #666;
  margin: 0;
}

/* ============================================
   REVIEWS SECTION
============================================ */
.reviews-container {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 15px;
  font-family: 'Poppins', sans-serif;
}

.add-review-section {
  background: #ffffff;
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-bottom: 50px;
}

.star-rating i {
  font-size: 22px;
  color: #ffc107;
  margin-right: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.star-rating i:hover {
  transform: scale(1.15);
}

.reviews-list-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 25px;
  color: #222;
}

.reviews-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

/* Review Card */
.review-card {
  background: #fff;
  border-radius: 14px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.review-card:hover {
  transform: translateY(-6px);
}

.review-header h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #222;
}

.verified-badge {
  background: #e6f8ee;
  color: #2ecc71;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 20px;
  margin-left: 6px;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-stars i {
  font-size: 14px;
  color: #ffc107;
}

.review-date {
  font-size: 12px;
  color: #888;
}

.review-text {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  margin: 18px 0;
}

.review-actions {
  display: flex;
  gap: 12px;
}

.action-btn {
  background: #f5f5f5;
  border: none;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  color: #444;
  transition: 0.3s;
}

.action-btn i {
  margin-right: 4px;
}

.action-btn:hover {
  background: #ff6b6b;
  color: #fff;
}

/* ============================================
   CONTACT SECTION
============================================ */
.contact-section {
  max-width: 1400px;
  margin: 100px auto;
  padding: 0 50px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: white;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.contact-map {
  height: 600px;
  background: #f5f7fa;
}

.contact-form {
  padding: 60px 50px;
}

.form-group {
  position: relative;
  margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 18px 20px 18px 50px;
  border: 2px solid #e0e0e0;
  border-radius: 15px;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
  background: #f8f9fa;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  background: white;
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.1);
}

.form-group i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-color);
  font-size: 16px;
}

.form-group textarea+i {
  top: 25px;
  transform: none;
}

.submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px;
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: 15px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 15px;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

/* ============================================
   FOOTER SECTION
============================================ */
.footer-section {
  background: var(--dark-color);
  color: white;
  margin: 100px 50px 50px;
  border-radius: 30px;
  padding: 60px 0 30px;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 50px;
}

.footer-top {
  text-align: center;
  margin-bottom: 50px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-links a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-gradient);
  transform: translateY(-5px);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-column h6 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.footer-column p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  font-size: 14px;
}

/* Desktop-only padding for Technical Support column */
@media (min-width: 992px) {
  .footer-column--support {
    padding-left: 5rem;
  }
}

/* Newsletter Form */
.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-family: 'Poppins', sans-serif;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  background: var(--primary-gradient);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-info a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.contact-info a:hover {
  color: white;
  transform: translateX(5px);
}

.contact-info i {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.footer-bottom a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom a:hover {
  color: #667eea;
}

/* ============================================
   RESPONSIVE DESIGN
============================================ */
@media (max-width: 991px) {
  .hero-content {
    grid-template-columns: 1fr;
    padding: 50px 30px;
  }

  .hero-title {
    font-size: 42px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-map {
    height: 400px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

  .info-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }

  .section-title {
    font-size: 36px;
  }

  .hero-section,
  .products-section,
  .contact-section {
    padding: 0 30px;
  }

  .hero-title {
    font-size: 32px;
  }

  .add-review-section,
  .review-card {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .modern-logo span {
    font-size: 19px;
  }

  .hero-title {
    font-size: 28px;
  }

  .section-title {
    font-size: 28px;
  }

  .product-title {
    font-size: 24px;
  }

  .current-price {
    font-size: 28px;
  }
}