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

:root {
  --primary: #d2c1b6;
  --primary-dark: #b8a599;
  --bg-dark: #0f172a;
  --bg-card: #1e293b;
  --text-light: #e2e8f0;
}

body {
  font-family: "Inter", sans-serif;
  scroll-behavior: smooth;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.font-display {
  font-family: "Playfair Display", serif;
}

/* Enhanced Header Animations */
.header-scrolled {
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.logo-emoji {
  display: inline-block;
  animation: sparkle 3s ease-in-out infinite;
  color: initial !important;
  filter: none !important;
}

/* Preserve emoji colors globally */
.emoji,
[class*="emoji"],
.logo-emoji {
  color: initial !important;
  filter: none !important;
  text-shadow: none !important;
}

/* Class for text that should preserve emoji colors */
.text-with-emoji {
  color: white;
}

.text-with-emoji::before,
.text-with-emoji::after {
  color: initial !important;
}

/* Force emoji colors by using CSS custom properties */
:root {
  --emoji-color: initial;
}

/* Override text color for elements containing emojis */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: white;
  -webkit-text-fill-color: white;
}

/* But preserve emoji colors using font-variant-emoji */
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
div {
  font-variant-emoji: emoji;
}

@keyframes sparkle {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  25% {
    transform: scale(1.15) rotate(8deg);
  }
  50% {
    transform: scale(1) rotate(0deg);
  }
  75% {
    transform: scale(1.15) rotate(-8deg);
  }
}

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

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

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

.cart-icon {
  position: relative;
  transition: all 0.3s ease;
}

.cart-icon:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px rgba(210, 193, 182, 0.5));
}

.cart-icon.pulse {
  animation: cartPulse 0.5s ease;
}

@keyframes cartPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1);
  }
}

#cart-badge {
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(210, 193, 182, 0.6);
}

#cart-badge.added {
  animation: badgeBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes badgeBounce {
  0%,
  20%,
  60%,
  100% {
    transform: translateY(0) scale(1);
  }
  40% {
    transform: translateY(-12px) scale(1.2);
  }
  80% {
    transform: translateY(-6px) scale(1.1);
  }
}

#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 0;
}

#mobile-menu.open {
  max-height: 500px;
  opacity: 1;
}

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

.mobile-menu-btn.open {
  transform: rotate(90deg);
}

.nav-link.active {
  color: white;
}

.nav-link.active::after {
  width: 100%;
}

.cart-preview {
  position: absolute;
  top: 100%;
  right: 0;
  width: 340px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
  border: 1px solid rgba(210, 193, 182, 0.2);
}

.cart-icon:hover .cart-preview {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cart-preview-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-preview-item:last-child {
  border-bottom: none;
}

/* Enhanced Hero Section */
.hero-carousel {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-carousel {
    min-height: 92vh;
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.05);
}

.hero-slide.active {
  opacity: 1;
  animation: zoomOut 20s ease-in-out infinite;
}

@keyframes zoomOut {
  0% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.75) 0%,
    rgba(30, 41, 59, 0.65) 50%,
    rgba(15, 23, 42, 0.75) 100%
  );
  z-index: 1;
}

.hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    transparent 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
}

.hero-nav-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}

@media (min-width: 768px) {
  .hero-nav-btn {
    width: 14px;
    height: 14px;
  }
}

.hero-nav-btn::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.3s ease;
}

.hero-nav-btn:hover::before {
  background: rgba(210, 193, 182, 0.2);
}

.hero-nav-btn.active,
.hero-nav-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(210, 193, 182, 0.6);
  transform: scale(1.2);
}

.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  animation: float 3s ease-in-out infinite;
}

@media (min-width: 768px) {
  .floating-whatsapp {
    bottom: 32px;
    right: 32px;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-8px) rotate(2deg);
  }
  50% {
    transform: translateY(-12px) rotate(0deg);
  }
  75% {
    transform: translateY(-8px) rotate(-2deg);
  }
}

.floating-whatsapp:hover {
  animation: none;
  transform: scale(1.1) rotate(5deg);
}

