/*
Theme Name: GGUsoft Template
Description: Plantilla profesional para GGUsoft con integración completa de WooCommerce, Sensei LMS y personalización avanzada
Version: 1.0
Author: GGUsoft
*/

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

/* Variables CSS para paletas de colores */
:root {
  --primary-color: #3a77c5;
  --secondary-color: #3cb878;
  --text-color: #333;
  --bg-color: #fff;
  --border-color: #e5e5e5;
  --hover-color: #2c5aa0;
}

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  padding-top: 80px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Espaciado principal del contenido */
.site-content {
  flex: 1;
  padding: 40px 0;
  min-height: calc(100vh - 160px);
}

/* Espaciado para páginas internas */
.page-content,
.post-content,
.woocommerce-content {
  padding: 60px 0;
}

/* Container principal */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  min-height: 80px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-color);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 16px;
}

.custom-logo {
  max-height: 40px;
  width: auto;
}

.logo-text h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-color);
  margin: 0;
}

.logo-text p,
.logo-tagline {
  font-size: 12px;
  color: #666;
  margin: 0;
  margin-top: -2px;
}

/* Navegación */
.main-navigation {
  display: flex;
  align-items: center;
}

.main-navigation .primary-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
  align-items: center;
}

.main-navigation .primary-menu li {
  position: relative;
}

.main-navigation .primary-menu a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  padding: 10px 0;
  display: block;
}

.main-navigation .primary-menu a:hover {
  color: var(--primary-color);
}

.main-navigation .primary-menu a::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.main-navigation .primary-menu a:hover::after {
  width: 100%;
}

/* Dropdown menus */
.main-navigation .primary-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 10px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.main-navigation .primary-menu li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-navigation .primary-menu .sub-menu a {
  padding: 10px 20px;
  border-bottom: none;
}

.main-navigation .primary-menu .sub-menu a:hover {
  background: #f8f9fa;
}

/* Menu Toggle Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  gap: 4px;
}

.menu-toggle-icon {
  width: 25px;
  height: 3px;
  background: var(--text-color);
  transition: all 0.3s ease;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.language-switcher select {
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 5px 10px;
  background: white;
  font-size: 14px;
}

.cart-link {
  position: relative;
  color: var(--text-color);
  text-decoration: none;
  padding: 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.cart-link:hover {
  background: #f8f9fa;
  color: var(--primary-color);
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--secondary-color);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
  font-family: inherit;
}

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

.btn-primary:hover {
  background: var(--hover-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(58, 119, 197, 0.3);
  color: white;
}

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

.btn-secondary:hover {
  background: #2ea85f;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(60, 184, 120, 0.3);
  color: white;
}

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

.btn-success:hover {
  background: #2ea85f;
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
}

/* Footer */
.site-footer {
  background: #1a1a1a;
  color: white;
  padding: 60px 0 30px;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
}

.footer-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: white;
}

/* Footer Company Section */
.footer-company .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-company .footer-logo-img {
  max-height: 40px;
  width: auto;
}

.footer-company .logo-text h3 {
  margin: 0;
  font-size: 1.5rem;
}

.footer-company .logo-tagline {
  font-size: 12px;
  color: #ccc;
  margin: 0;
}

