/* =========================================================
   MARKETPLACE – Estilos públicos
   Paleta: lavanda #F1E1F3, dark navy #1B1B3A, violeta #8B5CF6
   ========================================================= */

/* ─── Reset / base ──────────────────────────────────────── */
.mp-body {
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #1B1B3A;
    margin: 0;
    padding: 0;
}

/* ─── Topbar marketplace = mismas bases que partials/custom_styles (dashboard / home) ─── */
.mp-body .header,
.mp-body #kt_header {
    background: #ffffff;
    border-bottom: 1px solid rgba(27, 27, 58, 0.08);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
    font-family: 'Inter', sans-serif;
}

#kt_header.header.mp-public-topbar {
    z-index: 1030;
}

/* Topbar: padding horizontal contenido — tabs cerca del borde izquierdo (referencia Figma) */
#kt_header.mp-public-topbar > .container-fluid.mp-topbar-inner {
    flex-wrap: nowrap;
    align-items: stretch;
    --mp-topbar-px: 0.75rem;
    padding-left: var(--mp-topbar-px);
    padding-right: var(--mp-topbar-px);
}

@media (min-width: 576px) {
    #kt_header.mp-public-topbar > .container-fluid.mp-topbar-inner {
        --mp-topbar-px: 1rem;
    }
}

@media (min-width: 1200px) {
    #kt_header.mp-public-topbar > .container-fluid.mp-topbar-inner {
        --mp-topbar-px: 1.25rem;
    }
}

#kt_header.mp-public-topbar #kt_header_wrapper {
    flex: 1 1 auto;
    min-width: 0;
}

/* Primera solapa alineada al inicio (sin columna de logo) */
#kt_header.mp-public-topbar #kt_header_wrapper > .menu {
    justify-content: flex-start;
}

/* Botones outline en topbar: igual que custom_styles (dashboard) */
#kt_header.mp-public-topbar .mp-btn-outline,
#kt_header.mp-public-topbar .mp-btn-outline.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1.5px solid #D1C4E9;
    background: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #1B1B3A;
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    white-space: nowrap;
}

#kt_header.mp-public-topbar .mp-btn-outline:hover,
#kt_header.mp-public-topbar .mp-btn-outline.dropdown-toggle:hover,
#kt_header.mp-public-topbar .mp-btn-outline.active,
#kt_header.mp-public-topbar .mp-btn-outline.dropdown-toggle.show {
    border-color: #8B5CF6;
    background: rgba(139, 92, 246, 0.06);
    color: #6D28D9;
}

#kt_header .header-nav-tab,
#kt_header .header-nav-tab.btn-light-primary {
    background: transparent !important;
    color: var(--bs-gray-800) !important;
    border: none !important;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.6;
    padding: 0.5rem 0.75rem;
    margin: 0;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    box-shadow: none !important;
}

#kt_header .header-nav-tab:hover,
#kt_header .header-nav-tab.btn-light-primary:hover,
#kt_header .header-nav-tab.active,
#kt_header .header-nav-tab.btn-light-primary.active,
#kt_header .menu-item.show .header-nav-tab {
    background: rgba(139, 92, 246, 0.06) !important;
    color: #6D28D9 !important;
}

.mp-btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1.5px solid #D1C4E9;
    background: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #1B1B3A;
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    white-space: nowrap;
}

.mp-btn-outline:hover {
    border-color: #9B8AB8;
    background: rgba(155, 138, 184, 0.12);
    color: #7C6B9E;
}

.mp-avatar {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, #8B5CF6, #C084FC);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
    padding: 0;
}

.mp-avatar::after {
    display: none !important; /* quitar caret de Bootstrap */
}

.mp-user-label {
    font-size: 0.75rem;
    color: #9CA3AF;
    font-weight: 400;
}

.mp-user-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1B1B3A;
}

.mp-login-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6D28D9;
    text-decoration: none;
}

.mp-login-link:hover {
    text-decoration: underline;
}

/* ─── Hero Zone — contiene: hero + buscador + categorías ─── */
.mp-hero-zone {
    position: relative;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4rem 1.5rem 3rem;
}

.mp-hero-content {
    position: relative;
    z-index: 1;
    max-width: min(100%, 720px);
    margin: 0 auto 2.5rem;
}

.mp-hero-brand-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 100%;
}

/* Logo hero: tamaño fijo solicitado */
.mp-hero-brand-wrap .platform-logo--hero {
    display: block;
    width: 300px;
    height: auto;
    max-width: 300px;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 2px 24px rgba(100, 50, 200, 0.25));
}