/* Enhanced Product Cards */
.card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.03) 100%
  );
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  cursor: pointer;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.card:hover::before {
  transform: translateX(100%);
}

.card:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.06) 100%
  );
  border-color: rgba(210, 193, 182, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.card:active {
  transform: scale(0.98);
  transition: transform 0.1s ease;
}

/* Card hover effect removed - only image animates on hover */

.card .foto {
  box-shadow: none;
  border: none;
  border-radius: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
}

.card .foto::before {
  display: none;
}

@media (min-width: 768px) {
  .card:hover .foto {
    box-shadow: none;
    border: none;
    border-radius: 0;
  }

  .card:hover .foto::before {
    opacity: 0;
  }
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Enhanced Category Pills */
.category-pill {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: #e2e8f0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(210, 193, 182, 0.2);
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.category-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(210, 193, 182, 0.1) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

@media (min-width: 640px) {
  .category-pill {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
  }
}

.category-pill:hover::before {
  opacity: 1;
}

.category-pill:hover,
.category-pill.active {
  background: linear-gradient(135deg, var(--primary) 0%, #b8a599 100%);
  color: #0f172a;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 30px rgba(210, 193, 182, 0.4);
  border-color: var(--primary);
}

/* Enhanced Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
  .fade-in {
    transform: translateY(40px);
  }
}

.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced About Cards */
.about-card {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(210, 193, 182, 0.2);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #e2c9b8);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

@media (min-width: 768px) {
  .about-card:hover {
    transform: translateY(-12px) scale(1.02);
    background: linear-gradient(135deg, #334155 0%, #475569 100%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(210, 193, 182, 0.4);
  }

  .about-card:hover::before {
    transform: scaleX(1);
  }
}

.about-card .icon-circle {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
  .about-card:hover .icon-circle {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  }
}

/* Enhanced Buttons */
.btn-primary {
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  border-radius: 0.875rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(210, 193, 182, 0.2);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(210, 193, 182, 0.3);
}

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

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(210, 193, 182, 0.2);
}

@media (min-width: 640px) {
  .btn-primary {
    padding: 1.125rem 2.25rem;
    font-size: 1.0625rem;
    border-radius: 1rem;
  }
}

/* Enhanced Typography */
.hero-title {
  font-size: 2.25rem;
  line-height: 1.15;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  letter-spacing: -0.02em;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.section-title {
  font-size: 2rem;
  line-height: 1.2;
  background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.75rem;
  }
}

/* Enhanced Spacing */
.section-padding {
  padding: 3.5rem 0;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 6rem 0;
  }
}

/* Enhanced Horizontal Scroll */
.scroll-container {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) rgba(255, 255, 255, 0.1);
  padding: 0.5rem 0;
}

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

.scroll-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.scroll-container::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--primary), #e2c9b8);
  border-radius: 4px;
}

.scroll-container::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #e2c9b8, var(--primary));
}

.scroll-row {
  display: flex;
  gap: 1.25rem;
  padding: 0.75rem 0;
  min-width: max-content;
}

