/* DirectorioLocal — Estilos principales
   Paleta: #1a1a2e (fondo oscuro), #e94560 (rojo restaurante), #fff (texto), #f5f5f5 (cards)
   Mobile-first */

/* ============================================================
   RESET Y BASE
   ============================================================ */
.dl-wrap *,
.dl-wrap *::before,
.dl-wrap *::after {
    box-sizing: border-box;
}

.dl-wrap {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #333;
    line-height: 1.5;
}

.dl-eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(233, 69, 96, 0.12);
    color: #c73051;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ============================================================
   BUSCADOR CON MAPA
   ============================================================ */
.dl-search-section {
    background: #1a1a2e;
    padding: 24px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.dl-search-title {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 0 16px;
    font-weight: 700;
}

.dl-search-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 600px) {
    .dl-search-form {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 900px) {
    .dl-search-form {
        grid-template-columns: 2fr 1fr 1fr 1fr auto;
        align-items: end;
    }
}

.dl-search-form input,
.dl-search-form select {
    width: 100%;
    padding: 10px 14px;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    background: #fff;
    color: #333;
    outline: none;
    transition: box-shadow 0.2s;
}

.dl-search-form input:focus,
.dl-search-form select:focus {
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.4);
}

.dl-search-form label {
    display: block;
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
    margin-bottom: 4px;
    font-weight: 500;
}

/* ============================================================
   MAPA
   ============================================================ */
#dl-map {
    width: 100%;
    height: 360px;
    border-radius: 8px;
    margin-bottom: 28px;
    background: #e8e8e8;
    z-index: 1;
}

@media (min-width: 768px) {
    #dl-map {
        height: 460px;
    }
}

.dl-map-popup {
    min-width: 180px;
}

.dl-map-popup h4 {
    margin: 0 0 6px;
    font-size: 1rem;
}

.dl-map-popup p {
    margin: 0 0 8px;
    font-size: 0.85rem;
    color: #666;
}

.dl-map-popup a {
    color: #e94560;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ============================================================
   GRID DE RESTAURANTES
   ============================================================ */
.dl-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.dl-results-count {
    font-size: 0.9rem;
    color: #666;
}

.dl-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .dl-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .dl-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* ============================================================
   CARD DE RESTAURANTE
   ============================================================ */
.dl-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.dl-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.14);
}

.dl-card a {
    color: inherit;
    text-decoration: none;
}

/* Imagen de la card */
.dl-card-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #1a1a2e;
}

.dl-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.dl-card:hover .dl-card-image img {
    transform: scale(1.04);
}

.dl-card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d5a 100%);
    color: rgba(255,255,255,0.3);
    font-size: 3rem;
}

/* Badges sobre la imagen */
.dl-card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* Cuerpo de la card */
.dl-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dl-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.3;
}

.dl-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.dl-card-cuisine {
    font-size: 0.82rem;
    color: #666;
}

.dl-card-city {
    font-size: 0.82rem;
    color: #888;
}

.dl-card-city::before {
    content: '📍 ';
}

.dl-card-rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.dl-card-distance {
    font-size: 0.8rem;
    color: #e94560;
    font-weight: 600;
}

/* Footer de la card */
.dl-card-footer {
    padding: 10px 16px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.dl-card-services {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
}

.dl-service-icon {
    font-size: 0.75rem;
    color: #555;
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 20px;
}

.dl-card-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    white-space: nowrap;
}

.dl-card-call,
.dl-card-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
}

.dl-card-call {
    background: #e94560;
    color: #fff;
}

.dl-card-detail {
    background: #f3f4f6;
    color: #1a1a2e;
}

.dl-card-call:hover {
    background: #c73051;
    color: #fff;
}

.dl-card-detail:hover {
    background: #e5e7eb;
    color: #1a1a2e;
}

/* ============================================================
   BADGES
   ============================================================ */
.dl-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.dl-badge-verified {
    background: #28a745;
    color: #fff;
}

.dl-badge-featured {
    background: #f0a500;
    color: #fff;
}

.dl-badge-open {
    background: #28a745;
    color: #fff;
}

.dl-badge-closed {
    background: #dc3545;
    color: #fff;
}

.dl-badge-delivery {
    background: #17a2b8;
    color: #fff;
}

/* ============================================================
   ESTRELLAS DE RATING
   ============================================================ */
.dl-stars {
    display: inline-flex;
    gap: 1px;
    font-size: 1rem;
}

.dl-star-full,
.dl-star-half {
    color: #f0a500;
}

.dl-star-empty {
    color: #ddd;
}