/* Texto de respaldo: acorde al logo pequeño */
.mp-hero-brand-wrap .mp-hero-brand-fallback {
    font-size: clamp(1.125rem, 4vw, 1.65rem);
    line-height: 1;
    margin: 0;
    text-align: center;
}

.mp-hero-brand-fallback {
    display: block;
    font-size: 3.25rem;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 24px rgba(100, 50, 200, 0.25);
    line-height: 1;
}

.mp-hero-brand {
    display: block;
    font-size: 3.25rem;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 24px rgba(100, 50, 200, 0.25);
    margin-bottom: 1.5rem;
    line-height: 1;
}

.mp-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #1B1B3A;
    line-height: 1.2;
    margin-bottom: 0.875rem;
    letter-spacing: -0.02em;
}

.mp-hero-subtitle {
    font-size: 1.0625rem;
    color: #5A5A7A;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ─── Barra de búsqueda ──────────────────────────────────── */
.mp-search-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 1rem;
    margin-bottom: 2.5rem;
}

/* ─── Wrapper de categorías dentro del hero zone ─────────── */
.mp-categories-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    padding: 0 1rem;
}

.mp-search-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 8px 40px rgba(27, 27, 58, 0.12);
    padding: 1.25rem 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.mp-search-row {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.mp-search-field {
    flex: 1 1 180px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.25rem 1rem;
    min-width: 0;
}

.mp-search-field + .mp-search-field {
    border-left: 1.5px solid #E9E3F5;
}

.mp-search-field i {
    color: #9CA3AF;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.mp-search-field select,
.mp-search-field input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.9375rem;
    color: #374151;
    width: 100%;
    padding: 0;
    font-family: inherit;
}

.mp-search-field select option {
    color: #374151;
}

.mp-search-btn {
    flex-shrink: 0;
    padding: 0.625rem 1.75rem;
    border-radius: 8px;
    background: #464E5F;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
    margin-left: 0.75rem;
}

.mp-search-btn:hover {
    background: #5a6278;
    transform: translateY(-1px);
}

.mp-search-btn:active {
    transform: translateY(0);
}

@media (max-width: 640px) {
    .mp-search-row {
        flex-direction: column;
        align-items: stretch;
    }
    .mp-search-field {
        border-left: none !important;
        border-top: 1.5px solid #E9E3F5;
        padding: 0.6rem 0;
    }
    .mp-search-field:first-child {
        border-top: none;
    }
    .mp-search-btn {
        margin-left: 0;
        margin-top: 0.75rem;
        width: 100%;
    }
}

/* ─── Sección de negocios ────────────────────────────────── */
.mp-businesses-section {
    background: transparent;
    padding: 3rem 0 3.5rem;
    min-height: 300px;
}

.mp-section {
    padding: 0;
}

.mp-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.mp-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.mp-section-head .mp-section-title {
    margin-bottom: 0;
    padding-top: 0;
}

.mp-section-title {
    font-size: 1.625rem;
    font-weight: 700;
    color: #1B1B3A;
    margin-bottom: 1.5rem;
    padding-top: 2.5rem;
}

.mp-sort-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    justify-content: flex-end;
    margin-left: auto;
}

.mp-sort-wrap {
    flex-shrink: 0;
}

.mp-sort-wrap .mp-filter-orden {
    min-width: 11.5rem;
    max-width: 100%;
    border-radius: 0.5rem;
    border: 1px solid rgba(27, 27, 58, 0.12);
    background: #fff;
    color: #1B1B3A;
    font-weight: 500;
}

.mp-radio-wrap {
    flex-shrink: 0;
}

.mp-radio-wrap .mp-filter-radio-km {
    min-width: 6.5rem;
    max-width: 100%;
    border-radius: 0.5rem;
    border: 1px solid rgba(27, 27, 58, 0.12);
    background: #fff;
    color: #1B1B3A;
    font-weight: 500;
}

.mp-sort-actions .mp-geo-status {
    flex-basis: 100%;
    width: 100%;
    font-size: 0.8125rem;
    color: rgba(27, 27, 58, 0.72);
    min-height: 1.25em;
    text-align: right;
}

@media (min-width: 576px) {
    .mp-sort-actions .mp-geo-status {
        flex-basis: auto;
        width: auto;
        min-width: 0;
        max-width: 16rem;
    }
}

.mp-biz-dist {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(27, 27, 58, 0.75);
    margin-top: 0.25rem;
}

.mp-biz-dist i {
    font-size: 1rem;
    opacity: 0.85;
}

/* ─── Cards de categorías ────────────────────────────────── */
.mp-categories {
    display: flex;
    gap: 0.75rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    justify-content: center;
    scrollbar-width: none;
}