@media (min-width: 640px) {
  .scroll-row {
    gap: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .scroll-row {
    gap: 2.25rem;
  }
}

.scroll-item {
  flex-shrink: 0;
  width: 290px;
}

@media (min-width: 640px) {
  .scroll-item {
    width: 330px;
  }
}

@media (min-width: 1024px) {
  .scroll-item {
    width: 360px;
  }
}

/* Glassmorphism Effect */
.glass-effect {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Glow Effects */
.glow-text {
  text-shadow: 0 0 20px rgba(210, 193, 182, 0.5);
}

.glow-box {
  box-shadow: 0 0 30px rgba(210, 193, 182, 0.2);
}

/* Enhanced Footer */
footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-top: 1px solid rgba(210, 193, 182, 0.2);
}

/* Enhanced Hero Section for other pages */
.hero-section {
  background: linear-gradient(
      135deg,
      rgba(15, 23, 42, 0.85) 0%,
      rgba(30, 41, 59, 0.85) 100%
    ),
    url("assets/images/hero/1.png");
  background-size: cover;
  background-position: center;
  min-height: 50vh;
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    transparent 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
}

@media (min-width: 768px) {
  .hero-section {
    background-attachment: fixed;
    min-height: 60vh;
  }
}

/* Enhanced Grid */
.mobile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .mobile-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .mobile-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

@media (min-width: 1280px) {
  .mobile-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Enhanced Feature Cards */
.feature-card {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(210, 193, 182, 0.2);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #e2c9b8);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

@media (min-width: 768px) {
  .feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    background: linear-gradient(135deg, #334155 0%, #475569 100%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(210, 193, 182, 0.4);
  }

  .feature-card:hover::before {
    transform: scaleX(1);
  }
}

.feature-card .icon-circle {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
  .feature-card:hover .icon-circle {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  }
}

/* Grid Animation */
.grid-item {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

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

/* Stagger animation for grid items */
.grid-item:nth-child(1) {
  animation-delay: 0.1s;
}
.grid-item:nth-child(2) {
  animation-delay: 0.2s;
}
.grid-item:nth-child(3) {
  animation-delay: 0.3s;
}
.grid-item:nth-child(4) {
  animation-delay: 0.4s;
}
.grid-item:nth-child(5) {
  animation-delay: 0.5s;
}
.grid-item:nth-child(6) {
  animation-delay: 0.6s;
}
.grid-item:nth-child(7) {
  animation-delay: 0.7s;
}
.grid-item:nth-child(8) {
  animation-delay: 0.8s;
}

/* Checkout Page Specific Styles */
.checkout-card {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border: 1px solid rgba(210, 193, 182, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.checkout-card:hover {
  border-color: rgba(210, 193, 182, 0.4);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Enhanced Form Inputs */
.form-input {
  background: rgba(15, 23, 42, 0.6);
  border: 2px solid rgba(210, 193, 182, 0.2);
  transition: all 0.3s ease;
}

.form-input:focus {
  background: rgba(15, 23, 42, 0.8);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(210, 193, 182, 0.1);
  outline: none;
}

.form-input::placeholder {
  color: rgba(226, 232, 240, 0.4);
}

/* Cart Item Card */
.cart-item {
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.6) 0%,
    rgba(30, 41, 59, 0.6) 100%
  );
  border: 1px solid rgba(210, 193, 182, 0.15);
  transition: all 0.3s ease;
}

.cart-item:hover {
  border-color: rgba(210, 193, 182, 0.3);
  transform: translateX(4px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.4);
}

/* Empty Cart Animation */
.empty-cart-icon {
  animation: float 3s ease-in-out infinite;
}

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

/* Order Summary Sticky */
.sticky-summary {
  position: sticky;
  top: 100px;
}

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

/* Loading Spinner */
.spinner {
  animation: spin 1s linear infinite;
}

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

/* Enhanced Loading States */
.loading-skeleton {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.1) 25%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.1) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

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

/* Product Card Enhancements */
.add-to-cart {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  pointer-events: auto;
}

.add-to-cart::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.add-to-cart:active::after {
  width: 300px;
  height: 300px;
}

/* Improved Notifications */
.notification {
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.notification.success {
  background: linear-gradient(
    135deg,
    rgba(34, 197, 94, 0.9) 0%,
    rgba(21, 128, 61, 0.9) 100%
  );
}

.notification.error {
  background: linear-gradient(
    135deg,
    rgba(239, 68, 68, 0.9) 0%,
    rgba(185, 28, 28, 0.9) 100%
  );
}

/* Enhanced Cart Badge Animation */
@keyframes cartBounce {
  0%,
  20%,
  60%,
  100% {
    transform: translateY(0) scale(1);
  }
  40% {
    transform: translateY(-8px) scale(1.2);
    box-shadow: 0 8px 20px rgba(210, 193, 182, 0.4);
  }
  80% {
    transform: translateY(-4px) scale(1.1);
  }
}

#cart-badge.added {
  animation: cartBounce 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Ensure cart badge is visible when it has content */
#cart-badge:not(.hidden) {
  display: flex !important;
}

/* Cart icon improvements */
.cart-icon {
  position: relative;
  z-index: 10;
}

.cart-icon:hover {
  transform: scale(1.05);
}

/* Product card improvements */
.card .add-to-cart:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.card .add-to-cart:disabled:hover {
  transform: none;
  box-shadow: 0 4px 15px rgba(210, 193, 182, 0.2);
}

/* Remove borders from product images */
.card .foto,
.card .foto img,
.card img.foto {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.card .foto img {
  border-radius: 0;
}

/* Improved Mobile Responsiveness */
@media (max-width: 640px) {
  .card {
    padding: 16px;
    border-radius: 16px;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .btn-primary {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }
}
/* Enhanced Hero Sections with Background Images */
.hero-section {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-section {
    min-height: 70vh;
  }
}

.hero-section img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transition: transform 20s ease-in-out;
}

.hero-section:hover img {
  transform: scale(1.05);
}

/* Enhanced overlay gradients for better text readability */
.hero-section .absolute.inset-0 {
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 10;
}

/* Enhanced text shadows for better visibility */
.hero-section .hero-title {
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.8),
    0 4px 8px rgba(0, 0, 0, 0.6),
    0 8px 16px rgba(0, 0, 0, 0.4);
  font-weight: 800;
}

.hero-section p {
  text-shadow: 
    0 1px 2px rgba(0, 0, 0, 0.8),
    0 2px 4px rgba(0, 0, 0, 0.6);
  font-weight: 500;
}

/* Parallax effect for hero backgrounds */
@media (min-width: 1024px) {
  .hero-section {
    background-attachment: fixed;
  }
}

/* Enhanced gradient overlays */
.hero-section .bg-gradient-to-r {
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.85) 0%,
    rgba(30, 41, 59, 0.75) 25%,
    rgba(15, 23, 42, 0.65) 50%,
    rgba(30, 41, 59, 0.75) 75%,
    rgba(15, 23, 42, 0.85) 100%
  );
}

.hero-section .bg-gradient-to-b {
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.1) 25%,
    rgba(0, 0, 0, 0.3) 75%,
    rgba(15, 23, 42, 0.6) 100%
  );
}

