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

/* Loading Screen Styles */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.320, 1);
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
}

.loading-container {
  text-align: center;
  color: #333;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
  animation: floatIn 1s ease-out;
}

.loading-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease-out;
}

.loading-logo-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  animation: rotateGlow 2s ease-in-out infinite alternate;
}

.loading-logo h2 {
  color: #333;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.loading-spinner {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
}

.spinner-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top: 3px solid rgba(102, 126, 234, 0.8);
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
}

.spinner-ring:nth-child(1) {
  animation-delay: 0s;
  border-top-color: rgba(102, 126, 234, 1);
  box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

.spinner-ring:nth-child(2) {
  animation-delay: -0.4s;
  width: 90%;
  height: 90%;
  top: 5%;
  left: 5%;
  border-top-color: rgba(118, 75, 162, 0.8);
  box-shadow: 0 0 15px rgba(118, 75, 162, 0.2);
}

.spinner-ring:nth-child(3) {
  animation-delay: -0.8s;
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  border-top-color: rgba(102, 126, 234, 0.6);
  box-shadow: 0 0 10px rgba(102, 126, 234, 0.15);
}

.spinner-ring:nth-child(4) {
  animation-delay: -1.2s;
  width: 70%;
  height: 70%;
  top: 15%;
  left: 15%;
  border-top-color: rgba(118, 75, 162, 0.4);
  box-shadow: 0 0 5px rgba(118, 75, 162, 0.1);
}

.loading-text {
  font-size: 1.1rem;
  margin-bottom: 20px;
  opacity: 0.8;
  color: #555;
  font-weight: 500;
  animation: pulse 2s ease-in-out infinite;
}

.loading-progress {
  width: 250px;
  margin: 0 auto;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 15px;
  backdrop-filter: blur(10px);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
  width: 0%;
  border-radius: 10px;
  transition: width 0.5s ease-out;
  box-shadow: 0 0 10px rgba(102, 126, 234, 0.4);
}

.progress-percentage {
  font-size: 0.9rem;
  opacity: 0.7;
  color: #666;
  font-weight: 500;
}

/* Loading Animation Keyframes */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes rotateGlow {
  0% {
    transform: rotate(0deg) scale(1);
    filter: drop-shadow(0 0 5px rgba(102, 126, 234, 0.3));
  }

  100% {
    transform: rotate(5deg) scale(1.05);
    filter: drop-shadow(0 0 15px rgba(102, 126, 234, 0.6));
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.8;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

@keyframes loadProgress {
  0% {
    width: 0%;
  }

  25% {
    width: 25%;
  }

  50% {
    width: 50%;
  }

  75% {
    width: 75%;
  }

  100% {
    width: 100%;
  }
}

/* Body hidden during loading */
body.loading {
  overflow: hidden;
}

body {
  margin: 0;
  font-family: 'Lato', 'Segoe UI', Arial, sans-serif;
  background-color: #fff;
  color: #151875;
  line-height: 1.6;
}

/* Header Styles */
.header {
  background: #fff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  min-height: 80px;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2%;
  max-width: 1200px;
  margin: 0 auto;
}

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

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo h2 {
  color: #e91e63;
  font-size: 1.8rem;
  font-weight: bold;
  background: linear-gradient(135deg, #e91e63, #ff4081);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}

.navbar a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.navbar a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: linear-gradient(135deg, #e91e63, #ff4081);
  transition: width 0.3s ease;
}

.navbar a:hover::after,
.navbar a.active::after {
  width: 100%;
}

.navbar a:hover,
.navbar a.active {
  color: #e91e63;
}

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

.search-box {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border-radius: 25px;
  padding: 0.5rem 1rem;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.search-box:focus-within {
  border-color: #e91e63;
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.search-box input {
  border: none;
  background: none;
  outline: none;
  padding: 0.25rem;
  width: 200px;
  font-size: 0.95rem;
}

.search-box button {
  border: none;
  background: linear-gradient(135deg, #e91e63, #ff4081);
  color: white;
  padding: 0.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.3s ease;
  margin: 0;
  line-height: 0;
}

.search-box button:hover {
  transform: scale(1.1);
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.user-actions i {
  font-size: 1.3rem;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 50%;
}

.user-actions i:hover {
  color: #e91e63;
  background: rgba(233, 30, 99, 0.1);
  transform: translateY(-2px);
}

.login-btn {
  background: linear-gradient(135deg, #e91e63, #ff4081);
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
  line-height: 1.2;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

/* Profile Dropdown Styles */
.profile-dropdown {
  position: relative;
  display: inline-block;
}

.profile-icon {
  font-size: 2rem;
  color: #333;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

.profile-icon:hover {
  color: #e91e63;
  background: rgba(233, 30, 99, 0.1);
  transform: scale(1.05);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  min-width: 250px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid #e0e0e0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  margin-top: 8px;
}

.profile-dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-header {
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
}

.user-name {
  display: block;
  font-weight: 600;
  color: #333;
  font-size: 16px;
  margin-bottom: 4px;
}

.user-email {
  display: block;
  color: #666;
  font-size: 14px;
}

.dropdown-divider {
  height: 1px;
  background: #f0f0f0;
  margin: 8px 0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  background: none;
  width: 100%;
  cursor: pointer;
  font-size: 14px;
}

.dropdown-item:hover {
  background: #f8f9fa;
  color: #e91e63;
}

.dropdown-item i {
  margin-right: 12px;
  width: 16px;
  font-size: 14px;
  color: #666;
}

.dropdown-item:hover i {
  color: #e91e63;
}

.logout-btn {
  color: #e74c3c !important;
  border-top: 1px solid #f0f0f0;
}

.logout-btn:hover {
  background: #fdf2f2 !important;
  color: #c0392b !important;
}

.logout-btn i {
  color: #e74c3c !important;
}

.logout-btn:hover i {
  color: #c0392b !important;
}

.mobile-menu {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
  padding: 0.5rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.mobile-menu:hover {
  background: rgba(233, 30, 99, 0.1);
  color: #e91e63;
}

/* Mobile Actions Container */
.mobile-actions {
  display: none;
  align-items: center;
  gap: 1rem;
}

.mobile-search-toggle {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #333;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

.mobile-search-toggle:hover {
  background: rgba(233, 30, 99, 0.1);
  color: #e91e63;
  transform: scale(1.05);
}

.mobile-search-toggle:active {
  transform: scale(0.95);
  background: rgba(233, 30, 99, 0.2);
}

/* Mobile menu available when needed */
.mobile-menu {
  display: none;
}

/* Add pulse animation when search is ready */
@keyframes searchPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(233, 30, 99, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(233, 30, 99, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(233, 30, 99, 0);
  }
}

.mobile-search-toggle:focus {
  animation: searchPulse 1.5s infinite;
  outline: none;
}

/* Mobile Search Bar */
.mobile-search-bar {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  z-index: 999;
  /* Lower than mobile nav */
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mobile-search-bar.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Ensure mobile nav appears above search */
.mobile-nav {
  z-index: 10000;
}

.mobile-search-container {
  padding: 20px;
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.mobile-search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 25px;
  padding: 0 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.mobile-search-input-wrapper:focus-within {
  border-color: #e91e63;
  box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.15), 0 6px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.mobile-search-icon {
  color: #6c757d;
  margin-right: 12px;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.mobile-search-input-wrapper:focus-within .mobile-search-icon {
  color: #e91e63;
}

.mobile-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: none;
  padding: 15px 0;
  font-size: 16px;
  color: #333;
  font-weight: 400;
}

.mobile-search-input::placeholder {
  color: #6c757d;
}

.mobile-search-close {
  background: none;
  border: none;
  color: #6c757d;
  font-size: 1rem;
  cursor: pointer;
  padding: 8px;
  margin-left: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.mobile-search-close:hover {
  background: rgba(233, 30, 99, 0.1);
  color: #e91e63;
  transform: rotate(90deg);
}

.mobile-search-suggestions {
  margin-top: 15px;
}

.mobile-nav-section {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e9ecef;
}

.mobile-nav-section h4,
.search-suggestions-section h4 {
  margin: 0 0 12px 0;
  color: #495057;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-nav-links-inline {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.nav-link-mobile {
  background: linear-gradient(135deg, #e91e63, #ff4081);
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(233, 30, 99, 0.2);
}

.nav-link-mobile:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
  background: linear-gradient(135deg, #d81b60, #e91e63);
}

.search-suggestions-section {
  margin-top: 10px;
}

.suggestion-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: white;
  border-radius: 15px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid #f1f3f4;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.suggestion-item:hover {
  background: linear-gradient(135deg, #e91e63, #ff4081);
  color: white;
  transform: translateX(8px);
  box-shadow: 0 6px 20px rgba(233, 30, 99, 0.3);
}

.suggestion-item:active {
  transform: translateX(8px) scale(0.98);
}

.suggestion-item i {
  margin-right: 12px;
  font-size: 0.9rem;
  opacity: 0.7;
  min-width: 16px;
}

.suggestion-item span {
  font-weight: 500;
  font-size: 0.95rem;
}

/* Animation for suggestions */
.mobile-search-bar.active .suggestion-item {
  animation: slideInUp 0.5s ease-out forwards;
}

.suggestion-item:nth-child(1) {
  animation-delay: 0.1s;
}

.suggestion-item:nth-child(2) {
  animation-delay: 0.2s;
}

.suggestion-item:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  transition: right 0.3s ease;
}

.mobile-nav.active {
  right: 0;
  display: block;
}

.mobile-nav-content {
  background: white;
  width: 80%;
  height: 100%;
  margin-left: auto;
  padding: 60px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav .close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
  background: none;
  border: none;
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-links li {
  margin-bottom: 20px;
}

.mobile-nav-links a {
  text-decoration: none;
  color: #333;
  font-size: 18px;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  display: block;
}

.mobile-search {
  margin: 20px 0;
}

.mobile-search input {
  width: 100%;
  padding: 12px;
  border: 2px solid #e91e63;
  border-radius: 5px;
  font-size: 16px;
}

.mobile-user-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 20px;
}

.mobile-user-actions i {
  font-size: 1.5rem;
  color: #e91e63;
  cursor: pointer;
}

.mobile-login-btn {
  background: linear-gradient(135deg, #e91e63, #ff4081);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Mobile Profile Dropdown Styles */
.mobile-profile-dropdown {
  position: relative;
  display: inline-block;
}

.mobile-profile-icon {
  font-size: 2rem;
  color: #e91e63;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

.mobile-profile-icon:hover {
  background: rgba(233, 30, 99, 0.1);
  transform: scale(1.05);
}

.mobile-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  min-width: 200px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid #e0e0e0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  margin-top: 8px;
}

.mobile-profile-dropdown.active .mobile-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-dropdown-header {
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-user-name {
  display: block;
  font-weight: 600;
  color: #333;
  font-size: 16px;
}

.mobile-dropdown-item {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  background: none;
  width: 100%;
  cursor: pointer;
  font-size: 14px;
}

.mobile-dropdown-item:hover {
  background: #f8f9fa;
  color: #e91e63;
}

.mobile-dropdown-item i {
  margin-right: 12px;
  width: 16px;
  font-size: 14px;
  color: #666;
}

.mobile-dropdown-item:hover i {
  color: #e91e63;
}

.mobile-logout-btn {
  color: #e74c3c !important;
  border-top: 1px solid #f0f0f0;
}

.mobile-logout-btn:hover {
  background: #fdf2f2 !important;
  color: #c0392b !important;
}

.mobile-logout-btn i {
  color: #e74c3c !important;
}

.mobile-logout-btn:hover i {
  color: #c0392b !important;
}



/* Hero Section */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px 10%;
  background-color: #F2F0FF;
  min-height: 500px;
  position: relative;
  overflow: hidden;
  transition: margin-top 0.4s ease;
  /* Account for fixed header */
}

/* Adjust hero when mobile search is active */
body.mobile-search-active .hero {
  margin-top: 150px;
}

.hero-decorative-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
}

.circle-decoration {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.circle-1 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #FB2E86, #FF6B9D);
  top: -50px;
  right: 10%;
  animation: float 6s ease-in-out infinite;
}

.circle-2 {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #7B68EE, #9370DB);
  bottom: 20%;
  left: 5%;
  animation: float 8s ease-in-out infinite reverse;
}

.circle-3 {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #00BFFF, #87CEEB);
  top: 60%;
  right: 5%;
  animation: float 7s ease-in-out infinite;
}

.floating-lamp {
  position: absolute;
  top: 10%;
  left: 5%;
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, #FFD700, #FFA500);
  border-radius: 50%;
  opacity: 0.3;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes float {

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

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

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.6;
  }
}

.hero-text {
  flex: 1;
  max-width: 50%;
  z-index: 2;
  position: relative;

}

.hero-text h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;

}

.hero-text span {
  color: #FB2E86;
}

.hero-text p {
  color: #8A8FB9;
  margin: 20px 0 30px;
  font-size: 18px;
}

.btn {
  background-color: #FB2E86;
  color: white;
  padding: 15px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #e91e7a;
}

.hero-image {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-image img {
  max-width: 100%;
  height: auto;
}

.hero-image-bg {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120%;
  height: 120%;
  background: linear-gradient(135deg, rgba(251, 46, 134, 0.1), rgba(123, 104, 238, 0.1));
  border-radius: 50%;
  z-index: -1;
}

/* Featured Products */
.featured-products {
  padding: 80px 10%;
  text-align: center;
}

.featured-products h2 {
  font-size: 36px;
  font-weight: 700;
  color: #0D0E43;
  margin-bottom: 50px;
}

.featured-swiper {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.featured-swiper .swiper-slide {
  width: auto;
  margin-right: 30px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.product-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(49, 32, 138, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  text-align: center;
  max-width: 270px;
  margin: 0 auto;
}

.product-card:hover {
  transform: translateY(-10px);
}

.product-image {
  position: relative;
  padding: 20px;
  background-color: #f7f7f7;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-overlay {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.product-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding-bottom: 20px !important;
}

.product-actions .wishlist {
  font-size: 18px;
  cursor: pointer;
  color: #ccc;
  /* default color */
  transition: transform 0.2s ease, color 0.2s ease;
  padding: 0 10px;
}

.product-actions .wishlist:hover {
  transform: scale(1.2);
}

.product-actions .wishlist.active {
  color: #FB2E86;
  /* active pink */
}


/* Add to cart styles moved to css/add-to-cart.css for consistency across all pages */

.product-icons {
  display: flex;
  gap: 5px;
  justify-content: center;
}

.product-icons span {
  background: white;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
}

.product-card h3 {
  padding: 15px;
  font-size: 16px;
  color: #FB2E86;
  font-weight: 600;
}

.product-pricing {
  padding: 0 15px 20px;
}

.price {
  color: #0D0E43;
  font-weight: bold;
  margin-right: 10px;
}

.old-price {
  color: #FB2E86;
  text-decoration: line-through;
  font-size: 14px;
}

/* Latest Products */
.latest-products {
  padding: 80px 10%;
  text-align: center;
}

.latest-products h2 {
  font-size: 36px;
  font-weight: 700;
  color: #0D0E43;
  margin-bottom: 30px;
}

.product-tabs {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 50px;
}

.tab {
  background: none;
  border: none;
  color: #0D0E43;
  font-size: 16px;
  cursor: pointer;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.tab.active,
.tab:hover {
  color: #FB2E86;
  border-bottom-color: #FB2E86;
}

.latest-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Latest Products Swiper Styles */
.latest-products-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.latest-products-swiper {
  overflow: visible;
}

.latest-products-swiper .swiper-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 30px;
}

.latest-products-swiper .swiper-slide {
  width: auto;
  height: auto;
}

.latest-pagination {
  display: none;
  margin-top: 40px;
}

.latest-pagination .swiper-pagination-bullet {
  background: #FB2E86;
  opacity: 0.3;
  width: 12px;
  height: 12px;
}

.latest-pagination .swiper-pagination-bullet-active {
  opacity: 1;
}

.latest-swiper {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.latest-swiper .swiper-slide {
  width: auto;
  margin-right: 30px;
}

.latest-product-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  max-width: 270px;
  margin: 0 auto;
}

.latest-product-card:hover {
  transform: translateY(-5px);
}

.latest-product-card .product-image {
  height: 200px;
  position: relative;
}

.sale-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #FB2E86;
  color: white;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: bold;
}

.latest-product-card h3 {
  padding: 10px;
  font-size: 14px;
  color: #0D0E43;
}

/* Sleek Product Card Design */
.sleek-product-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #f1f3f4;
  max-width: 300px;
  margin: 0 auto;
  cursor: pointer;
  overflow: hidden;
}

.sleek-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border-color: #e0e7ff;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.sale-tag {
  background: linear-gradient(45deg, #ff6b6b, #ee5a24);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.wishlist-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.wishlist-icon:hover {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fecaca;
  transform: scale(1.1);
}

.wishlist-icon.loved {
  background: #dc2626;
  color: white;
  border-color: #dc2626;
}

.product-image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  background: #f8fafc;
  aspect-ratio: 1;
  cursor: pointer;
}

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

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

.card-content {
  text-align: left;
}

.product-meta {
  margin-bottom: 8px;
}

.category-badge {
  background: #f1f5f9;
  color: #475569;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-name {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin: 12px 0;
  line-height: 1.4;
  cursor: pointer;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-name:hover {
  color: #3b82f6;
}

.price-section {
  margin: 16px 0;
}

.price-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.new-price {
  font-size: 20px;
  font-weight: 700;
  color: #059669;
}

.old-price {
  font-size: 14px;
  color: #9ca3af;
  text-decoration: line-through;
}

.cart-btn {
  width: 100%;
  background: linear-gradient(135deg, #FB2E86, #FF6B9D);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.cart-btn:hover {
  background: linear-gradient(135deg, #e91e63, #FB2E86);
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(251, 46, 134, 0.3);
}



.cart-btn:active {
  transform: translateY(0);
}

.btn-text {
  transition: transform 0.3s ease;
}

.cart-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.cart-btn:hover .cart-icon {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

/* Responsive Design */
@media (max-width: 768px) {
  .sleek-product-card {
    max-width: 280px;
    padding: 16px;
  }
  
  .product-name {
    font-size: 15px;
  }
  
  .new-price {
    font-size: 18px;
  }
  
  .cart-btn {
    padding: 10px 16px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .sleek-product-card {
    max-width: 260px;
    padding: 14px;
  }
  
  .product-name {
    font-size: 14px;
  }
  
  .new-price {
    font-size: 16px;
  }
  
  .cart-btn {
    padding: 9px 14px;
    font-size: 12px;
  }
  
  .card-header {
    margin-bottom: 12px;
  }
  
  .product-image-wrapper {
    margin-bottom: 16px;
  }
}

/* Services */
.services {
  background-color: #ffffff;
  padding: 80px 10%;
  text-align: center;
}

.services h2 {
  font-size: 36px;
  font-weight: 700;
  color: #0D0E43;
  margin-bottom: 50px;
}

.service-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: white;
  box-shadow: 0px 8px 40px rgba(49, 32, 138, 0.05);
  padding: 40px 30px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 18px;
  color: #0D0E43;
  margin-bottom: 15px;
}

.service-card p {
  color: #8A8FB9;
  line-height: 1.6;
}

/* Big Deal Section */
.big-deal {
  padding: 80px 10%;
  background: linear-gradient(135deg, #F2F0FF 0%, #E8E6FF 100%);
}

.deal-content {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.deal-image {
  flex: 1;
}

.deal-image img {
  width: 100%;
  height: auto;
}

.deal-text {
  flex: 1;
}

.deal-text h2 {
  font-size: 24px;
  color: #FB2E86;
  font-weight: 700;
  margin-bottom: 10px;
}

.deal-text h3 {
  font-size: 32px;
  color: #0D0E43;
  font-weight: 700;
  margin-bottom: 20px;
}

.deal-text p {
  color: #8A8FB9;
  margin-bottom: 30px;
  line-height: 1.6;
}

.deal-pricing {
  margin-bottom: 30px;
}

.deal-old-price {
  color: #FB2E86;
  text-decoration: line-through;
  font-size: 18px;
  margin-right: 15px;
}

.deal-price {
  color: #0D0E43;
  font-size: 24px;
  font-weight: bold;
}

.shop-now-btn {
  background-color: #FB2E86;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.shop-now-btn:hover {
  background-color: #e91e7a;
}

/* Best Deals */
.best-deals {
  padding: 80px 10%;
  text-align: center;
}

.best-deals h2 {
  font-size: 36px;
  font-weight: 700;
  color: #0D0E43;
  margin-bottom: 50px;
}

/* Creativity Section */
.creativity-section {
  padding: 80px 10%;
  background-color: #F7F6FF;
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.creativity-header {
  text-align: center;
  margin-bottom: 50px;
}

.creativity-header h2 {
  font-size: 42px;
  color: #0D0E43;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.creativity-header h2 span {
  color: #FB2E86;
}

.creativity-content {
  display: flex;
  align-items: stretch;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  height: 400px;
}

.creativity-features {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex: 2;
}
.creativity-section {
            position: relative;
            overflow: hidden;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            padding: 80px 0;
            color: #2c3e50;
        }

        .creativity-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(44,62,80,0.05)"><polygon points="0,0 1000,80 1000,100 0,100"/></svg>');
            background-size: cover;
            z-index: 1;
        }

        .creativity-header {
            position: relative;
            z-index: 3;
            text-align: center;
            margin-bottom: 60px;
        }

        .creativity-header h2 {
            font-size: 2.5rem;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(44, 62, 80, 0.1);
        }

        .creativity-header span {
            background: linear-gradient(45deg, #e91e63, #ff4081);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .creativity-content {
            position: relative;
            z-index: 3;
        }

        .creativity-features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            max-width: 1000px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .feature-card {
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            padding: 20px 15px;
            text-align: center;
            transition: all 0.3s ease;
            border: 1px solid rgba(44, 62, 80, 0.1);
            position: relative;
            overflow: hidden;
            min-height: 200px;
            box-shadow: 0 4px 20px rgba(44, 62, 80, 0.1);
        }

        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(44, 62, 80, 0.1), transparent);
            transition: left 0.5s;
        }

        .feature-card:hover::before {
            left: 100%;
        }

        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(44, 62, 80, 0.15);
            background: rgba(255, 255, 255, 0.9);
        }

        .icon-wrapper {
            position: relative;
            display: inline-block;
            margin-bottom: 15px;
        }

        .icon-bg {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80px;
            height: 80px;
            background: linear-gradient(45deg, #e91e63, #ff4081);
            border-radius: 50%;
            opacity: 0.15;
            z-index: -1;
            transition: all 0.3s ease;
        }

        .feature-card:hover .icon-bg {
            opacity: 0.25;
            transform: translate(-50%, -50%) scale(1.1);
        }

        .feature-icon img {
            width: 50px !important;
            height: 50px !important;
            filter: drop-shadow(0 4px 8px rgba(44, 62, 80, 0.2));
            transition: transform 0.3s ease;
        }

        .feature-icon i {
            font-size: 50px;
            background: linear-gradient(45deg, #e91e63, #ff4081);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            filter: drop-shadow(0 4px 8px rgba(44, 62, 80, 0.2));
            transition: transform 0.3s ease;
        }

        .feature-card:hover .feature-icon img,
        .feature-card:hover .feature-icon i {
            transform: scale(1.1) rotate(5deg);
        }

        .feature-text h4 {
            font-size: 1.1rem;
            margin-bottom: 8px;
            font-weight: 600;
            text-shadow: 1px 1px 2px rgba(44, 62, 80, 0.1);
            color: #2c3e50;
        }

        .feature-text p {
            font-size: 0.85rem;
            opacity: 0.8;
            line-height: 1.4;
            color: #5a6c7d;
        }

        .creativity-section .girl-image {
            position: absolute;
            right: -170px !important;
            bottom: -83px;
            width: 500px;
            max-width: 40vw;
            z-index: 2;
            pointer-events: none;
            margin: 0;
            filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
        }

        @media (max-width: 1200px) {
            .creativity-features {
                grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
                gap: 15px;
            }
        }

        @media (max-width: 900px) {
            .creativity-section {
                padding: 60px 0;
            }

            .creativity-header h2 {
                font-size: 2rem;
            }

            .creativity-features {
                grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
                gap: 12px;
                padding: 0 15px;
            }

            .feature-card {
                padding: 15px 10px;
                min-height: 160px;
            }

            .creativity-section .girl-image {
                width: 180px;
                max-width: 60vw;
                right: 10px;
            }
        }

        @media (max-width: 600px) {
            .creativity-features {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }

            .feature-card {
                min-height: 140px;
            }

            .creativity-section .girl-image {
                width: 120px;
                max-width: 80vw;
                right: 0;
            }
        }

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 80px;
  height: 80px;
}

.feature-text h4 {
  color: #1A0B5B;
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  line-height: 1;
}

.creativity-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.creativity-image img {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  transform: none;
}

/* Contact Section */
.contact-section {
  padding: 80px 10%;
  text-align: center;
}

.contact-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: #0D0E43;
  margin-bottom: 50px;
}

.contact-content {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-form {
  flex: 1;
}

.contact-form .form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  background-color: #FB2E86;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #e91e7a;
}

.contact-illustration {
  flex: 1;
}

.contact-illustration img {
  width: 100%;
  height: auto;
}

/* Footer */
.footer {
  background-color: #E7E4F8;
  padding: 50px 0 0;
  width: 100%;
  margin-top: 40px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h3 {
  font-size: 32px;
  color: #0D0E43;
  font-weight: 700;
  margin-bottom: 30px;
}

.footer-section h4 {
  font-size: 22px;
  color: #0D0E43;
  font-weight: 600;
  margin-bottom: 20px;
}

.contact-info h4 {
  font-size: 18px;
  color: #0D0E43;
  font-weight: 600;
  margin-bottom: 15px;
}

.contact-info p {
  color: #8A8FB9;
  line-height: 1.8;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info i {
  color: #FB2E86;
  width: 16px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: #8A8FB9;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 16px;
  line-height: 1.6;
}

.footer-section ul li a:hover {
  color: #FB2E86;
}

.footer-bottom {
  width: 100%;
  background-color: #E7E4F8;
  border-top: 1px solid #C7C8D3;
  padding: 20px 0;
}

.footer-bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: #9DA0AE;
  font-size: 16px;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  background-color: #FB2E86;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: #0D0E43;
  transform: translateY(-2px);
}

.footer-powered {
  background-color: #000000;
  width: 100%;
  padding: 12px 0;
  text-align: center;
}

.footer-powered p {
  color: #FFFFFF;
  margin: 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.footer-logo-img {
  height: 100px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  border-radius: 4px;
}

.footer-powered strong {
  color: #FB2E86;
}

/* Swiper Styles */
.swiper {
  width: 100%;
  padding: 20px 0;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.latest-swiper .swiper-slide {
  width: auto;
  margin-right: 20px;
}

.best-deals-swiper .swiper-slide {
  width: auto;
  margin-right: 30px;
}

.swiper-pagination {
  position: relative;
  margin-top: 30px;
}

.swiper-pagination-bullet {
  background: #FB2E86;
  opacity: 0.3;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  transform: scale(1.2);
}

.swiper-button-next,
.swiper-button-prev {
  color: #FB2E86;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #FB2E86;
  color: white;
  transform: scale(1.1);
}

/* Enhanced Swiper Navigation Buttons */
.featured-swiper .swiper-button-next,
.featured-swiper .swiper-button-prev,
.latest-swiper .swiper-button-next,
.latest-swiper .swiper-button-prev,
.best-deals-swiper .swiper-button-next,
.best-deals-swiper .swiper-button-prev {
  width: 45px;
  height: 45px;
  background: #FB2E86;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(251, 46, 134, 0.3);
  transition: all 0.3s ease;
  color: white;
}

.featured-swiper .swiper-button-next:hover,
.featured-swiper .swiper-button-prev:hover,
.latest-swiper .swiper-button-next:hover,
.latest-swiper .swiper-button-prev:hover,
.best-deals-swiper .swiper-button-next:hover,
.best-deals-swiper .swiper-button-prev:hover {
  background: #e91e7a;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(251, 46, 134, 0.4);
}

.featured-swiper .swiper-button-next::after,
.featured-swiper .swiper-button-prev::after,
.latest-swiper .swiper-button-next::after,
.latest-swiper .swiper-button-prev::after,
.best-deals-swiper .swiper-button-next::after,
.best-deals-swiper .swiper-button-prev::after {
  font-size: 16px;
  font-weight: bold;
}

/* Enhanced Pagination */
.featured-swiper .swiper-pagination,
.latest-swiper .swiper-pagination,
.best-deals-swiper .swiper-pagination {
  position: relative;
  margin-top: 30px;
}

.featured-swiper .swiper-pagination-bullet,
.latest-swiper .swiper-pagination-bullet,
.best-deals-swiper .swiper-pagination-bullet {
  background: #FB2E86;
  opacity: 0.3;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.featured-swiper .swiper-pagination-bullet-active,
.latest-swiper .swiper-pagination-bullet-active,
.best-deals-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  transform: scale(1.2);
}

/* Enhanced hero subtitle */
.hero-subtitle {
  color: #FB2E86;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

/* Responsive Design for Latest Products Grid */
@media (max-width: 1024px) {
  .latest-products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }

  .container {
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .latest-products-swiper {
    height: 500px !important;
    overflow: visible;
  }
  
  .latest-products-swiper .swiper-wrapper {
    display: flex;
    grid-template-columns: none;
    grid-template-rows: none;
    gap: 0;
  }
  
  .latest-products-swiper .swiper-slide {
    width: 280px;
    margin-right: 20px;
    flex-shrink: 0;
  }
  
  .latest-pagination {
    display: block;
    margin-top: 30px;
  }
  
  .latest-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .latest-products-swiper .swiper-slide {
    width: 260px;
    margin-right: 15px;
  }
  
  .latest-products-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .latest-pagination {
    margin-top: 25px;
  }

  .latest-products {
    padding: 60px 5%;
  }

  .product-tabs {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .tab {
    padding: 8px 16px;
    font-size: 14px;
    min-width: auto;
  }

  /* Keep navbar visible on mobile */
  .navbar {
    display: flex;
  }

  .navbar ul {
    flex-direction: row;
    gap: 15px;
  }

  .navbar a {
    font-size: 12px;
    padding: 8px 0;
  }

  /* Keep header actions visible but adjust layout */
  .header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .search-box {
    display: none; /* Hide desktop search box to save space on mobile */
  }

  .user-actions {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .user-actions i {
    font-size: 16px;
  }

  .login-btn {
    padding: 6px 12px;
    font-size: 12px;
    white-space: nowrap;
  }

  /* Show mobile actions with search toggle */
  .mobile-actions {
    display: flex; /* Show mobile search toggle button */
  }

  /* Keep mobile navigation available */
  .mobile-nav {
    display: none; /* Initially hidden, can be opened when needed */
  }

  /* Ensure nav-wrapper uses flexbox for proper alignment */
  .nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2%;
    flex-wrap: wrap;
    gap: 10px;
  }

  /* Fixed header height adjustment for mobile */
  .header {
    min-height: auto;
    padding: 10px 0;
  }

  /* Logo adjustments for mobile */
  .logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .logo h2 {
    font-size: 1.4rem;
    display: none; /* Hide logo text to save space */
  }

  .logo-img {
    width: 35px;
    height: 35px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 5% 60px;
    margin-top: 80px; /* Account for mobile header height */
    min-height: 400px;
  }

  .hero-text {
    margin-right: 0;
    margin-bottom: 30px;
    max-width: 100%;
  }

  .hero-text h1 {
    font-size: 36px;
    line-height: 1.2;
  }

  .hero-image {
    max-width: 100%;
    width: 100%;
  }

  .hero-image img {
    max-width: 90%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .latest-products-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .latest-products {
    padding: 40px 5%;
  }

  .latest-products h2 {
    font-size: 28px;
  }

  /* Smaller mobile header but keep all elements visible */
  .header {
    min-height: auto;
    padding: 8px 0;
  }

  .nav-wrapper {
    padding: 0.5rem 2%;
    flex-wrap: wrap;
    gap: 8px;
  }

  /* Make navbar more compact */
  .navbar ul {
    gap: 8px;
  }

  .navbar a {
    font-size: 10px;
    padding: 6px 0;
  }

  /* Make header actions more compact */
  .header-actions {
    gap: 8px;
  }

  .user-actions {
    gap: 8px;
  }

  .user-actions i {
    font-size: 14px;
  }

  .login-btn {
    padding: 4px 8px;
    font-size: 10px;
  }

  /* Keep mobile actions visible */
  .mobile-actions {
    display: flex;
    gap: 8px;
  }

  /* Mobile search bar adjustments for small screens */
  .mobile-search-bar {
    top: 60px;
  }

  .mobile-search-container {
    padding: 15px;
  }

  .mobile-search-input-wrapper {
    padding: 0 15px;
  }

  .mobile-search-input {
    padding: 12px 0;
    font-size: 16px;
    /* Prevent zoom on iOS */
  }

  .logo h2 {
    display: none; /* Keep hidden to save space */
  }

  .logo-img {
    width: 30px;
    height: 30px;
  }

  .mobile-search-toggle {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .mobile-nav-links-inline {
    gap: 8px;
  }

  .nav-link-mobile {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .hero {
    margin-top: 60px;
    /* Account for smaller mobile header */
    padding: 30px 4% 40px;
    min-height: 350px;
  }

  .hero-text h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero-text p {
    font-size: 16px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 16px;
  }

  .hero-image img {
    max-width: 95%;
  }
}

/* Extra small screens - stack navbar vertically if needed */
@media (max-width: 360px) {
  .nav-wrapper {
    align-items: flex-start;
    gap: 10px;
    padding: 0.5rem 2%;
  }

  .logo {
    align-self: center;
  }

  .navbar {
    order: 2;
    width: 100%;
    justify-content: center;
  }

  .header-actions {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .header {
    padding: 10px 0;
  }

  .hero {
    margin-top: 100px; /* Account for taller stacked header */
  }
}

/* Responsive Design for Creativity Section */
@media (max-width: 768px) {
  .creativity-header h2 {
    font-size: 32px;
  }

  .creativity-content {
    flex-direction: column;
    gap: 40px;
    text-align: center;
    height: auto;
  }

  .creativity-features {
    gap: 25px;
  }

  .feature {
    justify-content: center;
  }

  .feature-text h4 {
    font-size: 16px;
  }

  .creativity-image {
    height: 300px;
  }

  .creativity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: none;
    display: none; /* Hide image on smaller screens */
  }
}

@media (max-width: 480px) {
  .creativity-section {
    padding: 40px 5%;
  }

  .creativity-header h2 {
    font-size: 28px;
  }

  .feature-icon svg {
    width: 50px;
    height: 50px;
  }

  .feature-text h4 {
    font-size: 15px;
  }

  .creativity-features {
    flex-direction: column;
    gap: 20px;
  }

  .creativity-image {
    height: 250px;
  }

  .creativity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: none;
    display: none; /* Hide image on smaller screens */
  }
}

/* Logo responsive styles */
@media (max-width: 768px) {
  .logo img {
    height: 35px;
    max-width: 120px;
  }
}

@media (max-width: 480px) {
  .logo img {
    height: 30px;
    max-width: 100px;
  }
}

/* ========================= */
/* COMPREHENSIVE RESPONSIVE DESIGN */
/* ========================= */

/* Extra Large Devices (Large Desktops) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }

  .hero {
    padding: 100px 8%;
  }

  .hero-text h1 {
    font-size: 52px;
  }

  .featured-products,
  .best-deals {
    padding: 100px 8%;
  }
}

/* Large Devices (Desktops) */
@media (max-width: 1200px) {
  .container {
    padding: 0 4%;
  }

  .hero {
    padding: 80px 6%;
  }

  .hero-text h1 {
    font-size: 44px;
  }

  .featured-products,
  .best-deals {
    padding: 80px 6%;
  }

  .contact-content {
    gap: 40px;
  }
}

/* Medium Devices (Tablets) */
@media (max-width: 1024px) {
  .container {
    padding: 0 5%;
  }

  /* Header adjustments */
  .nav-wrapper {
    padding: 0.8rem 0;
  }

  .search-box input {
    width: 150px;
  }

  /* Hero section */
  .hero {
    padding: 60px 5%;
    flex-direction: column;
    text-align: center;
    gap: 40px;
    min-height: 600px;
  }

  .hero-text {
    max-width: 100%;
    order: 2;
  }

  .hero-image {
    order: 1;
    max-width: 450px;
  }

  .hero-text h1 {
    font-size: 40px;
  }

  .hero-text p {
    font-size: 17px;
  }

  /* Sections */
  .featured-products,
  .best-deals,
  .latest-products {
    padding: 60px 5%;
  }

  .big-deal {
    padding: 60px 5%;
  }

  .deal-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .services {
    padding: 60px 5%;
  }

  .service-boxes {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .contact-section {
    padding: 60px 5%;
  }

  .contact-content {
    flex-direction: column;
    gap: 30px;
  }

  /* Creativity section */
  .creativity-section {
    padding: 60px 5%;
  }

  .creativity-content {
    flex-direction: column;
    height: auto;
    gap: 40px;
  }

  .creativity-features {
    flex-direction: row;
    justify-content: space-around;
  }
}

/* Small Devices (Landscape Phones & Small Tablets) */
@media (max-width: 768px) {

  /* Header responsive */
  .nav-wrapper {
    padding: 0.5rem 0;
    position: relative;
  }

  .navbar {
    display: none;
  }

  .mobile-menu {
    display: block;
    color: #333;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .search-box {
    display: none;
  }

  .user-actions {
    gap: 0.8rem;
  }

  .user-actions i {
    font-size: 1.1rem;
  }

  .login-btn {
    padding: 0.4rem 0.8rem;
    font-size: 14px;
  }

  /* Hero section */
  .hero {
    padding: 40px 5%;
    min-height: auto;
  }

  .hero-text h1 {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 15px;
  }

  .hero-text p {
    font-size: 16px;
    margin: 15px 0 25px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  /* Section headings */
  .featured-products h2,
  .best-deals h2,
  .latest-products h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }

  /* Product cards */
  .product-card {
    max-width: 100%;
  }

  .product-image {
    height: 200px;
    padding: 15px;
  }

  .product-card h3 {
    font-size: 15px;
    padding: 12px;
  }

  .product-pricing {
    padding: 0 12px 12px;
  }

  .product-actions {
    padding: 12px;
    gap: 12px;
  }

  /* Latest products tabs */
  .product-tabs {
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
  }

  .tab {
    padding: 8px 16px;
    font-size: 14px;
  }

  /* Services section */
  .services {
    padding: 40px 5%;
  }

  .services h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .service-boxes {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .service-card {
    padding: 25px 20px;
  }

  /* Big deal section */
  .big-deal {
    padding: 40px 5%;
  }

  .deal-text h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .deal-text h3 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .deal-text p {
    font-size: 15px;
    margin-bottom: 25px;
  }

  /* Creativity section */
  .creativity-section {
    padding: 40px 5%;
  }

  .creativity-header h2 {
    font-size: 28px;
    line-height: 1.3;
  }

  .creativity-features {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }

  .feature-text h4 {
    font-size: 16px;
  }

  /* Contact section */
  .contact-section {
    padding: 40px 5%;
  }

  .contact-section h2 {
    font-size: 28px;
  }

  /* Footer */
  .footer {
    padding: 30px 0 0;
    margin-top: 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
    margin-bottom: 20px;
    padding: 0 4%;
  }

  .footer-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
    padding: 0 4%;
  }

  .footer-powered {
    padding: 10px 0;
  }

  .footer-powered p {
    padding: 0 4%;
    font-size: 13px;
  }

  .footer-logo-img {
    height: 35px;
  }

  /* Hide swiper navigation on mobile */
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

/* Extra Small Devices (Phones) */
@media (max-width: 480px) {

  /* Header mobile adjustments */
  .nav-wrapper {
    flex-wrap: wrap;
    gap: 10px;
  }

  .logo {
    order: 1;
  }

  .mobile-menu {
    order: 2;
  }

  .header-actions {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
  }

  /* Hero section */
  .hero {
    padding: 30px 5%;
  }

  .hero-text h1 {
    font-size: 26px;
    line-height: 1.2;
  }

  .hero-text p {
    font-size: 14px;
    margin: 12px 0 20px;
  }

  .hero-subtitle {
    font-size: 13px;
  }

  /* Section headings */
  .featured-products h2,
  .best-deals h2,
  .latest-products h2,
  .services h2,
  .contact-section h2 {
    font-size: 24px;
    margin-bottom: 25px;
  }

  /* Product cards mobile */
  .product-image {
    height: 180px;
    padding: 12px;
  }

  .product-card h3 {
    font-size: 14px;
    padding: 10px;
  }

  .product-pricing {
    padding: 0 10px 10px;
  }

  .price {
    font-size: 16px;
  }

  .old-price {
    font-size: 14px;
  }

  .product-actions {
    padding: 10px;
    gap: 10px;
  }

  /* Latest products tabs mobile */
  .product-tabs {
    gap: 10px;
  }

  .tab {
    padding: 6px 12px;
    font-size: 13px;
  }

  /* Services mobile */
  .services {
    padding: 30px 5%;
  }

  .service-card {
    padding: 20px 15px;
  }

  .service-icon {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .service-card h3 {
    font-size: 16px;
    margin: 10px 0;
  }

  .service-card p {
    font-size: 14px;
    line-height: 1.5;
  }

  /* Big deal mobile */
  .big-deal {
    padding: 30px 5%;
  }

  .deal-text h2 {
    font-size: 22px;
  }

  .deal-text h3 {
    font-size: 20px;
  }

  .deal-text p {
    font-size: 14px;
  }

  .deal-pricing {
    margin-bottom: 20px;
  }

  .deal-price {
    font-size: 20px;
  }

  .deal-old-price {
    font-size: 16px;
  }

  .shop-now-btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  /* Creativity section mobile */
  .creativity-section {
    padding: 30px 5%;
  }

  .creativity-header h2 {
    font-size: 24px;
  }

  .feature-icon img {
    width: 60px;
    height: 60px;
  }

  .feature-text h4 {
    font-size: 15px;
  }

  /* Contact form mobile */
  .contact-section {
    padding: 30px 5%;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 12px;
    font-size: 16px;
    /* Prevents zoom on iOS */
  }

  .contact-form button {
    padding: 12px 24px;
    font-size: 14px;
  }

  /* Footer mobile */
  .footer-section h3 {
    font-size: 20px;
  }

  .footer-section h4 {
    font-size: 18px;
  }

  .contact-info h4 {
    font-size: 16px;
  }

  .contact-info p {
    font-size: 14px;
  }

  .footer-section ul li a {
    font-size: 14px;
  }

  .footer-bottom p {
    font-size: 14px;
  }

  .social-icons a {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
}

/* Very Small Devices */
@media (max-width: 360px) {

  /* Ultra-small adjustments */
  .hero-text h1 {
    font-size: 22px;
  }

  .hero-text p {
    font-size: 13px;
  }

  .featured-products h2,
  .best-deals h2,
  .latest-products h2,
  .services h2 {
    font-size: 20px;
  }

  .product-image {
    height: 160px;
    padding: 10px;
  }

  .product-card h3 {
    font-size: 13px;
  }

  .price {
    font-size: 15px;
  }

  .old-price {
    font-size: 13px;
  }

  .service-card {
    padding: 15px 10px;
  }

  .service-card h3 {
    font-size: 15px;
  }

  .service-card p {
    font-size: 13px;
  }

  .tab {
    padding: 5px 10px;
    font-size: 12px;
  }
}

/* Mobile Navigation Menu */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: white;
  z-index: 9999;
  transition: right 0.3s ease;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #eee;
}

.mobile-nav-close {
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
  padding: 0.5rem;
  transition: color 0.3s;
}

.mobile-nav-close:hover {
  color: #e91e63;
}

.mobile-navbar {
  padding: 1.5rem 0;
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-links li {
  margin: 0;
}

.mobile-nav-links a {
  display: block;
  padding: 1rem 1.5rem;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  border-bottom: 1px solid #f5f5f5;
  transition: all 0.3s ease;
  min-height: 48px;
  display: flex;
  align-items: center;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  color: #e91e63;
  background: #f9f9f9;
  padding-left: 2rem;
}

.mobile-search {
  padding: 1rem 1.5rem;
  border-top: 1px solid #eee;
}

.mobile-search .search-box {
  width: 100%;
  margin: 0;
  background: #f8f8f8;
}

.mobile-search .search-box input {
  width: 100%;
  font-size: 16px;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

/* Modern Mobile Search Overlay */
.mobile-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(-20px);
}

.mobile-search-overlay.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-search-container {
  padding: 2rem 1.5rem;
  max-width: 100%;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.mobile-search-header {
  margin-bottom: 2rem;
}

.mobile-search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border-radius: 16px;
  padding: 1rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.mobile-search-input-wrapper:focus-within {
  border-color: #e91e63;
  box-shadow: 0 8px 30px rgba(233, 30, 99, 0.15);
  transform: translateY(-2px);
}

.mobile-search-input-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e91e63, #ff6b9d, #e91e63);
  background-size: 200% 100%;
  animation: shimmer 2s infinite linear;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.mobile-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1.1rem;
  color: #333;
  outline: none;
  font-weight: 500;
}

.mobile-search-input::placeholder {
  color: #999;
  font-weight: 400;
}

.mobile-search-close {
  background: #e91e63;
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 1rem;
}

.mobile-search-close:hover {
  background: #d81b60;
  transform: scale(1.1);
}

.mobile-search-suggestions {
  flex: 1;
  overflow-y: auto;
}

.search-suggestion-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: white;
  margin-bottom: 0.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  position: relative;
  overflow: hidden;
}

.search-suggestion-item:hover {
  background: #f8f9fa;
  transform: translateX(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.search-suggestion-item:hover::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: #e91e63;
  border-radius: 0 2px 2px 0;
  transition: all 0.3s ease;
}

.search-suggestion-item .fas {
  color: #e91e63;
  font-size: 0.9rem;
  margin-right: 1rem;
  width: 20px;
  text-align: center;
}

.search-suggestion-item span {
  color: #333;
  font-weight: 500;
  font-size: 1rem;
}

/* Hide mobile search toggle and overlay on desktop/normal sizes */
@media (min-width: 769px) {
  .mobile-search-toggle {
    display: none !important;
  }

  .mobile-search-overlay {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* Also hide on larger tablets in landscape mode */
@media (min-width: 1024px) {
  .mobile-search-toggle {
    display: none !important;
  }

  .mobile-search-overlay {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* Only show on mobile devices */
@media (max-width: 768px) {
  .mobile-search-overlay {
    display: block;
  }

  .mobile-search-toggle {
    display: block;
  }
}

/* Enhanced mobile search for very small screens */
@media (max-width: 480px) {
  .mobile-search-container {
    padding: 1.5rem 1rem;
  }

  .mobile-search-input-wrapper {
    padding: 0.8rem 1rem;
  }

  .mobile-search-input {
    font-size: 1rem;
  }

  .mobile-search-close {
    width: 32px;
    height: 32px;
    margin-left: 0.8rem;
  }

  .search-suggestion-item {
    padding: 0.8rem;
  }
}

/* Animation for search suggestions */
.search-suggestion-item {
  animation: slideInUp 0.3s ease forwards;
}

.search-suggestion-item:nth-child(1) {
  animation-delay: 0.1s;
}

.search-suggestion-item:nth-child(2) {
  animation-delay: 0.2s;
}

.search-suggestion-item:nth-child(3) {
  animation-delay: 0.3s;
}

.search-suggestion-item:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

/* Hide decorative elements on mobile for better performance */
@media (max-width: 768px) {
  .hero-decorative-elements {
    display: none;
  }

  .hero-image-bg {
    display: none;
  }

  /* Better layout stability */
  .hero-text {
    width: 100%;
    order: 1;
  }

  .hero-image {
    width: 100%;
    order: 2;
    margin-top: 20px;
  }

  /* Prevent layout shifts */
  .hero-image img {
    display: block;
    margin: 0 auto;
  }

  /* Reduce animations on mobile */
  .product-card:hover {
    transform: none;
  }

  /* Better touch targets */
  .user-actions i,
  .mobile-menu,
  .wishlist,
  .add-to-cart {
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Prevent zoom on form inputs */
  input,
  textarea,
  select {
    font-size: 16px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }

  /* Smooth scrolling */
  html {
    scroll-behavior: smooth;
  }

  /* Prevent horizontal scroll */
  body {
    overflow-x: hidden;
  }

  /* Better button interactions */
  .btn,
  .add-to-cart,
  .shop-now-btn,
  .login-btn {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  /* Ensure proper spacing after fixed header */
  main,
  .main-content {
    padding-top: 0;
  }
}

/* Ensure images are responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Container system */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2%;
}

@media (max-width: 768px) {
  .container {
    padding: 0 5%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 4%;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast support */
@media (prefers-contrast: high) {
  .product-card {
    border: 2px solid #333;
  }

  .btn,
  .add-to-cart,
  .shop-now-btn {
    border: 2px solid currentColor;
  }
}

/* Additional responsive text utilities */
.text-responsive {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
}

.heading-responsive {
  font-size: clamp(1.5rem, 4vw, 3rem);
}

/* Responsive spacing utilities */
.section-padding {
  padding: clamp(2rem, 5vw, 5rem) clamp(1rem, 5vw, 10%);
}

/* Loading Screen Responsive Styles */
@media (max-width: 768px) {
  .loading-container {
    padding: 40px 30px;
    border-radius: 15px;
    margin: 20px;
  }

  .loading-logo-img {
    width: 50px;
    height: 50px;
  }

  .loading-logo h2 {
    font-size: 1.8rem;
    letter-spacing: 1px;
  }

  .loading-spinner {
    width: 60px;
    height: 60px;
  }

  .loading-text {
    font-size: 1rem;
    padding: 0 20px;
  }

  .loading-progress {
    width: 200px;
  }

  .progress-bar {
    height: 5px;
  }
}

@media (max-width: 480px) {
  .loading-screen {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
  }

  .loading-container {
    padding: 30px 20px;
    border-radius: 12px;
    margin: 15px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .loading-logo {
    gap: 10px;
    margin-bottom: 25px;
  }

  .loading-logo-img {
    width: 40px;
    height: 40px;
  }

  .loading-logo h2 {
    font-size: 1.5rem;
    letter-spacing: 0.5px;
  }

  .loading-spinner {
    width: 50px;
    height: 50px;
    margin-bottom: 25px;
  }

  .loading-text {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  .loading-progress {
    width: 180px;
  }

  .progress-bar {
    height: 4px;
  }

  .progress-percentage {
    font-size: 0.8rem;
  }
}

/* Print styles for better printing */
@media print {

  .header,
  .mobile-nav,
  .mobile-nav-overlay,
  .swiper-button-next,
  .swiper-button-prev,
  .swiper-pagination {
    display: none !important;
  }

  .featured-products,
  .latest-products,
  .services,
  .contact-section {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }
}

/* Notification System Styles */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid #e0e0e0;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  z-index: 10000;
  transform: translateX(400px);
  opacity: 0;
  transition: all 0.3s ease;
}

.notification.show {
  transform: translateX(0);
  opacity: 1;
}

.notification-success {
  border-left: 4px solid #2ed573;
}

.notification-success i {
  color: #2ed573;
  font-size: 18px;
}

.notification-info {
  border-left: 4px solid #3742fa;
}

.notification-info i {
  color: #3742fa;
  font-size: 18px;
}

.notification span {
  color: #333;
  font-weight: 500;
  font-size: 14px;
}

@media (max-width: 768px) {
  .notification {
    right: 15px;
    left: 15px;
    min-width: auto;
    transform: translateY(-100px);
  }
  
  .notification.show {
    transform: translateY(0);
  }
}

/* ===================================================
   TABLET RESPONSIVE HOME PAGE ENHANCEMENTS
   ===================================================
   Comprehensive tablet optimization for home page
   ================================================== */

/* LARGE TABLETS (1024px - 1366px) */
@media screen and (min-width: 1024px) and (max-width: 1366px) {
    .container {
        max-width: 95%;
        padding: 0 25px;
    }

    .hero-section {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 3.2rem;
        margin-bottom: 25px;
    }

    .hero-content p {
        font-size: 1.3rem;
        margin-bottom: 35px;
    }

    .hero-buttons {
        gap: 20px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 16px 32px;
        font-size: 1.1rem;
        border-radius: 8px;
    }

    .hero-image img {
        max-height: 500px;
        border-radius: 15px;
    }

    .section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 2.8rem;
        margin-bottom: 25px;
    }

    .section-subtitle {
        font-size: 1.2rem;
        margin-bottom: 50px;
    }

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

    .feature-card {
        padding: 35px;
        border-radius: 12px;
    }

    .feature-icon {
        width: 75px;
        height: 75px;
        font-size: 2rem;
        margin-bottom: 25px;
        border-radius: 12px;
    }

    .feature-card h3 {
        font-size: 1.4rem;
        margin-bottom: 16px;
    }

    .feature-card p {
        font-size: 1.05rem;
    }

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

    .product-card {
        border-radius: 12px;
        overflow: hidden;
    }

    .product-image {
        height: 220px;
    }

    .product-info {
        padding: 25px;
    }

    .product-title {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .product-price {
        font-size: 1.3rem;
        margin-bottom: 18px;
    }

    .add-to-cart {
        padding: 12px 20px;
        font-size: 1rem;
        border-radius: 8px;
    }

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

    .stat-card {
        padding: 35px;
        border-radius: 12px;
    }

    .stat-number {
        font-size: 2.8rem;
        margin-bottom: 12px;
    }

    .stat-label {
        font-size: 1.1rem;
    }

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

    .testimonial-card {
        padding: 35px;
        border-radius: 12px;
    }

    .testimonial-text {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }

    .testimonial-author {
        gap: 18px;
    }

    .author-avatar {
        width: 60px;
        height: 60px;
        border-radius: 12px;
    }

    .author-name {
        font-size: 1.1rem;
    }

    .author-role {
        font-size: 1rem;
    }
}

/* STANDARD TABLETS (768px - 1024px) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .container {
        max-width: 95%;
        padding: 0 20px;
    }

    .hero-section {
        padding: 50px 0;
    }

    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: center;
    }

    .hero-content h1 {
        font-size: 2.8rem;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 30px;
        line-height: 1.6;
    }

    .hero-buttons {
        gap: 16px;
        flex-wrap: wrap;
    }

    .btn-primary,
    .btn-secondary {
        padding: 14px 28px;
        font-size: 1rem;
        border-radius: 6px;
        min-height: 44px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
    }

    .btn-secondary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }

    .hero-image {
        position: relative;
    }

    .hero-image img {
        max-height: 420px;
        border-radius: 12px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2.4rem;
        margin-bottom: 20px;
        text-align: center;
    }

    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 40px;
        text-align: center;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 28px;
    }

    .feature-card {
        padding: 28px;
        border-radius: 10px;
        text-align: center;
        background: #fff;
        border: 1px solid #eee;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
        border-color: #3498db;
    }

    .feature-icon {
        width: 65px;
        height: 65px;
        font-size: 1.8rem;
        margin: 0 auto 20px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #3498db, #2980b9);
        color: #fff;
    }

    .feature-card h3 {
        font-size: 1.3rem;
        margin-bottom: 14px;
        color: #2c3e50;
    }

    .feature-card p {
        font-size: 1rem;
        line-height: 1.6;
        color: #666;
    }

    .products-section {
        background: rgba(248, 249, 250, 0.6);
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 25px;
    }

    .product-card {
        border-radius: 10px;
        overflow: hidden;
        background: #fff;
        border: 1px solid #eee;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .product-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
        border-color: #3498db;
    }

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

    .product-image img {
        transition: transform 0.3s ease;
    }

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

    .product-info {
        padding: 20px;
    }

    .product-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
        font-weight: 600;
        color: #2c3e50;
    }

    .product-price {
        font-size: 1.2rem;
        margin-bottom: 15px;
        color: #27ae60;
        font-weight: 700;
    }

    .add-to-cart {
        padding: 10px 18px;
        font-size: 0.95rem;
        border-radius: 6px;
        width: 100%;
        background: #3498db;
        color: #fff;
        border: none;
        font-weight: 600;
        transition: all 0.2s ease;
        min-height: 44px;
    }

    .add-to-cart:hover {
        background: #2980b9;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    }

    .stats-section {
        background: linear-gradient(135deg, #2c3e50, #34495e);
        color: #fff;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 28px;
    }

    .stat-card {
        padding: 28px;
        text-align: center;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .stat-number {
        font-size: 2.4rem;
        margin-bottom: 10px;
        font-weight: 700;
        color: #3498db;
    }

    .stat-label {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.9);
    }

    .testimonials-section {
        background: rgba(248, 249, 250, 0.4);
    }

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

    .testimonial-card {
        padding: 28px;
        border-radius: 10px;
        background: #fff;
        border: 1px solid #eee;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
        position: relative;
    }

    .testimonial-card::before {
        content: '"';
        position: absolute;
        top: -10px;
        left: 20px;
        font-size: 4rem;
        color: #3498db;
        font-weight: 700;
        opacity: 0.3;
    }

    .testimonial-text {
        font-size: 1rem;
        margin-bottom: 20px;
        line-height: 1.6;
        color: #34495e;
        font-style: italic;
    }

    .testimonial-author {
        gap: 15px;
        display: flex;
        align-items: center;
    }

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

    .author-name {
        font-size: 1rem;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 2px;
    }

    .author-role {
        font-size: 0.9rem;
        color: #666;
    }

    .cta-section {
        background: linear-gradient(135deg, #3498db, #2980b9);
        color: #fff;
        text-align: center;
        padding: 60px 0;
    }

    .cta-section .section-title {
        color: #fff;
        margin-bottom: 15px;
    }

    .cta-section .section-subtitle {
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 30px;
    }

    .newsletter-form {
        max-width: 400px;
        margin: 0 auto;
        display: flex;
        gap: 12px;
        background: rgba(255, 255, 255, 0.1);
        padding: 8px;
        border-radius: 50px;
        backdrop-filter: blur(10px);
    }

    .newsletter-form input {
        flex: 1;
        padding: 12px 20px;
        border: none;
        border-radius: 50px;
        background: rgba(255, 255, 255, 0.2);
        color: #fff;
        font-size: 1rem;
        min-height: 44px;
    }

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

    .newsletter-form input:focus {
        outline: none;
        background: rgba(255, 255, 255, 0.3);
    }

    .newsletter-form button {
        padding: 12px 24px;
        background: #fff;
        color: #3498db;
        border: none;
        border-radius: 50px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
        min-height: 44px;
    }

    .newsletter-form button:hover {
        background: #f8f9fa;
        transform: scale(1.05);
    }

    .floating-cart {
        width: 60px;
        height: 60px;
        bottom: 25px;
        right: 25px;
        font-size: 1.4rem;
        border-radius: 15px;
        box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
    }

    .scroll-to-top {
        width: 55px;
        height: 55px;
        bottom: 100px;
        right: 25px;
        font-size: 1.3rem;
        border-radius: 12px;
    }
}

/* SMALL TABLETS (600px - 768px) */
@media screen and (min-width: 600px) and (max-width: 768px) {
    .container {
        max-width: 92%;
        padding: 0 15px;
    }

    .hero-section {
        padding: 40px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.4rem;
        margin-bottom: 18px;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }

    .hero-buttons {
        gap: 12px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 0.95rem;
        border-radius: 5px;
        min-width: 140px;
        min-height: 44px;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-height: 280px;
        border-radius: 10px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 16px;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 35px;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .feature-card {
        padding: 22px;
        border-radius: 8px;
    }

    .feature-icon {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
        margin-bottom: 16px;
        border-radius: 8px;
    }

    .feature-card h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .feature-card p {
        font-size: 0.95rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }

    .product-card {
        border-radius: 8px;
    }

    .product-image {
        height: 160px;
    }

    .product-info {
        padding: 16px;
    }

    .product-title {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .product-price {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .add-to-cart {
        padding: 9px 16px;
        font-size: 0.9rem;
        border-radius: 5px;
        min-height: 44px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-card {
        padding: 22px;
        border-radius: 8px;
    }

    .stat-number {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .stat-label {
        font-size: 0.95rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-card {
        padding: 22px;
        border-radius: 8px;
    }

    .testimonial-text {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }

    .testimonial-author {
        gap: 12px;
    }

    .author-avatar {
        width: 45px;
        height: 45px;
    }

    .author-name {
        font-size: 0.95rem;
    }

    .author-role {
        font-size: 0.85rem;
    }

    .cta-section {
        padding: 50px 0;
    }

    .newsletter-form {
        max-width: 350px;
        flex-direction: column;
        gap: 12px;
        background: rgba(255, 255, 255, 0.15);
        padding: 15px;
        border-radius: 15px;
    }

    .newsletter-form input {
        width: 100%;
        text-align: center;
        border-radius: 10px;
    }

    .newsletter-form button {
        width: 100%;
        border-radius: 10px;
        padding: 14px;
    }

    .floating-cart {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 1.3rem;
        border-radius: 12px;
    }

    .scroll-to-top {
        width: 50px;
        height: 50px;
        bottom: 85px;
        right: 20px;
        font-size: 1.2rem;
        border-radius: 10px;
    }
}

/* TABLET TOUCH OPTIMIZATIONS */
@media screen and (min-width: 600px) and (max-width: 1024px) {
    /* Ensure all interactive elements are touch-friendly */
    .btn-primary,
    .btn-secondary,
    .add-to-cart,
    .newsletter-form input,
    .newsletter-form button,
    .floating-cart,
    .scroll-to-top {
        min-height: 44px;
        min-width: 44px;
    }

    /* Better touch feedback */
    .btn-primary:active,
    .btn-secondary:active,
    .add-to-cart:active,
    .newsletter-form button:active {
        transform: scale(0.95);
    }

    /* Improved hover states for tablets with mouse */
    .feature-card:hover,
    .product-card:hover,
    .testimonial-card:hover {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Better spacing for touch targets */
    .hero-buttons {
        gap: 14px;
    }

    .features-grid {
        gap: 24px;
    }

    .products-grid {
        gap: 22px;
    }

    /* Focus indicators for accessibility */
    .btn-primary:focus,
    .btn-secondary:focus,
    .add-to-cart:focus,
    .newsletter-form input:focus,
    .newsletter-form button:focus {
        outline: 2px solid #3498db;
        outline-offset: 2px;
    }

    /* Smooth animations */
    .hero-content,
    .feature-card,
    .product-card,
    .stat-card,
    .testimonial-card {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Prevent horizontal scrolling */
    .container {
        overflow-x: hidden;
    }

    /* Better contrast for readability */
    .section-title {
        color: #2c3e50;
    }

    .section-subtitle {
        color: #34495e;
        line-height: 1.6;
    }

    /* Improved loading states */
    .product-image img {
        transition: opacity 0.3s ease;
    }

    .product-image img[data-loading] {
        opacity: 0.7;
    }

    /* Better error handling */
    .newsletter-form input:invalid {
        border-color: #e74c3c;
        box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.15);
    }

    /* Improved scroll behavior */
    .scroll-to-top {
        transition: all 0.3s ease;
    }

    .scroll-to-top:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    }

    /* Better loading animations */
    @keyframes pulse {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.6; }
    }

    .loading-skeleton {
        animation: pulse 1.5s ease-in-out infinite;
        background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
        background-size: 200% 100%;
        animation: shimmer 1.5s infinite;
    }

    @keyframes shimmer {
        0% { background-position: -200% 0; }
        100% { background-position: 200% 0; }
    }
}

/* TABLET LANDSCAPE ORIENTATION */
@media screen and (min-width: 600px) and (max-width: 1024px) and (orientation: landscape) {
    .hero-section {
        padding: 60px 0;
    }

    .hero-content {
        grid-template-columns: 1.2fr 1fr;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-image {
        order: 2;
    }

    .hero-image img {
        max-height: 350px;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter-form {
        flex-direction: row;
        max-width: 450px;
    }

    .newsletter-form input {
        text-align: left;
    }
}