.mp-categories::-webkit-scrollbar {
    display: none;
}

.mp-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    width: 100px;
    padding: 1rem 0.75rem 0.875rem;
    border-radius: 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s, background 0.15s;
    user-select: none;
}

.mp-cat-card:hover {
    background: rgba(255, 255, 255, 0.80);
    border-color: rgba(174, 145, 244, 0.5);
    box-shadow: 0 4px 18px rgba(174, 145, 244, 0.14);
    transform: translateY(-2px);
}

.mp-cat-card.active {
    /* Opción suave: lavanda apagado (reemplaza el violeta eléctrico) */
    background: linear-gradient(135deg, #9B8AB8, #B8A9C9);
    border-color: #9B8AB8;
    box-shadow: 0 4px 18px rgba(155, 138, 184, 0.25);
}

.mp-cat-card.active .mp-cat-card-icon i {
    color: #ffffff;
}

.mp-cat-card.active .mp-cat-card-label {
    color: #ffffff;
    font-weight: 600;
}

.mp-cat-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
}

.mp-cat-card-icon i {
    font-size: 1.4rem;
    color: var(--cat-color, #8B5CF6);
    transition: color 0.15s;
}

.mp-cat-card-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #3D3D5C;
    text-align: center;
    line-height: 1.2;
    transition: color 0.15s;
}

/* ─── Estado vacío / cargando ────────────────────────────── */
.mp-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #9CA3AF;
    font-size: 1rem;
}

.mp-empty i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.75rem;
    opacity: 0.5;
}

/* ─── Grid de negocios ───────────────────────────────────── */
.mp-businesses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* ─── Link wrapper para card (navegación al perfil) ───────── */
.mp-biz-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* ─── Card de negocio ────────────────────────────────────── */
.mp-biz-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(27, 27, 58, 0.07);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.mp-biz-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(27, 27, 58, 0.13);
}

.mp-biz-img-wrap {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, #E9D8F5, #C7E8F9);
    overflow: hidden;
    flex-shrink: 0;
}

.mp-biz-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mp-biz-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    opacity: 0.35;
    color: #8B5CF6;
}

.mp-biz-fav {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.mp-biz-fav:hover {
    background: #fff;
    transform: scale(1.12);
}

.mp-biz-fav .mp-fav-filled {
    display: none;
}
.mp-biz-fav.active .mp-fav-outline {
    display: none;
}
.mp-biz-fav.active .mp-fav-filled {
    display: inline-block;
}

.mp-biz-fav i {
    font-size: 1.1rem;
    color: #D1C4E9;
    transition: color 0.15s;
}

.mp-biz-fav.active i,
.mp-biz-fav:hover i {
    color: #464E5F;
}

.mp-biz-body {
    padding: 1.125rem 1.25rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mp-biz-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1B1B3A;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mp-biz-cat {
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.2rem 0.625rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    align-self: flex-start;
    background: rgba(139, 92, 246, 0.1);
    color: #6D28D9;
}

.mp-biz-desc {
    font-size: 0.875rem;
    color: #6B7280;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    margin: 0;
}

.mp-biz-location {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8125rem;
    color: #9CA3AF;
    margin-top: 0.25rem;
}

.mp-biz-location i {
    font-size: 0.875rem;
}

.mp-biz-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    font-size: 0.8125rem;
    margin-top: 0.35rem;
}

.mp-biz-rating-num {
    font-weight: 600;
    color: #1B1B3A;
}

.mp-biz-rating-stars {
    color: #EAB308;
    letter-spacing: 0.02em;
}

.mp-biz-rating-count {
    color: #9CA3AF;
}

/* ─── Footer ─────────────────────────────────────────────── */
.mp-footer {
    background: #ffffff;
    border-top: 1px solid rgba(139, 92, 246, 0.08);
    padding: 2rem 0;
    margin-top: 0;
}

.mp-footer-brand-wrap {
    display: inline-flex;
    align-items: center;
}

.mp-footer-brand-wrap .platform-logo--footer {
    display: block;
    width: 100px;
    max-width: 100px;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.mp-footer-brand-fallback {
    font-size: 1.125rem;
    font-weight: 800;
    color: #1B1B3A;
    letter-spacing: -0.02em;
}

.mp-footer-brand {
    font-size: 1.125rem;
    font-weight: 800;
    color: #1B1B3A;
    letter-spacing: -0.02em;
}

.mp-footer-copy {
    font-size: 0.875rem;
    color: #9CA3AF;
}

.mp-footer-link {
    font-size: 0.875rem;
    color: #6B7280;
    text-decoration: none;
    transition: color 0.15s;
}

.mp-footer-link:hover {
    color: #6D28D9;
}

/* ─── Skeleton loader ────────────────────────────────────── */
.mp-skeleton {
    background: linear-gradient(90deg, #f0e8f8 25%, #e4d5f5 50%, #f0e8f8 75%);
    background-size: 200% 100%;
    animation: mp-shimmer 1.5s infinite;
    border-radius: 10px;
}

@keyframes mp-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ═══════════════════════════════════════════════════════════════
   PERFIL COMERCIO – Vista cliente (sidebar sticky)
   ═══════════════════════════════════════════════════════════════ */

.mp-perfil-page {
    padding-bottom: 2rem;
    padding-top: 1.5rem;
}

.mp-perfil-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.mp-perfil-header-info {
    min-width: 0;
}

.mp-perfil-header-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mp-perfil-header-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1B1B3A;
    margin: 0;
    text-transform: uppercase;
}

.mp-perfil-header-star {
    color: #EAB308;
    font-size: 1rem;
}

.mp-perfil-header-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    font-size: 0.8125rem;
    color: #6B7280;
    margin-top: 0.25rem;
}

.mp-perfil-header-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #22C55E;
    font-weight: 500;
}

