
    /* Sistema de Diseño Premium - Blog MEDALLO Jeans */
    :root {
      /* Paleta de Colores Premium */
      --denim-dark: #0f172a;          /* Azul denim oscuro */
      --denim-medium: #1e293b;        /* Azul denim medio */
      --gold-primary: #f59e0b;        /* Oro principal */
      --gold-secondary: #fbbf24;      /* Oro secundario */
      --rose-accent: #ec4899;         /* Rosa acento */
      --light-bg: #f8fafc;            /* Fondo claro */
      --pure-white: #ffffff;          /* Blanco puro */
      --text-dark: #1e293b;           /* Texto oscuro */
      --text-medium: #64748b;         /* Texto medio */
      --text-light: #94a3b8;          /* Texto claro */
      --redcol: #CE1126;              /* Rojo característico */
      
      /* Efectos y Sombras */
      --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.4);
      --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -1px rgba(15, 23, 42, 0.06);
      --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.1);
      --shadow-xl: 0 20px 50px -12px rgba(15, 23, 42, 0.25);
      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 16px;
      --radius-xl: 24px;
      --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      
      /* Tipografía */
      --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
      --font-heading: 'Playfair Display', serif;
      --font-accent: 'Rye', cursive;
    }

    /* Reset Moderno */
    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: 100px;
    }

    body {
      font-family: var(--font-main);
      line-height: 1.6;
      color: var(--text-dark);
      background-color: var(--pure-white);
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    /* Header Premium */
    header {
      background: linear-gradient(90deg, var(--redcol) 50%, var(--denim-dark) 50%);
      box-shadow: var(--shadow-xl);
      position: sticky;
      top: 0;
      z-index: 1000;
      border-bottom: 1px solid rgba(245, 158, 11, 0.7);
    }

    .header-content {
      max-width: 1440px;
      margin: 0 auto;
      padding: 15px 40px;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .logo {
      display: flex;
      align-items: center;
      text-decoration: none;
      transition: var(--transition);
    }

    .logo:hover {
      transform: translateY(-2px);
    }

    .logo-text {
      font-family: var(--font-accent);
      font-size: 2.2rem;
      color: var(--pure-white);
      margin: 0;
      letter-spacing: 1px;
      font-weight: 400;
    }

    .logo-text span {
      color: var(--gold-primary);
      font-weight: 400;
      font-style: italic;
      margin-left: 8px;
    }

    /* Contenedor Principal del Artículo */
    .article-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 60px 20px 120px;
    }

    .article-header {
      text-align: center;
      margin-bottom: 60px;
      padding-bottom: 30px;
      border-bottom: 2px solid var(--gold-primary);
    }

    .article-title {
      font-family: var(--font-accent);
      font-size: 2.8rem;
      color: var(--denim-dark);
      margin-bottom: 15px;
      line-height: 1.2;
    }

    .article-meta {
      color: var(--text-medium);
      font-size: 1.1rem;
      margin-bottom: 30px;
      display: flex;
      justify-content: center;
      gap: 20px;
    }

    .article-meta i {
      margin-right: 5px;
      color: var(--gold-primary);
    }

    .featured-image {
      width: 100%;
      max-height: 500px;
      object-fit: cover;
      border-radius: var(--radius-md);
      margin: 30px 0;
      box-shadow: var(--shadow-lg);
    }

    /* Contenido del Artículo */
    .content-section {
      margin: 50px 0;
    }

    h2 {
      font-family: var(--font-accent);
      color: var(--rose-dark);
      font-size: 2.2rem;
      margin: 60px 0 30px;
      position: relative;
      padding-bottom: 15px;
    }

    h2::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 80px;
      height: 4px;
      background: linear-gradient(90deg, var(--gold-primary), var(--rose-accent));
    }

    h3 {
      font-family: var(--font-main);
      color: var(--denim-dark);
      font-size: 1.6rem;
      margin: 40px 0 20px;
      font-weight: 600;
    }

    p {
      margin-bottom: 25px;
      font-size: 1.1rem;
      line-height: 1.8;
    }

    ul, ol {
      margin: 0 0 25px 30px;
    }

    li {
      margin-bottom: 12px;
      position: relative;
      padding-left: 25px;
    }

    li::before {
      content: "✓";
      color: var(--gold-primary);
      position: absolute;
      left: 0;
      font-weight: bold;
    }

    /* Componentes Especiales */
    .highlight-box {
      background: var(--light-bg);
      border-left: 4px solid var(--gold-primary);
      padding: 25px;
      margin: 40px 0;
      border-radius: 0 var(--radius-md) var(--radius-md) 0;
      box-shadow: var(--shadow-sm);
    }

    .comparison-table {
      width: 100%;
      border-collapse: collapse;
      margin: 40px 0;
      box-shadow: var(--shadow-md);
      border-radius: var(--radius-md);
      overflow: hidden;
    }

    .comparison-table th {
      background: linear-gradient(90deg, var(--denim-dark), var(--denim-medium));
      color: var(--pure-white);
      padding: 16px;
      text-align: left;
      font-weight: 600;
    }

    .comparison-table td {
      padding: 16px;
      border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    }

    .comparison-table tr:nth-child(even) {
      background-color: var(--light-bg);
    }

    .product-card {
      background: var(--pure-white);
      border-radius: var(--radius-md);
      padding: 25px;
      margin: 30px 0;
      box-shadow: var(--shadow-sm);
      border: 1px solid rgba(15, 23, 42, 0.05);
      transition: var(--transition);
    }

    .product-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-lg);
    }

    .testimonial {
      font-style: italic;
      background: var(--light-bg);
      padding: 30px;
      border-radius: var(--radius-md);
      position: relative;
      margin: 40px 0;
      border-left: 4px solid var(--rose-accent);
    }

    .testimonial::before {
      content: """;
      font-size: 5rem;
      color: var(--gold-primary);
      position: absolute;
      top: -25px;
      left: 15px;
      opacity: 0.2;
    }

    .testimonial-author {
      font-weight: bold;
      text-align: right;
      margin-top: 20px;
      color: var(--denim-dark);
      font-style: normal;
    }

    /* CTA */
    .cta-section {
      text-align: center;
      background: linear-gradient(135deg, var(--denim-dark), #1e293b);
      color: var(--pure-white);
      padding: 50px;
      border-radius: var(--radius-md);
      margin: 60px 0;
    }

    .cta-title {
      font-family: var(--font-accent);
      font-size: 2.2rem;
      margin-bottom: 20px;
      text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    }

    .btn {
      background: linear-gradient(90deg, var(--gold-primary), var(--gold-secondary));
      color: var(--denim-dark);
      padding: 15px 35px;
      border-radius: var(--radius-lg);
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
      display: inline-block;
      transition: var(--transition);
      border: none;
      cursor: pointer;
      text-decoration: none;
      font-size: 1rem;
      margin-top: 20px;
      box-shadow: var(--shadow-md);
    }

    .btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
    }

    /* Sidebar */
    .blog-sidebar {
      background: var(--light-bg);
      border-radius: var(--radius-md);
      padding: 30px;
      margin: 60px 0;
      box-shadow: var(--shadow-sm);
    }

    .related-posts h3 {
      font-family: var(--font-accent);
      font-size: 1.8rem;
      color: var(--denim-dark);
      margin-bottom: 20px;
      padding-bottom: 10px;
      border-bottom: 2px solid var(--gold-primary);
    }

    .related-posts ul {
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .related-posts li {
      margin-bottom: 15px;
      padding: 0;
    }

    .related-posts li::before {
      content: "→";
      color: var(--rose-accent);
      position: absolute;
      left: 0;
    }

    .related-posts a {
      color: var(--denim-dark);
      text-decoration: none;
      font-weight: 500;
      transition: var(--transition);
      padding-left: 25px;
      display: block;
    }

    .related-posts a:hover {
      color: var(--rose-accent);
      padding-left: 30px;
    }

    /* Barra de navegación móvil */
  /* Seguro global anti-scroll lateral */
html, body { overflow-x: hidden; }

/* Barra inferior sin overflow lateral */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0; 
  right: 0;          /* en vez de width:100% */
  max-width: 100vw;  /* nunca más ancha que la ventana */
  box-sizing: border-box;
  background: var(--pure-white);
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 10px 0;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
}
.mobile-bottom-nav a {
  flex: initial;
  text-align: center;
  text-decoration: none;
  color: var(--denim-dark);
  font-size: 0.60rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 5px;
  transition: var(--transition);
}
.mobile-bottom-nav a:hover { color: var(--rose-accent); }
.mobile-bottom-nav i { font-size: 1.1rem; margin-bottom: 5px; }
.mobile-bottom-nav i {
  font-size: 1.1rem;
  margin-bottom: 5px;
}
    .mobile-bottom-nav .badge {
      background: var(--rose-accent);
      color: var(--pure-white);
      font-size: 0.7rem;
      padding: 2px 6px;
      border-radius: 12px;
      position: absolute;
      top: 8px;
      right: 25%;
      font-weight: bold;
    }
@media (min-width: 769px) {
  .mobile-bottom-nav {
    display: none;
  }
}
    /* Responsive */
    @media (max-width: 1024px) {
      .article-title {
        font-size: 2.5rem;
      }
      
      h2 {
        font-size: 2rem;
      }
    }

    @media (max-width: 768px) {
      .header-content {
        padding: 15px 20px;
      }
      
      .logo-text {
        font-size: 1.8rem;
      }
      
      .article-container {
        padding: 40px 15px 100px;
      }
      
      .article-title {
        font-size: 2.2rem;
      }
      
      .article-meta {
        flex-direction: column;
        gap: 10px;
      }
      
      h2 {
        font-size: 1.8rem;
        margin: 40px 0 25px;
      }
      
      h3 {
        font-size: 1.4rem;
      }
      
      .cta-section {
        padding: 30px 20px;
      }
      
      .cta-title {
        font-size: 1.8rem;
      }
    }

    @media (max-width: 480px) {
      .article-title {
        font-size: 1.9rem;
      }
      
      h2 {
        font-size: 1.6rem;
      }
      
      .featured-image {
        max-height: 300px;
      }
      
      .mobile-bottom-nav i {
        font-size: 1.1rem;
      }
    }

    /* Estilos específicos para popups de imagen */
    #popupImagen {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.9);
      z-index: 9999;
      padding: 20px;
      justify-content: center;
      align-items: center;
      flex-direction: column;
    }

    #popupImagen button {
      position: absolute;
      top: 20px;
      right: 20px;
      background: none;
      border: none;
      font-size: 36px;
      font-weight: bold;
      color: white;
      cursor: pointer;
      z-index: 10000;
    }

    #imagenPopup {
      max-width: 90vw;
      max-height: 90vh;
      border-radius: var(--radius-md);
      box-shadow: 0 0 30px rgba(0,0,0,0.5);
    }
/* Estilo para tablas responsivas */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* desplazamiento suave en móvil */
}

.table-responsive table {
  width: 100%;
  border-collapse: collapse;
}

.table-responsive table th,
.table-responsive table td {
  white-space: nowrap; /* Evita que el texto salte de línea */
}
/* Añade esto al final de tu archivo articulo.css */

/* Estilos para imágenes responsivas en product-card */
.product-card picture {
  display: block;
  width: 100%;
  margin: 0 auto;
}

.product-card img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-md);
}

/* Asegura que el contenedor figure no cause desbordamiento */
.product-card figure {
  width: 100%;
  margin: 20px 0;
  padding: 0;
}

/* Estilos específicos para la sección de contenido */
.content-section {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden; /* Previene desbordamiento horizontal */
}

/* Ajuste para tablas en móviles */
@media (max-width: 768px) {
  .table-responsive table th,
  .table-responsive table td {
    white-space: normal; /* Permite saltos de línea en móviles */
    padding: 12px 8px;
    font-size: 0.9rem;
  }
  
  .product-card {
    padding: 15px;
    margin: 20px 0;
  }
