/* Ensure Swiper's default pseudo arrows are hidden */

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

.swiper-pagination-bullet {
  background: rgb(156 163 175) !important; /* gray-400 */
  opacity: 0.6 !important;
  width: 10px !important;
  height: 10px !important;
  transition: all 0.3s ease !important;
}

.swiper-pagination-bullet:hover {
  background: rgb(107 114 128) !important; /* gray-500 */
  opacity: 0.8 !important;
  transform: scale(1.2) !important;
}

.swiper-pagination-bullet-active {
  background: linear-gradient(
    135deg,
    #ef4444,
    #d416b5,
    #16a34a
  ) !important; /* rose-500 to green-500 gradient */
  opacity: 1 !important;
  transform: scale(1.3) !important;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.5) !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  display: none !important;
}

/* Position & style the custom buttons */
.custom-swiper-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  width: 52px;
  height: 52px;
  border-radius: 9999px; /* circular */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: none;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.2s ease;
  opacity: 1;
  background: linear-gradient(
    135deg,
    #ef4444 20%,
    #d416b5 50%,
    #c01baa 100%
  ); /* green->red */
  color: white;
}

/* left / right offsets */
/* .swiper-button-prev.custom-swiper-btn {
  left: 0px; */
/* } tweak offset */
/* .swiper-button-next.custom-swiper-btn {
  right: 0px;
} tweak offset */

/* Slight scale + glow on hover */
.custom-swiper-btn:hover {
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 18px 40px rgba(16, 185, 129, 0.18);
}

/* SVG icon size & stroke */
.custom-swiper-btn .btn-icon {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}

/* Mobile: move buttons inside a bit */
@media (max-width: 768px) {
  .swiper-button-prev.custom-swiper-btn {
    left: 8px;
  }
  .swiper-button-next.custom-swiper-btn {
    right: 8px;
  }
}

/* If the slide wrapper has overflow hidden from other styles, 
make sure parent allows visible */
.swiper {
  overflow: hidden !important;
}

/* Custom animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-spin-slow {
  animation: spin-slow 40s linear infinite;
}

/* Smooth transitions */
* {
  transition: all 0.3s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #b61d76 0%, #ec4899 50%, #f43f5e 100%);
  border-radius: 10px;
}

body {
  font-family: "Inter", sans-serif;
}

.gradient-text {
  background: linear-gradient(135deg, #ef4444 20%, #d416b5 50%, #16a34a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-bg {
  background: linear-gradient(135deg, #ef4444 0%, #d416b5 50%, #16a34a 100%);
}

.float-animation {
  animation: float 6s ease-in-out infinite;
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.stats-counter {
  transition: all 0.5s ease-out;
}

/* product details page css */

.gradient-text {
  background: linear-gradient(135deg, #ef4444 20%, #d416b5 50%, #16a34a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.image-gallery {
  transition: all 0.3s ease;
}

.thumbnail {
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.thumbnail.active,
.thumbnail:hover {
  border-color: #ef4444;
}

.quantity-btn {
  transition: all 0.2s ease;
}

.quantity-btn:hover {
  background-color: #f3f4f6;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.review-item {
  transition: all 0.3s ease;
}

.review-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.star-rating {
  color: #fbbf24;
}

.zoomable-image {
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.zoomable-image.zoomed {
  transform: scale(1.5);
  cursor: zoom-out;
}

/* product page style */

.gradient-bg {
  background: linear-gradient(135deg, #ef4444 0%, #d416b5 50%, #16a34a 100%);
}

.price-range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: #e5e7eb;
  outline: none;
}

.price-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ef4444;
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.price-range-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ef4444;
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.filter-section {
  transition: all 0.3s ease;
}

.filter-toggle {
  cursor: pointer;
}

.product-card {
  transition: all 0.3s ease;
}

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

.wishlist-btn {
  transition: all 0.3s ease;
}

.wishlist-btn.active {
  color: #ef4444;
}

.quick-view-overlay {
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease-out;
}

/* blog page style */

.search-highlight {
  background-color: #fef3c7;
  padding: 0 2px;
  border-radius: 2px;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.float-animation {
  animation: float 5s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.bounce-animation {
  animation: bounce 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.pulse-animation {
  animation: pulse 3s ease-in-out infinite;
}

.error-404 {
  font-size: 12rem;
  line-height: 1;
  font-weight: 900;
  text-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .error-404 {
    font-size: 8rem;
  }
}

@media (max-width: 480px) {
  .error-404 {
    font-size: 6rem;
  }
}

/* blog page style */
.blog-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.blog-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 2.5rem 0 1.5rem;
  color: #1f2937;
}

.blog-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: #374151;
}

.blog-content blockquote {
  border-left: 4px solid #ef4444;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #6b7280;
}

.blog-content ul,
.blog-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.blog-content li {
  margin-bottom: 0.5rem;
}

/* contact page style */

.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
}

.map-container {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* login page style */

.login-form input:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
}

.password-toggle {
  cursor: pointer;
  transition: color 0.3s;
}

.password-toggle:hover {
  color: #ef4444;
}

.social-login-btn {
  transition: all 0.3s ease;
}

.social-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.toggle-active {
  background-color: rgb(244 63 94);
  color: white;
}
.dark .toggle-active {
  background-color: rgb(225 29 72);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

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

/* .animate-float {
            animation: float 2s ease-in-out infinite;
        }
        
        .animate-pulse-glow {
            animation: pulse-glow 1s ease-in-out infinite;
        } */

.shimmer-btn {
  background: linear-gradient(90deg, #10b981, #ec4899, #10b981);
  background-size: 1000px 100%;
  animation: shimmer 3s infinite linear;
}

.shimmer-btn:hover {
  animation: shimmer 1.5s infinite linear;
}

.gradient-text {
  background: linear-gradient(90deg, #10b981, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

.social-icon {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.social-icon:hover::before {
  left: 100%;
}

.link-hover {
  position: relative;
  overflow: hidden;
}

.link-hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #10b981, #ec4899);
  transition: width 0.3s ease;
}

.link-hover:hover::after {
  width: 100%;
}

.newsletter-input:focus {
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.7;
  z-index: 0;
}