.mp-perfil-header-status.mp-perfil-status-closed {
    color: #EF4444;
}

.mp-perfil-header-rating {
    color: #1B1B3A;
    font-weight: 600;
}

.mp-perfil-header-rating-count {
    font-weight: 500;
    color: #6B7280;
}

.mp-perfil-header-sep {
    color: #9CA3AF;
}

.mp-perfil-header-link {
    color: #1B1B3A;
    text-decoration: underline;
    font-weight: 500;
}

.mp-perfil-header-link:hover {
    color: #6D28D9;
}

.mp-perfil-header-fav {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(27, 27, 58, 0.1);
    transition: transform 0.1s;
    flex-shrink: 0;
}

.mp-perfil-header-fav:hover {
    transform: scale(1.1);
}

.mp-perfil-header-fav .mp-fav-filled {
    display: none;
}
.mp-perfil-header-fav.active .mp-fav-outline {
    display: none;
}
.mp-perfil-header-fav.active .mp-fav-filled {
    display: inline-block;
}

.mp-perfil-header-fav i {
    font-size: 1.25rem;
    color: #1B1B3A;
}

.mp-perfil-header-fav.active i {
    color: #464E5F;
}

.mp-perfil-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    align-items: start;
    overflow: visible; /* permite que la tarjeta sticky funcione */
}

.mp-perfil-main {
    min-width: 0;
    background: transparent;
}

.mp-perfil-section-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(27, 27, 58, 0.06);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.mp-perfil-section-transparent {
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
}

.mp-perfil-mapa {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(27, 27, 58, 0.06);
}

.mp-perfil-mapa iframe {
    display: block;
}

.mp-perfil-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0.25rem 0;
    border-bottom: 1px solid #E9E3F5;
}

.mp-perfil-tab {
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #6B7280;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.15s, color 0.15s;
}

.mp-perfil-tab:hover {
    background: rgba(139, 92, 246, 0.08);
    color: #6D28D9;
}

.mp-perfil-tab.active {
    background: rgba(139, 92, 246, 0.12);
    color: #6D28D9;
}

.mp-perfil-section {
    padding: 2rem 0;
}

.mp-perfil-section:first-of-type {
    padding-top: 0;
}

.mp-perfil-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1B1B3A;
    margin-bottom: 1rem;
    margin-top: 0;
}

.mp-perfil-subsection-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1B1B3A;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.mp-perfil-categoria {
    margin-bottom: 2rem;
}

.mp-perfil-cat-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--cat-color, #8B5CF6);
    margin-bottom: 0.75rem;
}

.mp-perfil-servicios-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mp-perfil-srv-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #ffffff;
    border: 2px solid #E9E3F5;
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.mp-perfil-srv-foto {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    background: #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mp-perfil-srv-foto-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mp-perfil-srv-foto-placeholder {
    color: #9CA3AF;
    font-size: 1.75rem;
}

.mp-perfil-srv-foto-placeholder i {
    font-size: 1.75rem;
}

.mp-perfil-srv-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    background: rgba(139, 92, 246, 0.04);
}

.mp-perfil-srv-card.selected {
    border-color: #8B5CF6;
    background: rgba(139, 92, 246, 0.08);
}

.mp-perfil-srv-check {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 2px solid #D1C4E9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.15s, background 0.15s;
}