.company-description {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 25px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #333;
  border-radius: 8px;
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* Footer Links */
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

/* Contact Info */
.contact-info {
  margin-bottom: 25px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: #ccc;
  font-size: 14px;
}

.contact-item svg {
  color: var(--secondary-color);
  flex-shrink: 0;
}

/* Newsletter */
.newsletter-section p {
  color: #ccc;
  font-size: 14px;
  margin-bottom: 15px;
}

.newsletter-form {
  display: flex;
  gap: 0;
  margin-top: 15px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 6px 0 0 6px;
  background: #333;
  color: white;
  font-size: 14px;
}

.newsletter-form input::placeholder {
  color: #999;
}

.newsletter-form input:focus {
  outline: none;
  background: #444;
}

.newsletter-form button {
  padding: 12px 16px;
  border-radius: 0 6px 6px 0;
  border: none;
  background: var(--secondary-color);
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: #2ea85f;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 30px;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  color: #999;
  font-size: 14px;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 25px;
}

.footer-bottom-links a {
  color: #999;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }

  .site-content {
    padding: 20px 0;
  }

  .site-footer {
    margin-top: 40px;
    padding: 40px 0 20px;
  }

  .header-content {
    padding: 10px 0;
    min-height: 70px;
  }

  .menu-toggle {
    display: flex;
  }

  .main-navigation .primary-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }

  .main-navigation.toggled .primary-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-navigation .primary-menu li {
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  .main-navigation .primary-menu li:last-child {
    border-bottom: none;
  }

  .main-navigation .primary-menu a {
    padding: 15px 0;
    width: 100%;
  }

  .main-navigation .primary-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: #f8f9fa;
    margin-top: 10px;
    border-radius: 6px;
  }

  .header-actions {
    gap: 10px;
  }

  .language-switcher {
    display: none;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .social-links {
    justify-content: center;
  }

  .newsletter-form {
    max-width: 300px;
    margin: 15px auto 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .header-content {
    flex-wrap: wrap;
    gap: 10px;
  }

  .header-actions {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }

  .btn {
    font-size: 12px;
    padding: 8px 16px;
  }

  .footer-bottom-links {
    flex-direction: column;
    gap: 10px;
  }
}

/* Formularios */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-color);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: white;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(58, 119, 197, 0.1);
}

.form-control::placeholder {
  color: #999;
}

/* Select personalizado */
select.form-control {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
  appearance: none;
}

/* Textarea */
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Checkbox y Radio */
.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.form-check-input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-color);
}

.form-check-label {
  font-weight: 400;
  margin: 0;
}

/* Estados de formulario */
.form-control.is-valid {
  border-color: #28a745;
}

.form-control.is-invalid {
  border-color: #dc3545;
}

.invalid-feedback {
  color: #dc3545;
  font-size: 12px;
  margin-top: 4px;
}

.valid-feedback {
  color: #28a745;
  font-size: 12px;
  margin-top: 4px;
}

/* Loading state */
.btn.loading {
  position: relative;
  color: transparent;
}

.btn.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  overflow: hidden;
  margin-bottom: 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Secciones principales */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-color);
}

.section-subtitle {
  font-size: 1.125rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* Cards */
.card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
  font-size: 24px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-color);
}

.card-text {
  color: #666;
  line-height: 1.6;
}

/* Grid system */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col {
  padding: 0 15px;
  flex: 1;
}

.col-md-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.col-md-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

.col-md-8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
}

/* WooCommerce Styles */
.woocommerce {
  padding: 40px 0;
}

.woocommerce .woocommerce-content {
  padding: 0;
}

/* WooCommerce Shop Page Styles */
.woocommerce .products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
  list-style: none;
  padding: 0;
}

.woocommerce .product,
.woocommerce ul.products li.product {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  position: relative;
  margin: 0;
  padding: 0;
  text-align: left;
}

.woocommerce .product:hover,
.woocommerce ul.products li.product:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.woocommerce .product .woocommerce-loop-product__link,
.woocommerce ul.products li.product .woocommerce-loop-product__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.woocommerce .product img,
.woocommerce ul.products li.product img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 0;
}

.woocommerce .product:hover img,
.woocommerce ul.products li.product:hover img {
  transform: scale(1.05);
}

.woocommerce .product .product-info,
.woocommerce ul.products li.product .product-info {
  padding: 20px;
}

.woocommerce .product h2,
.woocommerce .product h3,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 10px 0;
  color: var(--text-color);
  line-height: 1.4;
}

.woocommerce .product h2 a,
.woocommerce .product h3 a,
.woocommerce ul.products li.product h2 a,
.woocommerce ul.products li.product h3 a,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.woocommerce .product:hover h2 a,
.woocommerce .product:hover h3 a,
.woocommerce ul.products li.product:hover h2 a,
.woocommerce ul.products li.product:hover h3 a,
.woocommerce ul.products li.product:hover .woocommerce-loop-product__title {
  color: var(--primary-color);
}

