/* Shop Styles for Waleed Toys - Enhanced Version */
:root {
  /* Main brand colors */
  --toy-primary: #ff3d2e; /* Brand red */
  --toy-secondary: #f7e63b; /* Brand yellow */
  --toy-accent: #40bfef; /* Brand blue */
  --toy-dark: #333333;
  --toy-light: #f8f9fa;
  --toy-gray: #6c757d;
  /* Additional palette */
  --toy-purple: #8a4af3;
  --toy-pink: #fb2e86;
  --toy-orange: #ffaa2c;
  --toy-green: #3fe374;
  /* Functional colors */
  --bs-primary: var(--toy-primary);
  --bs-primary-rgb: 255, 61, 46;
  --animation-duration: 0.3s;
}

/* General styling */
body {
  font-family: "Poppins", sans-serif;
  color: var(--toy-dark);
  overflow-x: hidden;
  background-color: var(--toy-light);
}

a {
  text-decoration: none;
  transition: color var(--animation-duration) ease, background-color var(--animation-duration) ease, -webkit-transform var(--animation-duration) ease;
  transition: color var(--animation-duration) ease, background-color var(--animation-duration) ease, transform var(--animation-duration) ease;
  transition: color var(--animation-duration) ease, background-color var(--animation-duration) ease, transform var(--animation-duration) ease, -webkit-transform var(--animation-duration) ease;
}

/* Override Bootstrap theme colors */
.text-primary {
  color: var(--toy-primary) !important;
}

.bg-primary {
  background-color: var(--toy-primary) !important;
}

.btn-primary {
  background-color: var(--toy-primary);
  border-color: var(--toy-primary);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: rgba(var(--bs-primary-rgb), 0.9);
  border-color: rgba(var(--bs-primary-rgb), 0.9);
}

.btn-outline-primary {
  color: var(--toy-primary);
  border-color: var(--toy-primary);
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
  background-color: var(--toy-primary);
  border-color: var(--toy-primary);
  color: #fff;
}

/* Button styling */
.btn {
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  transition: all var(--animation-duration) ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn:hover {
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-sm {
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
}

/* Helper classes */
.rounded-4 {
  border-radius: 1rem !important;
}

.shadow-toy {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Section styling */
section {
  padding: 4rem 0;
}

section.py-5 {
  padding: 3rem 0;
}

@media (max-width: 768px) {
  section {
    padding: 2.5rem 0;
  }
  section.py-5 {
    padding: 2rem 0;
  }
}
.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-weight: 800;
  color: var(--toy-dark);
  position: relative;
  display: inline-block;
}

.section-heading h2:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 50px;
  height: 4px;
  background-color: var(--toy-primary);
  border-radius: 2px;
}

.section-heading.text-center h2:after {
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

.section-heading p {
  font-weight: 400;
  color: var(--toy-gray);
  margin-top: 1rem;
}

/* Hero Banner Section */
.hero-banner-section {
  position: relative;
  overflow: hidden;
}

.hero-banner-img {
  height: 600px;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
}

@media (max-width: 991px) {
  .hero-banner-img {
    height: 450px;
  }
}
@media (max-width: 767px) {
  .hero-banner-img {
    height: 350px;
  }
}
.hero-content {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1));
}

.hero-content .banner-title {
  font-size: 3.5rem;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 991px) {
  .hero-content .banner-title {
    font-size: 2.5rem;
  }
}
@media (max-width: 767px) {
  .hero-content .banner-title {
    font-size: 2rem;
  }
  .hero-content {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1));
  }
}
.banner-text-container {
  max-width: 600px;
}

/* Swiper customizations */
.swiper-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.swiper-pagination {
  position: relative;
  margin-top: 1rem;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 50%;
  background-color: #ccc;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background-color: var(--toy-primary);
  opacity: 1;
  width: 12px;
  height: 12px;
}