.mp-perfil-srv-card.selected .mp-perfil-srv-check {
    border-color: #8B5CF6;
    background: #8B5CF6;
}

.mp-perfil-srv-check i {
    font-size: 0.75rem;
    color: transparent;
}

.mp-perfil-srv-card.selected .mp-perfil-srv-check i {
    color: #ffffff;
}

.mp-perfil-srv-info {
    flex: 1;
    min-width: 0;
}

.mp-perfil-srv-name {
    display: block;
    font-weight: 600;
    color: #1B1B3A;
    font-size: 1.0625rem;
}

.mp-perfil-srv-duracion {
    display: block;
    font-size: 0.8125rem;
    color: #9CA3AF;
    margin-top: 0.2rem;
}

.mp-perfil-srv-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.mp-perfil-srv-precio {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1B1B3A;
    white-space: nowrap;
}

.mp-perfil-empty,
.mp-perfil-placeholder {
    text-align: center;
    padding: 2rem 1rem;
    color: #9CA3AF;
}

.mp-perfil-placeholder i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.75rem;
    opacity: 0.5;
}

.mp-perfil-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 1.5rem;
}

.mp-perfil-contacto {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mp-perfil-contacto-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
}

.mp-perfil-contacto-item i {
    color: #9CA3AF;
}

.mp-perfil-contacto-item a {
    color: #6D28D9;
    text-decoration: none;
}

.mp-perfil-contacto-item a:hover {
    text-decoration: underline;
}

/* Sidebar: la galería NO es sticky, la tarjeta del negocio SÍ */
.mp-perfil-sidebar {
    align-self: stretch; /* necesario para que la tarjeta sticky tenga espacio */
    overflow: visible;  /* evita que overflow heredado rompa position:sticky */
}

/* Galería encima de la tarjeta (diseño Figma) */
.mp-perfil-sidebar-galeria {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(27, 27, 58, 0.08);
    background: #fff;
    padding: 8px;
}

.mp-perfil-galeria-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.mp-perfil-galeria-grid--2 {
    grid-template-rows: minmax(0, 1fr);
    max-height: 160px;
}

.mp-perfil-galeria-grid--3 {
    grid-template-rows: minmax(0, 1fr) minmax(0, 1.2fr);
    max-height: 260px;
}

.mp-perfil-galeria-col {
    position: relative;
    min-height: 0;
}

.mp-perfil-galeria-col-wide {
    grid-column: 1 / -1;
}

.mp-perfil-galeria-item {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
    height: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.mp-perfil-galeria-item:hover {
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

a.mp-perfil-galeria-item:hover {
    transform: translateY(-2px);
}

.mp-perfil-galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    vertical-align: middle;
}

.mp-perfil-galeria-item-sm {
    aspect-ratio: 1;
}

.mp-perfil-galeria-item-sm img {
    object-position: center;
}

.mp-perfil-galeria-item-lg {
    aspect-ratio: 16 / 9;
}

.mp-perfil-galeria-item-lg img {
    object-position: center;
}

.mp-perfil-galeria-ver-todas {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 0.5rem 1rem;
    background: #8B5CF6 !important;
    border: none;
    color: #fff !important;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.mp-perfil-galeria-ver-todas:hover {
    background: #7C3AED !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
}

.mp-perfil-galeria-single {
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    height: 140px;
}

.mp-perfil-galeria-single img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.mp-perfil-sidebar-card {
    position: sticky;
    top: 90px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(27, 27, 58, 0.08);
    padding: 1.5rem;
}

/* Redes sociales: esquina superior derecha, solo iconos gris #464E5F (Figma) */
.mp-perfil-redes {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mp-perfil-redes-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #2D3340;
    text-decoration: none;
    transition: color 0.15s, opacity 0.15s;
}

.mp-perfil-redes-icon:hover {
    color: #1B1B3A;
    opacity: 0.9;
}

.mp-perfil-redes-icon i {
    font-size: 1.25rem;
}

.mp-perfil-sidebar-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.mp-perfil-sidebar-card:has(.mp-perfil-redes) .mp-perfil-sidebar-logo-wrap {
    margin-top: 0.5rem;
}

.mp-perfil-sidebar-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.mp-perfil-sidebar-logo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E9D8F5, #C7E8F9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #8B5CF6;
    opacity: 0.7;
}

.mp-perfil-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6B7280;
    margin-bottom: 0.5rem;
}

.mp-perfil-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22C55E;
}

.mp-perfil-status-dot-closed {
    background: #EF4444;
}

.mp-perfil-status-closed .mp-perfil-status-dot {
    background: #EF4444;
}

