/* ============================================================================
   🆕 PROMOCIONES / OFERTAS — carrusel público
   Se usa en index.html, restaurante.html y restaurante_directo.html
   ============================================================================ */

   .dp-promos-section {
    margin: 18px auto;
    padding: 0 16px;
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .dp-promos-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
  }
  .dp-promos-header .dp-promos-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f0402e, #ff7a45);
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(240, 64, 46, 0.28);
  }
  .dp-promos-header .dp-promos-icon svg { width: 19px; height: 19px; }
  .dp-promos-titulo {
    margin: 0;
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.1;
  }
  .dp-promos-subtitulo {
    margin: 2px 0 0;
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 500;
  }
  
  /* Contenedor con flechas */
  .dp-promos-scroll-wrap {
    position: relative;
  }
  .dp-promos-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 6px 2px 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .dp-promos-scroll::-webkit-scrollbar { display: none; }
  
  .dp-promos-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #f0402e;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    z-index: 3;
    display: none;              /* visible solo en pantallas grandes */
    align-items: center;
    justify-content: center;
    transition: transform .15s ease, opacity .2s ease;
  }
  .dp-promos-nav:hover { transform: translateY(-50%) scale(1.08); }
  .dp-promos-nav.prev { left: -6px; }
  .dp-promos-nav.next { right: -6px; }
  
  /* Tarjeta de promoción (formato banner ancho) */
  .dp-promo-card {
    position: relative;
    flex: 0 0 auto;
    width: 300px;
    min-height: 148px;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, #f0402e, #ff7a45);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
    transition: transform .18s ease, box-shadow .18s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  .dp-promo-card:active { transform: scale(0.98); }
  @media (hover:hover) {
    .dp-promo-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,0.18); }
  }
  
  /* Imagen de fondo (si la promo trae imagen) */
  .dp-promo-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }
  .dp-promo-card.con-imagen::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 20%, rgba(0,0,0,0.72) 100%);
    z-index: 1;
  }
  
  /* Badge de descuento */
  .dp-promo-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: #fff;
    color: #f0402e;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 5px 11px;
    border-radius: 999px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.18);
    letter-spacing: -0.01em;
  }
  
  /* Contenido de texto */
  .dp-promo-body {
    position: relative;
    z-index: 2;
    padding: 14px 16px 16px;
  }
  .dp-promo-rest {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    opacity: 0.95;
    margin-bottom: 4px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.25);
  }
  .dp-promo-rest img {
    width: 18px; height: 18px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
  }
  .dp-promo-titulo {
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 3px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .dp-promo-desc {
    font-size: 0.78rem;
    font-weight: 500;
    opacity: 0.95;
    line-height: 1.25;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.25);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .dp-promo-codigo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    background: rgba(255,255,255,0.22);
    border: 1px dashed rgba(255,255,255,0.85);
    border-radius: 8px;
    padding: 4px 9px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    backdrop-filter: blur(2px);
  }
  .dp-promo-codigo svg { width: 13px; height: 13px; }
  
  /* Skeleton de carga */
  .dp-promo-skeleton {
    flex: 0 0 auto;
    width: 300px;
    height: 148px;
    border-radius: 18px;
    background: linear-gradient(90deg, #eee 25%, #e0e0e0 50%, #eee 75%);
    background-size: 200% 100%;
    animation: dp-promo-shimmer 1.2s infinite;
  }
  @keyframes dp-promo-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
  }
  
  /* ===== Escritorio ===== */
  @media (min-width: 900px) {
    .dp-promos-nav { display: flex; }
    .dp-promo-card { width: 340px; }
    .dp-promo-skeleton { width: 340px; }
  }
  
  /* ===== Móvil ===== */
  @media (max-width: 480px) {
    .dp-promos-section { padding: 0 12px; margin: 14px auto; }
    .dp-promo-card { width: 270px; min-height: 140px; }
    .dp-promo-skeleton { width: 270px; height: 140px; }
    .dp-promos-titulo { font-size: 1.05rem; }
  }