.swiper-button-next,
.swiper-button-prev {
  background-color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  display: -ms-flexbox !important;
  display: flex !important;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: center;
      justify-content: center;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 18px;
  color: var(--toy-primary);
  font-weight: bold;
}

/* Feature Cards */
.feature-card {
  transition: all var(--animation-duration) ease;
  padding: 1.5rem;
  background-color: #fff;
  border-radius: 1rem;
  height: 100%;
  border: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  -webkit-transform: translateY(-10px);
          transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon-circle {
  width: 80px;
  height: 80px;
  transition: all var(--animation-duration) ease;
  margin: 0 auto 1.5rem;
}

.feature-card:hover .feature-icon-circle {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

/* Gender & Age Categories */
.gender-category-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: all var(--animation-duration) ease;
  height: 300px;
}

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

.gender-img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
}

.gender-category-card:hover .gender-img {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}

.gender-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  padding: 2rem;
}

.age-group-card {
  padding: 1.5rem;
  text-align: center;
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all var(--animation-duration) ease;
  border: 2px solid transparent;
}

.age-group-card:hover {
  -webkit-transform: translateY(-10px);
          transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--toy-primary);
}

.age-group-icon {
  width: 80px;
  height: 80px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 50%;
  transition: -webkit-transform var(--animation-duration) ease;
  transition: transform var(--animation-duration) ease;
  transition: transform var(--animation-duration) ease, -webkit-transform var(--animation-duration) ease;
}

.age-group-card:hover .age-group-icon {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

/* Category Cards */
.category-card {
  padding: 1.5rem;
  text-align: center;
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all var(--animation-duration) ease;
  border: 2px solid transparent;
}

.category-card:hover {
  -webkit-transform: translateY(-10px);
          transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--toy-primary);
}

.category-icon {
  max-width: 100%;
  height: 80px;
  -o-object-fit: contain;
     object-fit: contain;
  transition: -webkit-transform var(--animation-duration) ease;
  transition: transform var(--animation-duration) ease;
  transition: transform var(--animation-duration) ease, -webkit-transform var(--animation-duration) ease;
}

.category-card:hover .category-icon {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

/* Product Card Styling */
.product-card-wrapper {
  margin-bottom: 1.5rem;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.product-card {
  position: relative;
  border-radius: 1rem;
  background-color: #fff;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all var(--animation-duration) ease;
  border: 2px solid transparent;
}

.product-card:hover {
  -webkit-transform: translateY(-10px);
          transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--toy-primary);
}

.product-img-wrapper {
  position: relative;
  overflow: hidden;
  padding-top: 100%;
  background-color: #f9f9f9;
}

.product-img-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: center;
      justify-content: center;
  padding: 1rem;
}

.product-img {
  max-width: 90%;
  max-height: 90%;
  -o-object-fit: contain;
     object-fit: contain;
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
}