.mp-perfil-status-closed span:last-child {
    color: #EF4444;
}

.mp-perfil-sidebar-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1B1B3A;
    margin: 0 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.mp-perfil-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.mp-perfil-rating-num {
    font-weight: 600;
    color: #1B1B3A;
}

.mp-perfil-rating-stars {
    color: #EAB308;
    font-size: 0.9rem;
}

.mp-perfil-rating-count {
    font-size: 0.8125rem;
    color: #9CA3AF;
}

.mp-perfil-rating-muted {
    color: #9CA3AF;
    font-weight: 500;
}

.mp-perfil-address {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    color: #6B7280;
    margin-bottom: 0.75rem;
}

.mp-perfil-address i {
    font-size: 1rem;
    color: #9CA3AF;
    flex-shrink: 0;
}

.mp-perfil-link-maps {
    color: #6D28D9;
    text-decoration: none;
}

.mp-perfil-link-maps:hover {
    text-decoration: underline;
}

.mp-perfil-horario {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: #6B7280;
    margin-bottom: 1.25rem;
}

.mp-perfil-horario--toggle {
    cursor: pointer;
    user-select: none;
}

.mp-perfil-horario--toggle:focus-visible {
    outline: 2px solid rgba(109, 40, 217, 0.45);
    outline-offset: 2px;
    border-radius: 6px;
}

.mp-perfil-horario.is-open .mp-perfil-horario-chevron {
    transform: rotate(180deg);
}

.mp-perfil-horario-panel {
    margin: -0.5rem 0 1rem;
    padding: 0.75rem 0.85rem;
    background: #f9fafb;
    border-radius: 10px;
    border: 1px solid rgba(27, 27, 58, 0.06);
}

.mp-perfil-horario-panel[hidden] {
    display: none !important;
}

.mp-perfil-horario-panel:not([hidden]) {
    display: block;
}

.mp-perfil-horario-panel-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #9CA3AF;
    margin-bottom: 0.5rem;
}

.mp-perfil-horario-panel-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.mp-perfil-horario i:first-of-type {
    color: #9CA3AF;
}

.mp-perfil-horario-linea {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.8125rem;
}

.mp-perfil-horario-linea span:first-child {
    color: #6B7280;
    min-width: 2.5rem;
}

.mp-perfil-horario-chevron {
    font-size: 0.75rem;
    color: #9CA3AF;
    transition: transform 0.2s ease;
}

.mp-perfil-resumen {
    margin-bottom: 1rem;
    padding: 0.75rem 0;
    border-top: 1px solid #E9E3F5;
}

.mp-perfil-resumen-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1B1B3A;
    margin-bottom: 0.5rem;
}

.mp-perfil-resumen-list {
    font-size: 0.8125rem;
    color: #6B7280;
    list-style: none;
    padding: 0;
    margin: 0 0 0.5rem;
}

.mp-perfil-resumen-list li {
    padding: 0.2rem 0;
}

.mp-perfil-resumen-total {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1B1B3A;
}

.mp-perfil-btn-reservar {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #8B5CF6;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.15s, opacity 0.15s;
}

.mp-perfil-btn-reservar:hover:not(:disabled) {
    background: #7C3AED;
}

.mp-perfil-btn-reservar:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 991px) {
    .mp-perfil-layout {
        grid-template-columns: 1fr;
    }

    .mp-perfil-sidebar {
        position: static;
        order: -1;
    }

    .mp-perfil-sidebar-card {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .mp-perfil-sidebar-logo-wrap {
        margin-bottom: 0;
        justify-content: center;
    }

    .mp-perfil-sidebar-logo,
    .mp-perfil-sidebar-logo-placeholder {
        width: 60px;
        height: 60px;
    }

    .mp-perfil-sidebar-name {
        font-size: 1rem;
        text-align: center;
    }

    .mp-perfil-btn-reservar {
        width: 100%;
        margin-top: 0.5rem;
    }
}

/* Servicios: fotos más compactas en móvil para mejor proporción */
@media (max-width: 576px) {
    .mp-perfil-srv-card {
        padding: 0.875rem 1rem;
        gap: 0.75rem;
    }

    .mp-perfil-srv-foto {
        width: 64px;
        height: 64px;
        border-radius: 8px;
    }

    .mp-perfil-srv-foto-placeholder,
    .mp-perfil-srv-foto-placeholder i {
        font-size: 1.5rem;
    }

    .mp-perfil-srv-name {
        font-size: 0.9375rem;
    }

    .mp-perfil-srv-duracion {
        font-size: 0.75rem;
    }

    .mp-perfil-srv-precio {
        font-size: 1.125rem;
    }
}

/* Reservas - Modal marketplace */
.mp-booking-modal .modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(27, 27, 58, 0.2);
}