.dl-rating-text {
    font-size: 0.82rem;
    color: #666;
}

/* ============================================================
   RANGO DE PRECIO
   ============================================================ */
.dl-price-range {
    font-weight: 700;
    color: #28a745;
    font-size: 0.9rem;
}

.dl-price-inactive {
    color: #ddd;
    font-weight: 400;
}

/* ============================================================
   SINGLE RESTAURANTE
   ============================================================ */
.dl-single {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.dl-single-hero {
    position: relative;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 28px;
    background: #1a1a2e;
}

@media (min-width: 768px) {
    .dl-single-hero {
        height: 420px;
    }
}

.dl-single-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dl-single-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
    color: #fff;
}

.dl-single-hero-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 0 8px;
}

.dl-single-hero-subtitle {
    margin: 0 0 12px;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    max-width: 720px;
}

.dl-single-hero-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.dl-single-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

/* Layout de dos columnas en desktop */
.dl-single-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

@media (min-width: 768px) {
    .dl-single-layout {
        grid-template-columns: 2fr 1fr;
    }
}

/* Sección de info */
.dl-info-box {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    margin-bottom: 20px;
}

.dl-info-box h3 {
    margin: 0 0 14px;
    font-size: 1rem;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #e94560;
    padding-bottom: 8px;
}

.dl-info-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.dl-info-icon {
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    color: #e94560;
}

.dl-info-row a {
    color: #e94560;
    text-decoration: none;
}

.dl-info-row a:hover {
    text-decoration: underline;
}

/* Mapa embebido */
.dl-single-map {
    height: 280px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

/* Galería de fotos */
.dl-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
    margin-bottom: 20px;
}

.dl-gallery img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.dl-gallery img:hover {
    opacity: 0.85;
}

/* Botones */
.dl-btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.2s, transform 0.1s;
    text-align: center;
}

.dl-btn:hover {
    transform: translateY(-1px);
}

.dl-btn-primary {
    background: #e94560;
    color: #fff;
}

.dl-btn-primary:hover {
    background: #c73051;
}

.dl-btn-secondary {
    background: #fff;
    color: #1a1a2e;
    border: 1px solid rgba(26,26,46,0.16);
}

.dl-btn-secondary:hover {
    background: #f3f4f6;
}

.dl-btn-light {
    background: rgba(255,255,255,0.94);
    color: #1a1a2e;
}

.dl-btn-light:hover {
    background: #fff;
}

.dl-btn-claim {
    background: #1a1a2e;
    color: #fff;
    width: 100%;
    font-size: 0.9rem;
    padding: 12px;
    margin-top: 10px;
}

.dl-btn-claim:hover {
    background: #2d2d5a;
}

.dl-btn-search {
    background: #e94560;
    color: #fff;
    padding: 10px 20px;
    white-space: nowrap;
}

.dl-btn-search:hover {
    background: #c73051;
}

/* ============================================================
   RESTAURANTES SIMILARES
   ============================================================ */
.dl-similar {
    margin-top: 40px;
}

.dl-similar h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #1a1a2e;
}

/* ============================================================
   MODAL DE CLAIM
   ============================================================ */
.dl-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.dl-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    cursor: pointer;
}

.dl-modal-box {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1;
}

.dl-modal-box h2 {
    margin: 0 0 8px;
    color: #1a1a2e;
}

.dl-modal-box > p {
    color: #666;
    margin: 0 0 20px;
    font-size: 0.9rem;
}

.dl-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    line-height: 1;
    padding: 4px 8px;
}

.dl-modal-close:hover {
    color: #333;
}

.dl-form-group {
    margin-bottom: 16px;
}

.dl-form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 5px;
}

.dl-form-group input,
.dl-form-group select,
.dl-form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.dl-form-group input:focus,
.dl-form-group select:focus,
.dl-form-group textarea:focus {
    outline: none;
    border-color: #e94560;
}

.dl-form-message {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.dl-form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.dl-form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.dl-form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 8px;
}

/* ============================================================
   ESTADOS VACÍOS Y LOADING
   ============================================================ */
.dl-loading {
    text-align: center;
    padding: 40px 20px;
    color: #888;
}

.dl-loading::before {
    content: '';
    display: block;
    width: 36px;
    height: 36px;
    border: 3px solid #f3f3f3;
    border-top-color: #e94560;
    border-radius: 50%;
    animation: dl-spin 0.8s linear infinite;
    margin: 0 auto 12px;
}

@keyframes dl-spin {
    to { transform: rotate(360deg); }
}

