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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  overflow-x: hidden;
}

/* ========================================= */
/* ============ ENHANCED ANIMATIONS ========== */
/* ========================================= */

/* Fade In Up Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* Fade In Left Animation */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

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

/* Fade In Right Animation */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

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

/* Scale In Animation */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Pulse Animation */
@keyframes pulse {

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

  50% {
    transform: scale(1.05);
  }
}

/* Shake Animation */
@keyframes shake {

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

  25% {
    transform: translateX(-5px);
  }

  75% {
    transform: translateX(5px);
  }
}

/* Bounce Animation */
@keyframes bounce {

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

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

/* Spin Animation */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Glow Pulse */
@keyframes glowPulse {

  0%,
  100% {
    box-shadow: 0 0 5px rgba(40, 116, 240, 0.3);
  }

  50% {
    box-shadow: 0 0 20px rgba(40, 116, 240, 0.6);
  }
}

/* Shimmer Effect */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

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

/* Wave Animation for buttons */
@keyframes wave {
  0% {
    transform: scaleX(0);
    transform-origin: left;
  }

  40% {
    transform: scaleX(1);
    transform-origin: left;
  }

  60% {
    transform: scaleX(1);
    transform-origin: right;
  }

  100% {
    transform: scaleX(0);
    transform-origin: right;
  }
}

/* Float Animation */
@keyframes float {

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

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

/* Slide Down */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

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

/* Rubber Band */
@keyframes rubberBand {
  0% {
    transform: scale(1);
  }

  30% {
    transform: scale(1.25);
  }

  40% {
    transform: scale(0.75);
  }

  50% {
    transform: scale(1.15);
  }

  65% {
    transform: scale(0.95);
  }

  75% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

/* Heart Beat */
@keyframes heartBeat {
  0% {
    transform: scale(1);
  }

  14% {
    transform: scale(1.1);
  }

  28% {
    transform: scale(1);
  }

  42% {
    transform: scale(1.1);
  }

  70% {
    transform: scale(1);
  }
}

/* ========================================= */
/* ============ ENHANCED UI ELEMENTS ========== */
/* ========================================= */

/* Enhanced Button Styles */
.enhanced-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
}

.enhanced-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
  z-index: -1;
}

.enhanced-btn:hover::before {
  left: 100%;
}

.enhanced-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.enhanced-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Card Hover Effects */
.hover-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Glow Effect */
.glow-effect {
  transition: all 0.3s ease;
}

.glow-effect:hover {
  box-shadow: 0 0 30px rgba(40, 116, 240, 0.4);
}

/* Text Gradient */
.text-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Parallax Container */
.parallax-container {
  overflow: hidden;
  position: relative;
}

/* Ripple Effect Container */
.ripple-container {
  position: relative;
  overflow: hidden;
}

/* Skew Hover Effect */
.skew-hover {
  transition: all 0.3s ease;
}

.skew-hover:hover {
  transform: skewX(-10deg);
}

/* Shine Button */
.shine-btn {
  position: relative;
  overflow: hidden;
}

.shine-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to right,
      transparent 0%,
      rgba(255, 255, 255, 0.3) 50%,
      transparent 100%);
  transform: rotate(30deg);
  transition: all 0.5s ease;
}

.shine-btn:hover::after {
  left: 100%;
}

/* ========================================= */
/* ============ TOAST NOTIFICATIONS ========== */
/* ========================================= */

.toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 15px 20px;
  border-radius: 10px;
  color: #fff;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideDown 0.3s ease, fadeInUp 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  min-width: 280px;
}