.mp-booking-block-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1B1B3A;
}

.mp-booking-days-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mp-booking-days {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
    flex: 1;
}

.mp-booking-days::-webkit-scrollbar {
    display: none;
}

.mp-booking-day {
    min-width: 72px;
    border: 1px solid #E9E3F5;
    background: #ffffff;
    border-radius: 12px;
    padding: 0.6rem 0.5rem;
    text-align: center;
    color: #1B1B3A;
    transition: all 0.15s ease;
}

.mp-booking-day .day-name {
    display: block;
    font-size: 0.8rem;
    color: #6B7280;
}

.mp-booking-day .day-num {
    display: block;
    font-size: 1rem;
    font-weight: 700;
}

.mp-booking-day:hover {
    border-color: #8B5CF6;
}

.mp-booking-day.active {
    border-color: #8B5CF6;
    background: rgba(139, 92, 246, 0.1);
}

.mp-booking-shift-switch {
    display: inline-flex;
    border: 1px solid #E9E3F5;
    border-radius: 999px;
    overflow: hidden;
}

.mp-booking-shift-switch button {
    border: none;
    background: #F9F7FE;
    color: #6B7280;
    min-width: 120px;
    padding: 0.5rem 0.9rem;
    font-weight: 600;
}

.mp-booking-shift-switch button.active {
    background: #ffffff;
    color: #1B1B3A;
}

.mp-booking-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 0.6rem;
}

.mp-booking-slot {
    border: 1px solid #E9E3F5;
    background: #ffffff;
    border-radius: 12px;
    padding: 0.6rem 0.4rem;
    font-weight: 600;
    color: #1B1B3A;
    transition: all 0.15s ease;
}

.mp-booking-slot:hover {
    border-color: #8B5CF6;
}

.mp-booking-slot.active {
    border-color: #8B5CF6;
    background: rgba(139, 92, 246, 0.1);
}

.mp-booking-summary {
    border-top: 1px solid #E9E3F5;
    width: 100%;
    margin: 0;
    padding: 1rem 1.5rem 1.25rem;
}

.mp-booking-contact-form .form-control {
    border: 1px solid #D7D0E8;
    border-radius: 12px;
    min-height: 44px;
}

@media (max-width: 768px) {
    .mp-booking-days-nav {
        display: none;
    }

    .mp-booking-summary {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.75rem;
    }
}

/* ─── Perfil Cliente (Mis Reservas) ───────────────────────────────────── */
.mp-perfil-cliente {
    min-height: 60vh;
    padding-bottom: 3rem;
}

.mp-perfil-cliente .container-xl {
    max-width: 1400px;
}

.mp-perfil-cliente .breadcrumb {
    background: transparent;
    padding: 0;
}

.mp-perfil-completo .bg-primary {
    background-color: #8B5CF6 !important;
}

.mp-perfil-cliente .nav-line-tabs .nav-link.active {
    color: #8B5CF6 !important;
    border-bottom-color: #8B5CF6 !important;
}

.mp-perfil-cliente .nav-line-tabs .nav-link.disabled,
.mp-perfil-cliente .nav-line-tabs span.nav-link.disabled {
    color: #9CA3AF !important;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Modal "Editar perfil": el form debe ser la columna flex para que el footer no quede recortado con modal-dialog-scrollable */
#mp_modal_editar_perfil.modal .modal-dialog-scrollable .modal-content {
    min-height: 0;
}

#mp_modal_editar_perfil .mp-modal-editar-perfil-form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    max-height: 100%;
}

#mp_modal_editar_perfil .mp-modal-editar-perfil-form .modal-body {
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
}

.mp-perfil-calendar-card,
.mp-perfil-detail-card {
    border-radius: 12px;
    border: 1px solid #E9E3F5;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

.mp-perfil-calendar {
    min-height: 400px;
}

.mp-perfil-calendar .fc-event {
    cursor: pointer;
}

.mp-perfil-detalle-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    text-align: center;
    min-height: 200px;
    font-size: 1.125rem;
}

.mp-perfil-detalle-empty p {
    font-size: 1.125rem;
}

/* ─── Panel detalle cita (estilo Figma) ───────────────────────────────── */
.mp-perfil-detalle-content {
    padding: 1.25rem 1.25rem 1.5rem;
}

.mp-detalle-header {
    position: relative;
    margin-bottom: 1.25rem;
}

.mp-detalle-estado-wrap {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.5rem;
}