.dl-empty {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
}

.dl-empty-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 12px;
}

.dl-empty strong {
    display: block;
    color: #1a1a2e;
    font-size: 1rem;
    margin-bottom: 6px;
}

.dl-empty p {
    margin: 0;
    font-size: 0.9rem;
}

/* ============================================================
   SECCIÓN ADSENSE (placeholder visual)
   ============================================================ */
.dl-adsense-slot {
    background: #f9f9f9;
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    color: #bbb;
    font-size: 0.85rem;
    margin: 24px 0;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================================
   ARCHIVE: HEADER Y PILLS DE FILTRO
   ============================================================ */
.dl-archive-wrap {
    padding: 20px 0;
}

.dl-archive-hero,
.dl-map-hero {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 24px;
    padding: 28px;
    background:
        linear-gradient(135deg, rgba(26,26,46,0.94), rgba(85,32,57,0.92)),
        url('https://images.pexels.com/photos/3298637/pexels-photo-3298637.jpeg?auto=compress&cs=tinysrgb&w=1600&h=700&fit=crop') center/cover;
    color: #fff;
}

.dl-archive-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

@media (min-width: 760px) {
    .dl-archive-hero {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
    }
}

.dl-archive-hero .dl-eyebrow,
.dl-map-hero .dl-eyebrow {
    background: rgba(255,255,255,0.16);
    color: #fff;
}

.dl-archive-hero-copy {
    max-width: 760px;
}

.dl-archive-title {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 800;
    color: inherit;
    margin: 10px 0 10px;
    line-height: 1.05;
}

.dl-archive-description {
    color: rgba(255,255,255,0.88);
    margin: 0;
    max-width: 680px;
    font-size: 1rem;
}

.dl-archive-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.dl-archive-proof {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    min-width: 150px;
    padding: 16px;
    border-radius: 10px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
}

.dl-archive-proof strong {
    font-size: 2rem;
    line-height: 1;
}

.dl-archive-proof span {
    color: rgba(255,255,255,0.82);
    font-size: 0.86rem;
}

.dl-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 20px;
}

/* Pills de filtro por cocina */
.dl-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.dl-pill {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    background: #f0f0f0;
    color: #444;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    border: 2px solid transparent;
}

.dl-pill:hover {
    background: #e8e8e8;
    color: #1a1a2e;
}

.dl-pill-active,
.dl-pill-active:hover {
    background: #1a1a2e;
    color: #fff;
    border-color: #1a1a2e;
}

.dl-map-hero {
    border-radius: 0;
    margin-bottom: 0;
}

.dl-map-hero .container {
    max-width: 1120px;
}

.dl-map-hero h1 {
    margin: 10px 0 8px;
    max-width: 760px;
    font-size: clamp(1.9rem, 4vw, 3.2rem);
    line-height: 1.05;
}

.dl-map-hero p {
    margin: 0;
    max-width: 640px;
    color: rgba(255,255,255,0.86);
}

.dl-claim-box {
    border: 1px solid rgba(233,69,96,0.16);
    background: linear-gradient(180deg, #fff, #fff7f9);
}

.dl-claim-box h3 {
    margin-top: 10px;
}

.dl-app-package-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin: 22px 0 26px;
    padding: 20px;
    border: 1px solid rgba(7,89,133,0.18);
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(7,89,133,0.96), rgba(15,23,42,0.96)),
        url('https://images.unsplash.com/photo-1562967916-eb82221dfb92?w=1200&q=80') center/cover;
    color: #fff;
}

@media (min-width: 820px) {
    .dl-app-package-banner {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }
}

.dl-app-package-banner .dl-eyebrow {
    background: rgba(250,204,21,0.18);
    color: #fde68a;
}

.dl-app-package-banner h2 {
    margin: 10px 0 8px;
    color: #fff;
    font-size: clamp(1.35rem, 3vw, 2rem);
    line-height: 1.12;
}

.dl-app-package-banner p {
    max-width: 680px;
    margin: 0;
    color: rgba(255,255,255,0.86);
}

.dl-app-package-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dl-app-package-page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 20px;
}

.dl-app-package-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    padding: 34px;
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(7,89,133,0.96), rgba(15,23,42,0.95)),
        url('https://images.unsplash.com/photo-1626200419199-391ae4be7a41?w=1600&q=80') center/cover;
    color: #fff;
}

@media (min-width: 860px) {
    .dl-app-package-hero {
        grid-template-columns: minmax(0, 1fr) 290px;
    }
}