.toast.success {
  background: linear-gradient(135deg, #11998e, #38ef7d);
}

.toast.error {
  background: linear-gradient(135deg, #eb3349, #f45c43);
}

.toast.info {
  background: linear-gradient(135deg, #2193b0, #6dd5ed);
}

.toast.warning {
  background: linear-gradient(135deg, #f7971e, #ffd200);
}

.toast-close {
  margin-left: auto;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.toast-close:hover {
  opacity: 1;
}

/* ========================================= */
/* ============ LOADING ANIMATIONS ========== */
/* ========================================= */

.loader {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #2874f0;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 5px;
}

.skeleton-text {
  height: 20px;
  margin-bottom: 10px;
}

.skeleton-title {
  height: 30px;
  width: 60%;
  margin-bottom: 15px;
}

.skeleton-image {
  height: 200px;
}

/* ========================================= */
/* ============ ENHANCED SCROLLBAR ========== */
/* ========================================= */

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #2874f0, #1a5fd1);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #1a5fd1, #0d47a1);
}

/* Firefox Scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: #2874f0 #f1f1f1;
}

/* NAVBAR GRID LAYOUT */
.navbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  /* Left | Center | Right */
  align-items: center;
  padding: 15px 50px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

/* Left: Logo */
.logo {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Center: Navigation Links */
.nav-center {
  justify-self: center;
  display: flex;
  gap: 20px;
}

/* Right: Auth Buttons */
.auth-buttons {
  justify-self: end;
  display: flex;
  gap: 15px;
}

/* HERO CONTAINER */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 5%;
  min-height: 100vh;
  overflow: hidden;
}

/* LEFT TEXT SIDE */
.hero-text {
  flex: 1;
  z-index: 2;
  color: #222;
  max-width: 500px;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: bold;
  line-height: 1.2;
}

.hero-text span {
  color: teal;
}

.hero-text p {
  margin: 20px 0;
  font-size: 1.1rem;
  color: #555;
}

.btn-primary {
  display: inline-block;
  background: teal;
  color: #fff;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-primary:hover {
  background: #008080d9;
}

/* STORE BUTTONS */
.store-buttons {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}

.store-buttons img {
  height: 50px;
  transition: transform 0.3s ease;
}

.store-buttons img:hover {
  transform: scale(1.05);
}

/* RIGHT IMAGE SIDE (FULL WIDTH BACKGROUND) */
.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* WHITE FADE OVERLAY ON HERO SECTION */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0.95) 40%,
      rgba(255, 255, 255, 0) 100%);
  z-index: 2;
  pointer-events: none;
}

.store-buttons img {
  margin: 10px 10px 0 0;
  width: 100px;
  cursor: pointer;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
}

footer {
  text-align: center;
  padding: 20px;
  background: #f8f9fa;
  font-size: 14px;
}

/* Animated Buttons */
.animated-btn {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 25px;
  margin: 5px;
  font-size: 16px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
}

.animated-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transform: skewX(-25deg);
  transition: all 0.5s ease;
}

.animated-btn:hover::before {
  left: 125%;
}

.animated-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Edit Button with Glow */
.edit-btn {
  position: relative;
  display: inline-block;
  padding: 12px 30px;
  margin: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.edit-btn::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #ff00cc, #3333ff, #00ffcc);
  background-size: 400% 400%;
  border-radius: 50px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: borderAnimation 6s ease infinite;
}

.edit-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  height: 100%;
  width: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: skewX(-25deg);
  transition: left 0.5s ease;
  z-index: 0;
}

.edit-btn:hover::after {
  left: 130%;
}

.edit-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.edit-btn:hover::before {
  opacity: 1;
}

.edit-btn:active {
  transform: scale(0.97);
}

@keyframes borderAnimation {
  0% {
    background-position: 0%50%
  }

  50% {
    background-position: 100%50%
  }

  100% {
    background-position: 0%50%
  }
}

/* Cart Animation */
.cart-container {
  position: relative;
  display: inline-block;
}

