/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Import Google Fonts for Vietnamese support */
@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;

/* Override default fonts with Vietnamese-friendly fonts */
@layer base {
  html, body {
    font-family: 'Lexend Deca', 'Inter', sans-serif;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif !important;
  }
  
  .font-serif {
    font-family: 'Playfair Display', serif;
  }
}

/* Remove underline effects */
a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.underline {
  text-decoration: none;
}

/* Custom animations */
@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  10% {
    opacity: 1;
    transform: translateY(0);
  }
  90% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-20px);
  }
}

.animate-fade-in-out {
  animation: fadeInOut 3s ease-in-out forwards;
}

/* ========== BREADCRUMB STYLES ========== */
.breadcrumb-nav {
  padding: 0;
  margin: 0;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #6b7c59;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.breadcrumb-link {
  color: #3b82f6;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  margin: -0.25rem -0.5rem;
  border-radius: 4px;
}

.breadcrumb-link:hover {
  background-color: rgba(151, 188, 248, 0.1);
  text-decoration: none;
}

.breadcrumb-link:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.breadcrumb-current {
  color: #374151;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  margin: -0.25rem -0.5rem;
}

.breadcrumb-separator {
  color: #d1d5db;
  margin: 0 0.25rem;
  font-weight: 300;
  user-select: none;
}

/* Responsive breadcrumb */
@media (max-width: 640px) {
  .breadcrumb-list {
    font-size: 0.75rem;
    gap: 0.125rem;
  }

  .breadcrumb-link,
  .breadcrumb-current {
    padding: 0.125rem 0.25rem;
    margin: -0.125rem -0.25rem;
  }

  .breadcrumb-separator {
    margin: 0 0.125rem;
  }
}

#product-hero .breadcrumb-nav {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

/* ActionText styles */
/* @import "actiontext.css"; */