.woocommerce .product .price,
.woocommerce ul.products li.product .price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 10px 0 15px 0;
  display: block;
}

.woocommerce .product .price del,
.woocommerce ul.products li.product .price del {
  color: #999;
  font-weight: 400;
  margin-right: 8px;
}

.woocommerce .product .price ins,
.woocommerce ul.products li.product .price ins {
  text-decoration: none;
  color: var(--primary-color);
}

.woocommerce .add_to_cart_button,
.woocommerce .product_type_simple,
.woocommerce .product_type_variable,
.woocommerce .single_add_to_cart_button,
.woocommerce .button {
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  width: 100%;
}

.woocommerce .add_to_cart_button:hover,
.woocommerce .product_type_simple:hover,
.woocommerce .product_type_variable:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce .button:hover {
  background: var(--hover-color);
  color: white;
  transform: translateY(-2px);
  text-decoration: none;
}

.woocommerce .add_to_cart_button.loading,
.woocommerce .single_add_to_cart_button.loading {
  opacity: 0.7;
  cursor: not-allowed;
}

/* WooCommerce Sale Badge */
.woocommerce .onsale {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #e74c3c;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
  line-height: 1;
  min-height: auto;
  min-width: auto;
}

/* WooCommerce Star Rating */
.woocommerce .star-rating {
  color: #ffc107;
  font-size: 14px;
  margin-bottom: 10px;
}

.woocommerce .star-rating::before {
  color: #e0e0e0;
}

/* WooCommerce Results Count and Ordering */
.woocommerce .woocommerce-result-count {
  margin-bottom: 20px;
  color: #666;
  font-size: 14px;
}

.woocommerce .woocommerce-ordering {
  margin-bottom: 30px;
}

.woocommerce .woocommerce-ordering select {
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: white;
  font-size: 14px;
}

/* WooCommerce Pagination */
.woocommerce nav.woocommerce-pagination {
  margin-top: 40px;
  text-align: center;
}

.woocommerce nav.woocommerce-pagination ul {
  display: inline-flex;
  gap: 5px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
  margin: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: block;
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* WooCommerce Single Product */
.woocommerce div.product {
  margin-bottom: 40px;
}

.woocommerce div.product .product_title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-color);
}

.woocommerce div.product p.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  margin-bottom: 30px;
  color: #666;
  line-height: 1.6;
}

/* Blog Styles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 25px;
}

.blog-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-color);
}

.blog-card .excerpt {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: #999;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

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

  .col-md-4,
  .col-md-6,
  .col-md-8 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 30px;
  }

  .section {
    padding: 40px 0;
  }

  .woocommerce .products {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .woocommerce .products {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* Utilidades */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: 10px;
}
.mb-2 {
  margin-bottom: 20px;
}
.mb-3 {
  margin-bottom: 30px;
}
.mb-4 {
  margin-bottom: 40px;
}
.mb-5 {
  margin-bottom: 50px;
}

.mt-0 {
  margin-top: 0;
}
.mt-1 {
  margin-top: 10px;
}
.mt-2 {
  margin-top: 20px;
}
.mt-3 {
  margin-top: 30px;
}
.mt-4 {
  margin-top: 40px;
}
.mt-5 {
  margin-top: 50px;
}

.p-0 {
  padding: 0;
}
.p-1 {
  padding: 10px;
}
.p-2 {
  padding: 20px;
}
.p-3 {
  padding: 30px;
}
.p-4 {
  padding: 40px;
}
.p-5 {
  padding: 50px;
}

.d-none {
  display: none;
}
.d-block {
  display: block;
}
.d-flex {
  display: flex;
}
.d-grid {
  display: grid;
}

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

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

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

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

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--hover-color);
}

/* Accesibilidad */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus styles */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .site-header,
  .site-footer,
  .btn,
  .form-control {
    display: none;
  }

  body {
    padding-top: 0;
    font-size: 12pt;
    line-height: 1.4;
  }

  .section {
    padding: 20px 0;
  }
}