.cart {
  width: 50px;
  animation: cartDash 2s infinite ease-in-out;
  filter: drop-shadow(0 0 6px #00d4ff);
}

.boost {
  position: absolute;
  left: -25px;
  height: 5px;
  background: linear-gradient(90deg, #ffcc00, transparent);
  border-radius: 3px;
  animation: boostAnim 1s infinite linear;
  opacity: 0.8;
}

.boost1 {
  top: 10px;
  width: 20px;
  animation-delay: 0s;
}

.boost2 {
  top: 22px;
  width: 30px;
  animation-delay: 0.2s;
}

.boost3 {
  top: 35px;
  width: 15px;
  animation-delay: 0.4s;
}

@keyframes cartDash {

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

  50% {
    transform: translateX(10px);
  }
}

@keyframes boostAnim {
  0% {
    transform: translateX(0);
    opacity: 1;
  }

  100% {
    transform: translateX(-40px);
    opacity: 0;
  }
}

/* Glowing Brand */
.brand {
  background: linear-gradient(90deg, #00d4ff, #00ff88);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textGlow 2s infinite alternate;
}

@keyframes textGlow {
  0% {
    text-shadow: 0 0 5px #00d4ff;
  }

  100% {
    text-shadow: 0 0 20px #00ff88;
  }
}

/* Nav Links Animation */
.nav-links {
  display: flex;
  gap: 20px;
  animation: slideIn 1.5s ease forwards;
}

.nav-links a {
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 25px;
  background: linear-gradient(135deg, #4a00e0, #8e2de2);
  color: white;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.nav-links a:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }

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

/* Auth Buttons Gradient */
.auth-buttons a {
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.auth-buttons .signup {
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: white;
}

.auth-buttons .signin {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  color: white;
}

.auth-buttons a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

/* SCROLLING TEXT WRAPPER */
.scrolling-text {
  width: 100%;
  background: linear-gradient(90deg, rgb(19, 181, 209), #11bfd6);
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  border-bottom: 3px solid #00695c;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* SCROLLING CONTENT */
.scrolling-content {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 15s linear infinite;
}

/* ANIMATION */
@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* ===== Navbar Styling ===== */
/* NAVBAR */
/* Navbar Container */
.category-bar {
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
  display: flex;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Main Menu */
.main-menu {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Each Menu Item */
.menu-item {
  position: relative;
  text-align: center;
}

.menu-item a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 14px;
  transition: color 0.3s ease;
}

.menu-item img {
  width: 50px;
  height: 50px;
  margin-bottom: 5px;
  transition: transform 0.3s ease;
}

.menu-item:hover img {
  transform: scale(1.1);
}

/* Dropdown Menu */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px 0;
  list-style: none;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Dropdown List Items */
.dropdown li {
  padding: 8px 15px;
}

.dropdown li a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  display: block;
  transition: background 0.3s ease;
}

.dropdown li:hover {
  background: #f5f5f5;
}

/* Show Dropdown on Hover */
.menu-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.top-deals {
  background: #fff;
  margin: 20px auto;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 95%;
  max-width: 1300px;
}

/* Heading */
.top-deals h2 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #212121;
  font-weight: bold;
}

/* Product Carousel */
.deals-container {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

.deals-container::-webkit-scrollbar {
  height: 8px;
}

.deals-container::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 5px;
}

/* Product Card */
.deal-item {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  flex: 0 0 180px;
  text-align: center;
  padding: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.deal-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.deal-item img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 10px;
  transition: transform 0.3s;
}

.deal-item:hover img {
  transform: scale(1.1);
}

.deal-item h3 {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deal-item p {
  font-size: 0.9rem;
  font-weight: bold;
  color: #388e3c;
}

/* === Profile Dropdown Styles === */
.profile-btn {
  background: #2874f0;
  color: #fff;
  padding: 8px 16px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  border: none;
  outline: none;
  transition: 0.3s ease;
}

.profile-btn:hover {
  background: #1a5fd1;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.profile-dropdown a {
  display: block;
  padding: 12px 18px;
  text-decoration: none;
  color: #333;
  font-size: 15px;
  transition: 0.2s;
}

.profile-dropdown a:hover {
  background: #f0f0f5;
  padding-left: 25px;
}

/* ===================== BASE HEADER ===================== */
.pro-header {
  width: 100%;
  background: #ffffff;
  padding: 12px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #e5e5e5;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);
  font-family: 'Segoe UI', Arial, sans-serif;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* LOGO */
.pro-logo {
  font-size: 1.7rem;
  font-weight: 700;
  color: #2874f0;
}

/* SEARCH BAR */
.pro-search {
  flex: 1;
  max-width: 650px;
  display: flex;
  align-items: center;
  background: #f1f3f6;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  position: relative;
}

.pro-search input {
  width: 100%;
  padding: 10px 14px;
  background: transparent;
  border: none;
  font-size: 15px;
}

.pro-search button {
  background: #2874f0;
  border: none;
  padding: 10px 14px;
  color: #fff;
  cursor: pointer;
}

.voice-btn {
  padding: 10px 12px;
  cursor: pointer;
  color: #555;
}

.voice-btn:hover {
  color: #2874f0;
}

/* SUGGESTIONS BOX */
.suggestions-box {
  position: absolute;
  top: 46px;
  width: 100%;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  display: none;
  flex-direction: column;
  z-index: 10000;
}

/* RIGHT ACTIONS */
.pro-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.pro-icon {
  font-size: 22px;
  position: relative;
  cursor: pointer;
}

.badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: #ff3d3d;
  color: #fff;
  padding: 2px 5px;
  border-radius: 50%;
  font-size: 11px;
}

/* Language Dropdown */
.lang-select {
  padding: 6px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-weight: 600;
}

.profile-wrapper .profile-btn {
  text-decoration: none;
  color: #2874f0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 6px;
  background: #eef5ff;
  border: 1px solid #d4e4ff;
  cursor: pointer;
  transition: background 0.2s ease;
  /* Only background transition, no scale */
}

.profile-wrapper .profile-btn:hover {
  background: #ddecff;
  /* Slightly darker on hover */
  transform: none;
  /* Remove scale effect */
}


.profile-menu {
  display: none;
  position: absolute;
  top: 40px;
  width: 180px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.profile-menu a {
  display: block;
  padding: 12px;
  color: #222;
  text-decoration: none;
}

.profile-menu a:hover {
  background: #f3f3f3;
}

/* PROFILE BUTTON UPDATED (Flipkart Style) */
.profile-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  color: #2874f0 !important;
  /* FLIPKART BLUE */
  font-weight: 600;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  transition: 0.2s ease;
  background: #eef5ff;
  border: 1px solid #d4e4ff;
}

.profile-btn:hover {
  background: #ddecff;
  transform: scale(1.05);
}

/* Alternative Light Blue Sign-In (perfect match with profile-btn) */
.signin-btn {
  padding: 8px 18px;
  background: #eef5ff;
  /* light blue background */
  color: #2874f0 !important;
  /* Flipkart blue text */
  border: 1px solid #d4e4ff;
  /* light border */
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s ease;
}

.signin-btn:hover {
  background: #ddecff;
  /* slightly darker on hover */
}

.search-results {
  position: absolute;
  top: 46px;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 0;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  display: none;
  max-height: 260px;
  overflow-y: auto;
  z-index: 9999;
}

.search-results div {
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.search-results div:hover {
  background: #f1f3f6;
}

/* SLIDER */
.slider {
  position: relative;
  width: 100%;
  height: 280px;
  /* ✅ Flipkart-like banner height */
  overflow: hidden;
  background: #fff;
}

.slides {
  display: flex;
  transition: transform 0.8s ease-in-out;
  height: 100%;
}

.slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15) rotate(1deg);
  transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ACTIVE SLIDE ANIMATIONS */
.slide.active-slide img {
  transform: scale(1) rotate(0deg);
}

/* CONTENT ON SLIDE */
.content {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(80px);
  opacity: 0;
  color: #fff;
  max-width: 500px;
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.3s;
}

.slide.active-slide .content {
  opacity: 1;
  transform: translateY(-50%);
}

.content h2 {
  font-size: 2rem;
  margin-bottom: 8px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.content p {
  font-size: 1.1rem;
  margin-bottom: 12px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.content button {
  background: #ff9f00;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 2px;
  font-size: 0.95rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.content button:hover {
  background: #fb641b;
}

/* ======= Flipkart-Style Fashion Dropdown ======= */

.menu-item.fashion {
  position: relative;
}

.menu-item.fashion .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  width: 250px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 10px 0;
  list-style: none;
  z-index: 999;
}

.menu-item.fashion:hover>.dropdown {
  display: block;
}

/* Dropdown links */
.fashion-dropdown a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  color: #333;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.fashion-dropdown a:hover {
  background: #f1f6ff;
  color: #2874f0;
}


/* Sub-dropdown (right-side “More in ...”) */
.sub-dropdown {
  position: absolute;
  top: 0;
  left: 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  min-width: 260px;
  display: none;
  padding: 12px 0;
  list-style: none;
  z-index: 1000;
  animation: fadeInRight 0.25s ease;
}

/* Show only when hovering on that category */
.submenu-item:hover .sub-dropdown {
  display: block;
}

/* Sub-dropdown title */
.sub-dropdown .title {
  font-weight: 600;
  color: #2874f0;
  padding: 8px 18px 10px;
  border-bottom: 1px solid #eee;
  margin-bottom: 5px;
  font-size: 13px;
}

/* Sub-dropdown links */
.sub-dropdown a {
  display: block;
  padding: 8px 18px;
  font-size: 13px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.sub-dropdown a:hover {
  background: #f6f9ff;
  color: #2874f0;
  padding-left: 24px;
}

/* Remove list dots */
.dropdown,
.sub-dropdown,
.dropdown li {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Animations */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(8px);
  }

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

/* ======= Mobiles & Tablets Dropdown ======= */
.menu-item.mobiles {
  position: relative;
}

.menu-item.mobiles .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  width: 250px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 10px 0;
  list-style: none;
  z-index: 999;
}

.menu-item.mobiles:hover>.dropdown {
  display: block;
}

/* Dropdown main links */
.mobile-dropdown a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  color: #333;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mobile-dropdown a:hover {
  background: #f1f6ff;
  color: #2874f0;
}

/* ======= Electronics Dropdown ======= */
.menu-item.electronics {
  position: relative;
}

.menu-item.electronics .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  width: 250px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 10px 0;
  list-style: none;
  z-index: 999;
}

.menu-item.electronics:hover>.dropdown {
  display: block;
}

/* Main Dropdown Links */
.electronics-dropdown a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  color: #333;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.electronics-dropdown a:hover {
  background: #f1f6ff;
  color: #2874f0;
}

/* ======= Home & Furniture Dropdown ======= */
.menu-item.home {
  position: relative;
}

.menu-item.home .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  width: 250px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 10px 0;
  list-style: none;
  z-index: 999;
}

.menu-item.home:hover>.dropdown {
  display: block;
}

/* Main links */
.home-dropdown a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  color: #333;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.home-dropdown a:hover {
  background: #f1f6ff;
  color: #2874f0;
}

/* ======= Grocery Dropdown ======= */
.menu-item.grocery {
  position: relative;
}

.menu-item.grocery .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  width: 250px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 10px 0;
  list-style: none;
  z-index: 999;
}

.menu-item.grocery:hover>.dropdown {
  display: block;
}

/* Main Dropdown Links */
.grocery-dropdown a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  color: #333;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.grocery-dropdown a:hover {
  background: #f1f6ff;
  color: #2874f0;
}

/* ======= Beauty, Toys & More Dropdown ======= */
.menu-item.beauty {
  position: relative;
}

.menu-item.beauty .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  width: 250px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 10px 0;
  list-style: none;
  z-index: 999;
}

