@import url("https://fonts.googleapis.com/css2?family=Alice&family=Lilita+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lilita+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Ubuntu&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap");


html {
  scroll-behavior: smooth;
}
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body{
  /* overflow-x: hidden; */
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(90deg, #ff8c00, #6e2308); /* Orange gradient */
  color: white;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(255, 69, 0, 0.3); /* Subtle orange shadow */
  transition: all 0.3s ease-in-out;
}

.btn-primary:hover {
  background: linear-gradient(90deg, #ff4500, #935d1b);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(255, 69, 0, 0.4);
}

/* ***** Footer */
.font-exo-2 {
  font-family: "Exo 2", sans-serif;
}

/* app download section */
@keyframes textGlow {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
.animate-glow {
  animation: textGlow 2s infinite ease-in-out;
}

/****** Login form  */

.avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: #4f46e5;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  padding: 8px 0;
  z-index: 100;
}

.login-btn {
  position: relative;
  padding: 4px 0;
  transition: all 0.3s ease;
}


/* ********** products Styling */

.product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius: 8px;
  overflow: hidden;
  background: white;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.product-image-container {
  position: relative;
  overflow: hidden;
  background: #f9f9f9;
}
.product-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.3s;
}
.product-card:hover .product-image {
  transform: scale(1.03);
}
/* Discount Tag (Only on 3-4 products) */
.discount-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ef4444;
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  z-index: 2;
}
/* Wishlist Icon (Top-Right Overlay) */
.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s;
}
.wishlist-btn:hover {
  color: red;
  transform: scale(1.1);
}
/* Brand + Cart Button Row */
.brand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}
.cart-btn {
  /* background: #3b82f6; */
  color: white;
  border: none;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s;
}
.cart-btn:hover {
  background: #2563eb;
}
/* Buy Now Button */
.buy-now-btn {
  width: 100%;
  background: #10b981;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px;
  margin-top: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}
.buy-now-btn:hover {
  background: #059669;
}
/* Mobile Responsiveness */
@media (max-width: 768px) {
  .product-image {
    height: 180px;
  }
}

/* ****** Product detail page styling */

.image-gallery {
  position: relative;
}
.main-image {
  width: 100%;
  height: 500px;
  object-fit: contain;
  transition: transform 0.3s;
  background-color: #f9f9f9;
  cursor: zoom-in;
}
.thumbnail-container {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  overflow-x: auto;
  padding-bottom: 10px;
}
.thumbnail {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.3s;
}
.thumbnail:hover,
.thumbnail.active {
  border-color: #3b82f6;
}
.zoom-container {
  position: relative;
  overflow: hidden;
}
.zoom-lens {
  position: absolute;
  border: 1px solid #d4d4d4;
  width: 150px;
  height: 150px;
  background-repeat: no-repeat;
  display: none;
  pointer-events: none;
}
.zoom-result {
  position: absolute;
  top: 0;
  left: calc(100% + 20px);
  width: 500px;
  height: 500px;
  background-repeat: no-repeat;
  background-color: white;
  border: 1px solid #d4d4d4;
  display: none;
  z-index: 100;
}
.size-option {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  margin-right: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  border-radius: 4px;
}
.size-option:hover,
.size-option.selected {
  border-color: #3b82f6;
  background-color: #eff6ff;
}
@media (max-width: 768px) {
  .main-image {
    height: 350px;
  }
  .thumbnail {
    width: 60px;
    height: 60px;
  }
}


/* **** Social icon  */
.social-icon {
  display: inline-block;
  transition: all 0.3s ease;
  margin: 0 8px;
}

/* Zoom effect for all icons */
.social-icon:hover {
  transform: scale(1.2);
}

/* Instagram gradient */
.fa-instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Facebook gradient */
.fa-facebook:hover {
  background: linear-gradient(to bottom, #1877F2, #0A5AC2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* YouTube gradient */
.fa-youtube:hover {
  background: linear-gradient(to right, #FF0000, #CC0000);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Twitter/X gradient */
.fa-twitter:hover {
  background: linear-gradient(to right, #1DA1F2, #0D8ECF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}


/* **** Cart icon */
.cart-icon-wrapper {
  position: relative;
  display: inline-block;
  transition: all 0.3s ease; /* Added for smooth hover effects */
}

#cartCounter {
  position: absolute;
  top: -8px;
  right: -12px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ef4444;
  color: white;
  font-size: 0.75rem;
  transition: all 0.2s ease;
}

/* New hover animations */
.cart-icon-wrapper:hover {
  transform: translateY(-2px); /* Light lift effect */
}

.cart-icon-wrapper:hover .fa-bag-shopping {
  color: #6366f1; /* Change icon color on hover */
  transform: scale(1.1); /* Slight zoom */
}

.cart-icon-wrapper:hover #cartCounter {
  transform: scale(1.15); /* Enhanced from your existing hover */
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2); /* More pronounced shadow */
  background: #dc2626; /* Slightly darker red on hover */
}

/* Ensure the icon has transition */
.fa-bag-shopping {
  transition: all 0.3s ease;
  display: inline-block; /* Needed for transform to work */
}

#global-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}