/* Animation for hero content */
.hero-section .fade-in {
  animation: heroFadeIn 1.2s ease-out forwards;
}

@keyframes heroFadeIn {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Enhanced glow effect for hero text */
.hero-section .glow-text {
  text-shadow: 
    0 0 10px rgba(210, 193, 182, 0.3),
    0 0 20px rgba(210, 193, 182, 0.2),
    0 0 30px rgba(210, 193, 182, 0.1),
    0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Responsive adjustments for hero sections */
@media (max-width: 768px) {
  .hero-section {
    min-height: 50vh;
    padding: 4rem 0;
  }
  
  .hero-section .hero-title {
    font-size: 2.5rem;
    line-height: 1.1;
  }
  
  .hero-section p {
    font-size: 1rem;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .hero-section {
    min-height: 40vh;
    padding: 3rem 0;
  }
  
  .hero-section .hero-title {
    font-size: 2rem;
  }
  
  .hero-section p {
    font-size: 0.9rem;
  }
}/* 
Hero Image Loading Animation */
.hero-section img {
  animation: heroImageLoad 1.5s ease-out forwards;
  transform: scale(1.1);
  opacity: 0;
}

@keyframes heroImageLoad {
  0% {
    opacity: 0;
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Enhanced hover effects for hero sections */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    transparent 0%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.2) 100%
  );
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-section:hover::before {
  opacity: 1;
}

/* Improved text contrast on hero sections */
.hero-section .max-w-3xl {
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(2px);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .hero-section .max-w-3xl {
    padding: 1.5rem;
    margin: 0 1rem;
  }
}
.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(210, 193, 182, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(210, 193, 182, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  z-index: 3;
  pointer-events: none;
  animation: patternFloat 20s ease-in-out infinite;
}

@keyframes patternFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.5;
  }
  25% {
    transform: translateY(-10px) rotate(1deg);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-5px) rotate(-0.5deg);
    opacity: 0.6;
  }
  75% {
    transform: translateY(-15px) rotate(0.5deg);
    opacity: 0.8;
  }
}

/* Ensure content stays above pattern */
.hero-section .container {
  z-index: 10;
  position: relative;
}