.menu-item.beauty:hover>.dropdown {
  display: block;
}

/* Dropdown links */
.beauty-dropdown a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  color: #333;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.beauty-dropdown a:hover {
  background: #f1f6ff;
  color: #2874f0;
}

/* Arrow style */
.arrow {
  font-size: 30px;
  color: #fff;
  transition: all 0.3s ease;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  background: rgba(0, 0, 0, 0.5);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.3s ease;
}

.arrow:hover {
  background: #2874f0;
  transform: translateY(-50%) scale(1.1);
}

.slider:hover .arrow {
  opacity: 1;
}

.arrow.prev {
  left: 20px;
}

.arrow.next {
  right: 20px;
}

.arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.profile-dropdown {
  position: absolute;
  top: 60px;
  right: 0;
  width: 220px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  display: none;
  overflow: hidden;
  z-index: 2000;
}

.profile-dropdown a {
  padding: 12px 18px;
  display: block;
  text-decoration: none;
  font-size: 15px;
  color: #333;
  transition: 0.2s;
}

.profile-dropdown a:hover {
  background: #f4f7ff;
  padding-left: 25px;
}

/* Top Deals Scroll Buttons - Always visible */
.scroll-btn {
  background: #2874f0;
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 50%;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(40, 116, 240, 0.3);
  z-index: 10;
  opacity: 1;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.scroll-btn:hover {
  background: #1a5fd1;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 15px rgba(40, 116, 240, 0.5);
}

.scroll-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.scroll-btn.left {
  left: 10px;
}

.scroll-btn.right {
  right: 10px;
}

/* Deals Dots */
.deals-dots {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  gap: 8px;
}

.deals-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.deals-dots .dot.active {
  background: #2874f0;
  transform: scale(1.2);
}

.deals-dots .dot:hover {
  background: #1a5fd1;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

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

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

.footer {
  background: #1a1a1a;
  color: #ddd;
  font-family: Arial, sans-serif;
}

/* Top Section */
.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  padding: 40px 6%;
  border-bottom: 1px solid #333;
}

.footer-col h3 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  color: #bbb;
  font-size: 13px;
  margin: 6px 0;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: #ff9f00;
}