.mp-detalle-estado {
    font-size: 0.8125rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.mp-detalle-estado::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.mp-detalle-estado-pendiente {
    color: #92400E;
}

.mp-detalle-estado-success,
.mp-detalle-estado-confirmada {
    color: #065F46;
}

.mp-detalle-estado-completada {
    color: #374151;
}

.mp-detalle-estado-cancelada {
    color: #991B1B;
}

.mp-detalle-estado-en-curso {
    color: #1D4ED8;
}

.mp-detalle-empresa-block {
    text-align: center;
}

.mp-detalle-empresa-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 0.75rem;
    background: #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mp-detalle-empresa-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mp-detalle-empresa-img-placeholder .ki-outline {
    font-size: 2rem;
    color: #9CA3AF;
}

.mp-detalle-empresa-nombre {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1F2937;
    margin: 0 0 0.25rem;
}

.mp-detalle-direccion {
    font-size: 1.0625rem;
    color: #6B7280;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.mp-detalle-direccion i {
    font-size: 1.125rem;
    color: #9CA3AF;
    flex-shrink: 0;
}

.mp-detalle-list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 1.25rem;
}

.mp-detalle-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.mp-detalle-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
}

.mp-detalle-icon i {
    font-size: 1.25rem;
}

.mp-detalle-icon-servicio {
    background: #FFEDD5;
    color: #C2410C;
}

.mp-detalle-icon-profesional {
    background: #DBEAFE;
    color: #1D4ED8;
}

.mp-detalle-icon-fecha {
    background: #D1FAE5;
    color: #047857;
}

.mp-detalle-icon-hora {
    background: #FCE7F3;
    color: #BE185D;
}

.mp-detalle-icon-duracion {
    background: #EDE9FE;
    color: #6D28D9;
}

.mp-detalle-item-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.mp-detalle-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1F2937;
}

.mp-detalle-label {
    font-size: 1rem;
    color: #6B7280;
    font-weight: 400;
}

.mp-perfil-detalle-content .mp-detalle-btn {
    font-size: 1.125rem;
    padding: 0.75rem 1.25rem;
}


#kt_header .mp-btn-outline.active {
    border-color: #8B5CF6;
    background: rgba(139, 92, 246, 0.12);
    color: #6D28D9;
}

@media (max-width: 991.98px) {
    .mp-perfil-cliente .col-lg-8 {
        order: 1;
    }

    .mp-perfil-cliente .col-lg-4 {
        order: 2;
    }
}

/* ─── Historial tab – tabla y acciones ───────────────────────────────── */
.mp-historial-card {
    border-radius: 12px;
    border: 1px solid #E9E3F5;
    box-shadow: 0 1px 3px rgba(27, 27, 58, 0.06);
}

.mp-historial-table {
    --bs-table-bg: transparent;
}

.mp-historial-row:hover {
    background-color: rgba(139, 92, 246, 0.03);
}

.mp-historial-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.mp-historial-btn-replicar {
    background: rgba(139, 92, 246, 0.12);
    color: #6D28D9;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.mp-historial-btn-replicar:hover {
    background: rgba(139, 92, 246, 0.2);
    color: #5B21B6;
    border-color: rgba(139, 92, 246, 0.5);
}

.mp-historial-btn-comprobante {
    background: #F3F4F6;
    color: #9CA3AF;
    border: 1px solid #E5E7EB;
    cursor: not-allowed;
}

.mp-historial-btn-resena {
    background: rgba(234, 179, 8, 0.12);
    color: #B45309;
    border: 1px solid rgba(234, 179, 8, 0.3);
}

.mp-historial-btn-resena:hover {
    background: rgba(234, 179, 8, 0.2);
    color: #92400E;
    border-color: rgba(234, 179, 8, 0.5);
}

.mp-historial-btn i {
    flex-shrink: 0;
}

/* ─── Botón Editar perfil: mismo azul oscuro #464E5F (global en buttons-unified.css) ─── */
#mp_btn_editar_perfil,
#mp_btn_editar_perfil:hover,
#mp_btn_editar_perfil:focus,
#mp_btn_editar_perfil:active {
    background-color: #464E5F !important;
    border-color: #464E5F !important;
}

/* Botón Volver a reservar: btn-outline con hover #464E5F */
.btn-outline.mp-btn-volver-reservar,
.btn.mp-btn-volver-reservar {
    background: transparent;
    border: 1px solid #464E5F;
    color: #464E5F;
}
.btn-outline.mp-btn-volver-reservar:hover,
.btn.mp-btn-volver-reservar:hover {
    background-color: #464E5F;
    border-color: #464E5F;
    color: #fff;
}
