:root {
  --primary: #0d0d0d; /* Negro */
  --secondary: #E5232E; /* Rojo */
  --tertiary: #1a56db; /* Azul */
  --accent: #E5232E; /*#d4af37; /* Dorado */
  --whipri: #ffffff;
}

@font-face {
  font-family: 'Prettywise';
  src: url('/fonts/pretty/prettywise.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'Montserrat';
  font-size: 16px;
  line-height: 1.6;  
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Prettywise', sans-serif;
  font-weight: bold;
  line-height: 1.2;
}

/* Escala tipográfica */
h1 { font-size: 3rem; }   /* 48px */
h2 { font-size: 2.25rem;} /* 36px */
h3 { font-size: 1.75rem;} /* 28px */
h4 { font-size: 1.5rem; } /* 24px */
h5 { font-size: 1.25rem;} /* 20px */
h6 { font-size: 1rem;   } /* 16px */

/* Texto general */
p, li, span {
  font-family: 'Montserrat';
  font-size: 1rem;
  font-weight: 400;
}

/* Texto pequeño */
small, .note, .meta {
  font-size: 0.875rem; /* 14px */
}

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

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

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

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

.text-primary {
  color: var(--primary) !important;
}

.text-secondary {
  color: var(--secondary) !important;
}

.text-tertiary {
  color: var(--tertiary) !important;
}

.text-accent {
  color: var(--accent) !important;
}

.border-accent {
  border-color: var(--accent) !important;
}

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

.btn-primary:hover {
  background-color: #1a1a1a;
  border-color: #1a1a1a;
}

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

.btn-secondary:hover {
  background-color: #c00424;
  border-color: #c00424;
}

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

.btn-outline-accent:hover {
  background-color: var(--accent);
  color: var(--whipri);
}

.text-decoration-none {
  text-decoration: none !important;
}

.hero-section {
  /* background: linear-gradient(rgba(13, 13, 13, 0.8), rgba(13, 13, 13, 0.8)), 
              url('https://images.unsplash.com/photo-1540747913346-19e32dc3e97e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1200&q=80'); */
  background-size: cover;
  background-position: center !important;
  background-repeat: no-repeat !important;
  /* min-height: 500px; */
}

.navbar {
  border-bottom: 2px solid var(--accent);
}

.nav-link {
  position: relative;
}

.nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
}

.dropdown-item:hover {
  background-color: var(--accent);
  color: #ffffff !important;
}

.category-card, .product-card {
  transition: all 0.3s ease;
  border: none;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.category-card:hover, .product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.category-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.category-card:hover::before {
  width: 100%;
}

.category-banner {
  background: linear-gradient(rgba(13, 13, 13, 0.8), rgba(13, 13, 13, 0.8)), 
              url('https://images.unsplash.com/photo-1540747913346-19e32dc3e97e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1200&q=80');
  background-size: cover;
  background-position: center;
  min-height: 300px;
}

.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 10px;
  font-weight: bold;
}

.testimonial-card {
  border-left: 3px solid var(--accent);
}

.footer {
  border-top: 3px solid var(--accent);
}

.footer-link {
  position: relative;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

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

.special-offer {
  border: 2px solid var(--accent);
}

.cart-sidebar {
  width: 100%;
  max-width: 400px;
}

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

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

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

.zoom-image:hover {
  transform: scale(1.05);
}

.product-tab {
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.product-tab.active {
  border-bottom-color: #d4af37;
  color: #0d6efd;
}

.product-tab:hover:not(.active) {
  border-bottom-color: #d4af37;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content.show {
  max-height: 500px;
}

.color-option {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
}

.color-option.active {
  border: 3px solid #0d6efd;
}

.quantity-input {
  width: 50px;
  text-align: center;
}

.filter-card {
  border: 1px solid rgba(0,0,0,0.1);
}

.filter-header {
  background-color: var(--primary);
  color: white;
}

.form-check-input:checked {
  background-color: var(--tertiary);
  border-color: var(--tertiary);
}

.breadcrumb-item+.breadcrumb-item::before {
  content: ">";
  color: var(--accent);
}

.pagination .page-item.active .page-link {
  background-color: var(--tertiary);
  border-color: var(--tertiary);
}

.pagination .page-link {
  color: var(--primary);
}

.sort-dropdown .dropdown-item.active {
  background-color: var(--tertiary);
}

@media (min-width: 768px) {
  .hero-section {
    min-height: 100vh;
  }
  .category-banner {
    min-height: 400px;
  }
}