.dl-app-package-hero .dl-eyebrow {
    background: rgba(250,204,21,0.18);
    color: #fde68a;
}

.dl-app-package-hero h1 {
    margin: 12px 0 12px;
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1;
}

.dl-app-package-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255,255,255,0.88);
    font-size: 1.04rem;
}

.dl-app-package-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.dl-app-phone-preview {
    width: 250px;
    max-width: 100%;
    margin: 0 auto;
    padding: 12px;
    border-radius: 28px;
    background: #020617;
    box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}

.dl-app-phone-top {
    width: 72px;
    height: 6px;
    margin: 0 auto 10px;
    border-radius: 999px;
    background: #1f2937;
}

.dl-app-phone-screen {
    min-height: 430px;
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, #075985, #f8fafc 42%);
}

.dl-app-phone-screen strong,
.dl-app-phone-screen span {
    display: block;
    color: #fff;
}

.dl-app-phone-screen strong {
    font-size: 1.25rem;
}

.dl-app-phone-screen span {
    margin-bottom: 82px;
    opacity: 0.86;
}

.dl-app-phone-card {
    margin-bottom: 10px;
    padding: 12px;
    border-radius: 10px;
    background: #fff;
    color: #0f172a;
    font-size: 0.86rem;
    font-weight: 700;
}

.dl-app-phone-cta {
    margin-top: 14px;
    padding: 12px;
    border-radius: 10px;
    background: #22c55e;
    color: #fff;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 800;
}

.dl-app-package-section {
    margin-top: 30px;
}

.dl-app-package-section h2 {
    margin: 0 0 16px;
    color: #0f172a;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.dl-app-package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.dl-app-feature-card,
.dl-app-package-price,
.dl-app-flow > div {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.dl-app-feature-card {
    padding: 20px;
}

.dl-app-feature-card h3 {
    margin: 0 0 8px;
    color: #075985;
}

.dl-app-feature-card p {
    margin: 0;
    color: #4b5563;
}

.dl-app-package-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

@media (min-width: 860px) {
    .dl-app-package-split {
        grid-template-columns: minmax(0, 1fr) 320px;
    }
}

.dl-app-benefit-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dl-app-benefit-list li {
    margin-bottom: 10px;
    padding: 14px 16px;
    border-left: 4px solid #075985;
    border-radius: 8px;
    background: #f8fafc;
    color: #334155;
}

.dl-app-package-price {
    padding: 22px;
}

.dl-app-package-price span {
    display: block;
    color: #64748b;
    font-weight: 700;
}

.dl-app-package-price strong {
    display: block;
    margin: 4px 0 8px;
    color: #075985;
    font-size: 2.6rem;
    line-height: 1;
}

.dl-app-package-price p {
    color: #475569;
}

.dl-app-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
}

.dl-app-flow > div {
    display: flex;
    gap: 12px;
    padding: 16px;
}

.dl-app-flow strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #075985;
    color: #fff;
}

.dl-app-flow span {
    color: #334155;
    font-weight: 600;
}

@media (max-width: 520px) {
    .dl-card-footer,
    .dl-card-actions,
    .dl-single-hero-actions,
    .dl-archive-actions,
    .dl-app-package-banner-actions,
    .dl-app-package-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .dl-card-actions {
        width: 100%;
        margin-left: 0;
    }

    .dl-card-call,
    .dl-card-detail,
    .dl-single-hero-actions .dl-btn,
    .dl-archive-actions .dl-btn,
    .dl-app-package-banner-actions .dl-btn,
    .dl-app-package-actions .dl-btn {
        width: 100%;
    }

    .dl-single-hero {
        height: 420px;
    }

    .dl-single-hero-overlay {
        padding: 18px;
    }
}

/* ============================================================
   PAGINACIÓN
   ============================================================ */
.dl-pagination {
    margin-top: 40px;
    text-align: center;
}

.dl-pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 3px;
    border-radius: 6px;
    font-size: 0.9rem;
    text-decoration: none;
    color: #1a1a2e;
    background: #f5f5f5;
    transition: background 0.2s;
}

.dl-pagination .page-numbers:hover,
.dl-pagination .page-numbers.current {
    background: #e94560;
    color: #fff;
}

.dl-pagination .page-numbers.dots {
    background: none;
}

/* ============================================================
   ADMIN STATUS INDICATORS
   ============================================================ */
.dl-status-active   { color: #28a745; font-weight: 600; }
.dl-status-inactive { color: #dc3545; font-weight: 600; }
.dl-status-pending  { color: #f0a500; font-weight: 600; }