.product-card:hover .product-img {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

.product-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: center;
      justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.action-buttons {
  display: -ms-flexbox;
  display: flex;
  gap: 0.5rem;
  -webkit-transform: translateY(20px);
          transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
}

.product-card:hover .action-buttons {
  -webkit-transform: translateY(0);
          transform: translateY(0);
  opacity: 1;
}

.product-badge {
  position: absolute;
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
}

.discount-badge {
  top: 1rem;
  left: 1rem;
  background-color: var(--toy-primary);
  color: white;
}

.new-badge {
  top: 3.5rem;
  left: 1rem;
  background-color: var(--toy-green);
  color: white;
}

.stock-badge {
  bottom: 1rem;
  left: 1rem;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
}

.wishlist-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: white;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: center;
      justify-content: center;
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 2;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wishlist-btn:hover {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
  background-color: #fff0f0;
}

.product-info {
  padding: 1.25rem;
}

.product-category {
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

.product-category a {
  color: var(--toy-gray);
}

.product-category a:hover {
  color: var(--toy-primary);
}

.product-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  height: 2.8rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-title a {
  color: var(--toy-dark);
}

.product-title a:hover {
  color: var(--toy-primary);
}

.product-rating {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.stars {
  color: #ffc107;
}

.rating-count {
  font-size: 0.75rem;
  color: var(--toy-gray);
}

.product-price {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.current-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--toy-primary);
}

.old-price {
  font-size: 0.875rem;
  color: var(--toy-gray);
  text-decoration: line-through;
}

.mobile-actions {
  display: none;
}

/* Promo Banner */
.promo-banner {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.promo-banner-img {
  width: 100%;
  height: 400px;
  -o-object-fit: cover;
     object-fit: cover;
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
}

.promo-banner:hover .promo-banner-img {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}

.promo-content {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
}

@media (max-width: 768px) {
  .promo-content {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1));
  }
  .promo-banner-img {
    height: 300px;
  }
}
/* Flash Deals & Today's Best Deal */
.countdown-digit {
  background-color: var(--toy-primary);
  color: white;
  font-weight: 700;
  padding: 0.75rem 0.5rem;
  border-radius: 0.5rem;
  font-size: 1.5rem;
  min-width: 50px;
  text-align: center;
  box-shadow: 0 5px 10px rgba(var(--bs-primary-rgb), 0.3);
}

.countdown-text {
  font-size: 0.75rem;
  text-align: center;
  color: var(--toy-gray);
  margin-top: 0.5rem;
  font-weight: 500;
}

.product__save-amount {
  display: inline-block;
  background-color: #ff4d4d;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
}

.just-for-you {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 1rem;
}

.hover-zoom-in img {
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.hover-zoom-in:hover img {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

/* Newsletter Section */
.newsletter-section {
  background-image: linear-gradient(135deg, var(--toy-primary) 0%, #ff6e41 100%);
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,.075)' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.3;
}

.newsletter-input-group {
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-input-group .form-control {
  border: none;
  height: 50px;
  border-radius: 25px 0 0 25px;
  padding-left: 1.5rem;
  font-size: 1rem;
}

.newsletter-input-group .btn {
  border-radius: 0 25px 25px 0;
  background-color: var(--toy-dark);
  border-color: var(--toy-dark);
  height: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Mobile optimizations */
@media (max-width: 767px) {
  .product-hover-overlay {
    display: none;
  }
  .mobile-actions {
    display: block;
  }
  .product-card {
    padding-bottom: 0.75rem;
  }
  .product-title {
    font-size: 0.875rem;
    height: 2.5rem;
  }
  .current-price {
    font-size: 1rem;
  }
  .old-price {
    font-size: 0.75rem;
  }
  .countdown-digit {
    font-size: 1.25rem;
    padding: 0.5rem 0.25rem;
    min-width: 40px;
  }
  .countdown-text {
    font-size: 0.7rem;
  }
  .section-heading h2 {
    font-size: 1.5rem;
  }
  .section-heading p {
    font-size: 0.875rem;
  }
}
/* Tab navigation for recommended products */
.nav-nowrap {
  white-space: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
}

.nav--tabs {
  display: -ms-flexbox;
  display: flex;
  border-bottom: 2px solid #f0f0f0;
}

.nav--tabs button {
  background: none;
  border: none;
  color: var(--toy-gray);
  padding: 0.75rem 1rem;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

.nav--tabs button.active {
  color: var(--toy-primary);
  font-weight: 700;
}

.nav--tabs button.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--toy-primary);
  border-radius: 3px 3px 0 0;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Animation utilities */
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(10px);
            transform: translateY(10px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(10px);
            transform: translateY(10px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
.fade-in {
  -webkit-animation: fadeIn 0.5s ease forwards;
          animation: fadeIn 0.5s ease forwards;
}

@-webkit-keyframes pulse {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

@keyframes pulse {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
.pulse {
  -webkit-animation: pulse 2s infinite;
          animation: pulse 2s infinite;
}

/* Toast notifications */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1050;
}

.toast {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  max-width: 300px;
  -webkit-animation: fadeIn 0.3s ease;
          animation: fadeIn 0.3s ease;
}

.toast.bg-success {
  background-color: #30b875 !important;
}

.toast.bg-danger {
  background-color: #ff5a5a !important;
}

/* Auto column layouts */
.auto-col {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

@media (max-width: 576px) {
  .auto-col.mobile-items-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Navigation Action Buttons */
.nav-action {
  color: var(--toy-dark);
  text-decoration: none;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: center;
      justify-content: center;
  transition: all var(--animation-duration) ease;
  position: relative;
}

.nav-action:hover {
  color: var(--toy-primary);
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

.nav-action i {
  font-size: 1.25rem;
}

.nav-action .badge {
  font-size: 0.625rem;
  min-width: 18px;
  height: 18px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: center;
      justify-content: center;
  padding: 0;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: var(--toy-primary);
  color: white;
  border-radius: 50%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: center;
      justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  background-color: var(--toy-dark);
}

/* Brand styling - seasonal decorations */
.seasonal-element {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.confetti {
  width: 15px;
  height: 15px;
  background-color: var(--toy-secondary);
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  -webkit-animation: confettiFall 10s linear infinite;
          animation: confettiFall 10s linear infinite;
}

@-webkit-keyframes confettiFall {
  0% {
    -webkit-transform: translateY(-100px) rotate(45deg);
            transform: translateY(-100px) rotate(45deg);
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    -webkit-transform: translateY(100vh) rotate(405deg);
            transform: translateY(100vh) rotate(405deg);
    opacity: 0;
  }
}

@keyframes confettiFall {
  0% {
    -webkit-transform: translateY(-100px) rotate(45deg);
            transform: translateY(-100px) rotate(45deg);
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    -webkit-transform: translateY(100vh) rotate(405deg);
            transform: translateY(100vh) rotate(405deg);
    opacity: 0;
  }
}
.balloon {
  width: 30px;
  height: 35px;
  background-color: var(--toy-accent);
  border-radius: 50%;
  position: absolute;
  -webkit-animation: balloonFloat 15s ease-in-out infinite;
          animation: balloonFloat 15s ease-in-out infinite;
}

.balloon::before {
  content: "";
  position: absolute;
  width: 2px;
  height: 50px;
  background-color: #ddd;
  bottom: -50px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

@-webkit-keyframes balloonFloat {
  0%, 100% {
    -webkit-transform: translate(0, 0);
            transform: translate(0, 0);
  }
  50% {
    -webkit-transform: translate(50px, -30px);
            transform: translate(50px, -30px);
  }
}

@keyframes balloonFloat {
  0%, 100% {
    -webkit-transform: translate(0, 0);
            transform: translate(0, 0);
  }
  50% {
    -webkit-transform: translate(50px, -30px);
            transform: translate(50px, -30px);
  }
}
/* Interactive elements for toy shop theme */
.rainbow-text {
  background: linear-gradient(to right, var(--toy-primary), var(--toy-orange), var(--toy-secondary), var(--toy-green), var(--toy-accent), var(--toy-purple), var(--toy-pink));
  -webkit-background-clip: text;
  color: transparent;
  background-size: 500% 100%;
  -webkit-animation: rainbowText 10s linear infinite;
          animation: rainbowText 10s linear infinite;
}

@-webkit-keyframes rainbowText {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 500% 50%;
  }
}

@keyframes rainbowText {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 500% 50%;
  }
}
/* Special section styling */
.bright-bg {
  background-color: #fefcf7;
  position: relative;
  overflow: hidden;
}

.bright-bg:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f0f0f0' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.toy-pattern-bg {
  background-color: #f8fafe;
  position: relative;
  overflow: hidden;
}

.toy-pattern-bg:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e1ecff' fill-opacity='0.5'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