.footer-col p {
  font-size: 13px;
  color: #bbb;
  line-height: 1.6;
}

/* Middle Row */
.footer-middle {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 15px 6%;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  font-size: 13px;
  color: #bbb;
}

.footer-middle a {
  margin: 5px 12px;
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-middle a:hover {
  color: #ff9f00;
}

.social-icons a {
  margin: 0 6px;
  display: inline-block;
  transition: transform 0.3s;
}

.social-icons a:hover {
  transform: scale(1.2);
}

.social-icons img {
  width: 22px;
  height: 22px;
  filter: invert(1);
}

/* Bottom Row */
.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 0;
  gap: 15px;
}

.footer-bottom img {
  height: 32px;
  transition: transform 0.3s;
}

.footer-bottom img:hover {
  transform: scale(1.1);
}

/* ========================================= */
/* ============ MOBILE RESPONSIVE ========== */
/* ========================================= */
/* Global Responsive Fixes - Applied to all devices */
img {
  max-width: 100%;
  height: auto;
}

body {
  overflow-x: hidden;
}

/* Touch Optimization - Global */
button, 
a.btn-primary, 
.animated-btn, 
.edit-btn,
.signin-btn {
  min-height: 44px;
  touch-action: manipulation;
}

/* ========== TABLET (481px - 1024px) ========== */
@media (min-width: 481px) and (max-width: 1024px) {
  
  /* Header */
  .pro-header {
    flex-wrap: wrap;
    padding: 12px 20px;
    gap: 15px;
  }
  
  .pro-search {
    max-width: 100%;
    order: 3;
    width: 100%;
  }
  
  .pro-logo {
    font-size: 1.5rem;
  }
  
  .pro-actions {
    gap: 15px;
  }
  
  /* Category Bar */
  .category-bar {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .main-menu {
    gap: 25px;
    min-width: max-content;
  }
  
  .menu-item img {
    width: 45px;
    height: 45px;
  }
  
  /* Hero */
  .hero {
    padding: 40px 4%;
    min-height: auto;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .hero-image {
    height: 300px;
  }
  
  .hero::before {
    background: linear-gradient(to right, rgba(255,255,255,0.9) 35%, rgba(255,255,255,0) 100%);
  }
  
  /* Slider */
  .slider {
    height: 250px;
  }
  
  .content {
    left: 6%;
    max-width: 400px;
  }
  
  .content h2 {
    font-size: 1.6rem;
  }
  
  /* Deals */
  .deal-item {
    flex: 0 0 160px;
  }
  
  /* Footer */
  .footer-top {
    grid-template-columns: repeat(3, 1fr);
    padding: 30px 4%;
    gap: 25px;
  }
}

/* ========== MOBILE (max-width: 480px) ========== */
@media (max-width: 480px) {
  
  /* Global */
  * {
    -webkit-tap-highlight-color: transparent;
  }
  
  /* ================= HEADER ================= */
  .pro-header {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 15px;
    gap: 10px;
    position: relative;
  }
  
  .pro-logo {
    font-size: 1.4rem;
    text-align: center;
  }
  
  .pro-search {
    max-width: 100%;
    width: 100%;
    order: 2;
  }
  
  .pro-search input {
    padding: 8px 10px;
    font-size: 14px;
  }
  
  .pro-search button {
    padding: 8px 12px;
  }
  
  .voice-btn {
    padding: 8px 10px;
  }
  
  .pro-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
    order: 3;
  }
  
  .lang-select {
    padding: 6px 8px;
    font-size: 13px;
  }
  
  .pro-icon {
    font-size: 20px;
  }
  
  .signin-btn {
    padding: 8px 14px;
    font-size: 13px;
    min-height: 36px;
  }
  
  .profile-wrapper .profile-btn {
    font-size: 14px;
    padding: 6px 10px;
    min-height: 36px;
  }
  
  /* Profile Dropdown */
  .profile-menu,
  .profile-dropdown {
    right: 5px;
    width: 160px;
  }
  
  /* ================= CATEGORY BAR ================= */
  .category-bar {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 10px;
  }
  
  .category-bar::-webkit-scrollbar {
    display: none;
  }
  
  .main-menu {
    display: flex;
    gap: 15px;
    min-width: max-content;
    padding: 0 10px;
  }
  
  .menu-item {
    flex-shrink: 0;
  }
  
  .menu-item a {
    font-size: 11px;
  }
  
  .menu-item img {
    width: 35px;
    height: 35px;
    margin-bottom: 3px;
  }
  
  /* Hide dropdowns on mobile - show only on tap */
  .dropdown,
  .sub-dropdown {
    display: none !important;
  }
  
  /* ================= SCROLLING TEXT ================= */
  .scrolling-text {
    font-size: 0.9rem;
    padding: 8px 0;
  }
  
  /* ================= SLIDER ================= */
  .slider {
    height: 180px;
  }
  
  .slide img {
    transform: scale(1.2);
  }
  
  .content {
    left: 4%;
    top: 50%;
    transform: translateY(-30%);
    max-width: 85%;
  }
  
  .content h2 {
    font-size: 1rem;
    margin-bottom: 4px;
  }
  
  .content p {
    font-size: 0.75rem;
    margin-bottom: 8px;
  }
  
  .content button {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
  
  .arrow {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
  
  /* ================= HERO SECTION ================= */
  .hero {
    flex-direction: column;
    padding: 25px 15px;
    min-height: auto;
  }
  
  .hero-text {
    max-width: 100%;
    text-align: center;
    order: 2;
  }
  
  .hero-text h1 {
    font-size: 1.6rem;
    line-height: 1.3;
  }
  
  .hero-text p {
    font-size: 0.9rem;
    margin: 12px 0;
  }
  
  .btn-primary {
    padding: 10px 20px;
    font-size: 0.9rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .store-buttons {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
  }
  
  .store-buttons img {
    height: 40px;
    width: 80px;
    object-fit: contain;
  }
  
  .hero-image {
    position: relative;
    width: 100%;
    height: 200px;
    order: 1;
    margin-bottom: 15px;
  }
  
  .hero-image img {
    object-fit: cover;
  }
  
  .hero::before {
    display: none;
  }
  
  /* ================= TOP DEALS ================= */
  .top-deals {
    margin: 15px auto;
    padding: 15px;
    width: 95%;
  }
  
  .top-deals h2 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    text-align: center;
  }
  
  .deals-container {
    gap: 12px;
    padding: 5px;
  }
  
  .deal-item {
    flex: 0 0 140px;
    padding: 12px 8px;
  }
  
  .deal-item img {
    width: 80px;
    height: 80px;
  }
  
  .deal-item h3 {
    font-size: 0.85rem;
  }
  
  .deal-item p {
    font-size: 0.8rem;
  }
  
  .scroll-btn {
    display: none;
  }
  
  .deals-dots {
    margin-top: 12px;
    gap: 6px;
  }
  
  .deals-dots .dot {
    width: 8px;
    height: 8px;
  }
  
  /* ================= FOOTER ================= */
  .footer-top {
    display: flex;
    flex-direction: column;
    padding: 25px 15px;
    gap: 20px;
    text-align: center;
  }
  
  .footer-col {
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
  }
  
  .footer-col:last-child {
    border-bottom: none;
  }
  
  .footer-col h3 {
    font-size: 13px;
    margin-bottom: 10px;
  }
  
  .footer-col a {
    font-size: 12px;
    margin: 5px 0;
  }
  
  .footer-col p {
    font-size: 12px;
  }
  
  .footer-middle {
    flex-direction: column;
    text-align: center;
    padding: 15px;
    gap: 10px;
    font-size: 12px;
  }
  
  .footer-middle a {
    margin: 5px 8px;
  }
  
  /* ================= FLOATING COMPONENTS ================= */
  .toast-container {
    top: auto;
    bottom: 20px;
    right: 10px;
    left: 10px;
    flex-direction: column;
    align-items: center;
  }
  
  .toast {
    min-width: auto;
    width: 100%;
    max-width: 300px;
    font-size: 13px;
    padding: 12px 15px;
  }
  
  /* ================= TOUCH OPTIMIZATION ================= */
  button,
  .btn-primary,
  .animated-btn,
  .edit-btn,
  .signin-btn,
  .profile-btn,
  a,
  .pro-icon {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Links that are not buttons */
  a:not(.btn-primary):not(.signin-btn):not(.animated-btn):not(.edit-btn) {
    min-height: auto;
    min-width: auto;
  }
  
  /* Better touch targets */
  .pro-icon,
  .lang-select {
    padding: 8px;
  }
  
  /* Smooth scrolling for mobile */
  html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Prevent text selection on UI elements */
  .pro-header,
  .category-bar,
  .pro-actions {
    -webkit-user-select: none;
    user-select: none;
  }
}

/* ========== DESKTOP (above 1024px) ========== */
/* Desktop styles remain unchanged - they are defined above */
