/* ============================================
   BARBERÍA DETALLE - BarberConnect
   TODOS LOS ESTILOS UNIFICADOS
   ============================================ */

/* ============================================
   HEADER
   ============================================ */
.barberia-header {
    background: #ffffff;
    padding: 16px 0;
    border-bottom: 3px solid #1a1a1a;
    margin-bottom: 16px;
}

.barberia-header-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.barberia-logo-section {
    display: flex;
    align-items: center;
    gap: 14px;
}

.barberia-logo-img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid #e8e8e8;
}

.barberia-logo-placeholder {
    width: 50px;
    height: 50px;
    background: #f5f5f5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #ccc;
    border: 1px solid #e8e8e8;
}

.barberia-nombre {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 2px 0;
    color: #1a1a1a;
}

/* ============================================
   TÍTULO PREMIUM CON GRADIENTE DORADO
   ============================================ */
.barberia-nombre-premium {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a1a;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.barberia-nombre-premium:hover {
    color: #f2ca50;
    text-shadow: 0 0 30px rgba(242, 202, 80, 0.1);
}

.barberia-nombre-premium::after {
    content: '✦';
    position: absolute;
    top: -8px;
    right: -24px;
    font-size: 0.6rem;
    color: #f2ca50;
    opacity: 0;
    transform: scale(0) rotate(-45deg);
    transition: all 0.4s ease;
}

.barberia-nombre-premium:hover::after {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* ============================================
   TÍTULO CON GRADIENTE DORADO (TITLE-GOLD)
   ============================================ */
.title-gold {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f2ca50, #d4a830, #f2ca50);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShine 3s ease-in-out infinite;
    letter-spacing: -0.5px;
}

@keyframes goldShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ============================================
   RATING
   ============================================ */
.barberia-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.barberia-rating .stars .fa-star {
    font-size: 0.85rem;
    color: #ddd;
}

.barberia-rating .stars .fa-star.active {
    color: #f2ca50;
    animation: starPop 0.4s ease-out;
}

@keyframes starPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.rating-text {
    font-size: 0.75rem;
    color: #888;
}

/* ============================================
   RATING BADGE PREMIUM
   ============================================ */
.rating-badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(242, 202, 80, 0.08);
    padding: 4px 14px 4px 10px;
    border-radius: 40px;
    border: 1px solid rgba(242, 202, 80, 0.15);
    transition: all 0.3s ease;
}

.rating-badge-premium:hover {
    background: rgba(242, 202, 80, 0.15);
    border-color: rgba(242, 202, 80, 0.3);
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(242, 202, 80, 0.05);
}

/* ============================================
   INFO GRID
   ============================================ */
.info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 14px;
    padding: 0 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #555;
    font-size: 0.8rem;
}

.info-item span {
    font-size: 1rem;
}

/* ============================================
   ICONO NEÓN
   ============================================ */
.icon-neon {
    color: #f2ca50;
    text-shadow: 0 0 7px rgba(242, 202, 80, 0.2);
    transition: all 0.3s ease;
}

.icon-neon:hover {
    text-shadow: 
        0 0 7px rgba(242, 202, 80, 0.5),
        0 0 10px rgba(242, 202, 80, 0.3),
        0 0 21px rgba(242, 202, 80, 0.2);
    transform: scale(1.05);
}

/* ============================================
   DESCRIPCIÓN
   ============================================ */
.descripcion-box {
    background: #f8f8f8;
    padding: 12px 16px;
    border-radius: 10px;
    color: #666;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0 20px 16px 20px;
    border: 1px solid #e8e8e8;
}

/* ============================================
   LAYOUT DE 2 COLUMNAS
   ============================================ */
.barberia-layout {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px 30px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

/* ============================================
   SECCIONES
   ============================================ */
.seccion {
    margin-bottom: 24px;
}

/* ============================================
   TÍTULO DE SECCIÓN PREMIUM
   ============================================ */
.section-title-premium {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    position: relative;
}

.section-title-premium .icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(242, 202, 80, 0.1);
    color: #f2ca50;
    transition: all 0.4s ease;
}

.section-title-premium:hover .icon-wrapper {
    background: #f2ca50;
    color: #1a1c1c;
    transform: rotate(-10deg) scale(1.05);
    box-shadow: 0 4px 20px rgba(242, 202, 80, 0.3);
}

.section-title-premium .title-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, #e8e8e8, transparent);
    margin-left: 8px;
}

/* ============================================
   SERVICIOS
   ============================================ */
.servicio-item {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    transition: all 0.3s ease;
    margin-bottom: 6px;
}

.servicio-item:hover {
    border-color: #f2ca50;
}

.servicio-item .servicio-nombre {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
}

.servicio-item .servicio-duracion {
    font-size: 0.7rem;
    color: #888;
    margin: 2px 0 0 0;
}

.servicio-item .servicio-precio {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
}

/* ============================================
   PRECIO CON GRADIENTE
   ============================================ */
.icon-gradient {
    background: linear-gradient(135deg, #f2ca50, #d4a830);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s ease;
}

.icon-gradient:hover {
    background: linear-gradient(135deg, #fff, #f2ca50);
    -webkit-background-clip: text;
    background-clip: text;
    transform: scale(1.05);
}

/* ============================================
   BOTÓN AGENDAR
   ============================================ */
.btn-agendar {
    background: #1a1a1a;
    color: white;
    padding: 4px 12px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-agendar:hover {
    background: #333;
    transform: translateY(-2px);
}

/* ============================================
   PRODUCTOS
   ============================================ */
.producto-card {
    background: #f8f8f8;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 10px;
    transition: all 0.3s ease;
}

.producto-card:hover {
    transform: translateY(-4px);
    border-color: #f2ca50;
}

.producto-card .producto-imagen {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    background: #f0f0f0;
}

.producto-card .producto-nombre {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.75rem;
    margin: 0;
}

.producto-card .producto-precio {
    color: #f2ca50;
    font-weight: 700;
    font-size: 0.8rem;
}

.producto-card .producto-descripcion {
    color: #888;
    font-size: 0.65rem;
    margin-top: 2px;
}

.producto-card .producto-tienda {
    font-size: 0.55rem;
    color: #f2ca50;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

/* ============================================
   PROMOCIONES
   ============================================ */
.promociones-card {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 14px;
    border: 1px solid #e8e8e8;
}

.promo-card-detalle {
    background: #ffffff;
    border-radius: 10px;
    padding: 10px;
    border: 1px solid #e8e8e8;
    border-left: 3px solid #f2ca50;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.promo-card-detalle:hover {
    border-color: #f2ca50;
}

.promo-card-detalle .promo-imagen {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 6px;
}

.promo-card-detalle .promo-etiqueta {
    background: #f2ca50;
    color: #1a1c1c;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
}

.promo-card-detalle .promo-titulo {
    margin: 4px 0 2px 0;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1a1a1a;
}

.promo-card-detalle .promo-descripcion {
    color: #666;
    font-size: 0.7rem;
}

/* ============================================
   BADGE PREMIUM
   ============================================ */
.badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.badge-premium.gold {
    background: rgba(242, 202, 80, 0.12);
    color: #f2ca50;
    border: 1px solid rgba(242, 202, 80, 0.15);
}

.badge-premium.gold:hover {
    background: #f2ca50;
    color: #1a1c1c;
    box-shadow: 0 4px 20px rgba(242, 202, 80, 0.3);
    transform: translateY(-2px);
}

/* ============================================
   CALIFICACIONES
   ============================================ */
.calificacion-form {
    background: #f8f8f8;
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 16px;
    border: 1px solid #e8e8e8;
}

.stars-input {
    display: flex;
    gap: 4px;
}

.stars-input .star-select {
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.stars-input .star-select:hover {
    transform: scale(1.1);
}

.calificacion-item {
    border-bottom: 1px solid #f0f0f0;
    padding: 8px 0;
}

.calificacion-item:last-child {
    border-bottom: none;
}

/* ============================================
   UBICACIÓN
   ============================================ */
.ubicacion-card {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 14px;
    border: 1px solid #e8e8e8;
}

.ubicacion-card #map {
    height: 160px;
    border-radius: 8px;
    background: #e8e8e8;
    margin-bottom: 8px;
}

.ubicacion-card .ubicacion-detalle {
    color: #555;
    font-size: 0.75rem;
    margin-bottom: 4px;
}

.ubicacion-card .ubicacion-detalle span {
    font-size: 0.9rem;
}

.btn-como-llegar {
    background: #1a1a1a;
    color: white;
    padding: 4px 12px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.btn-como-llegar:hover {
    background: #333;
}

/* ============================================
   REDES SOCIALES
   ============================================ */
.redes-card {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 14px;
    border: 1px solid #e8e8e8;
}

.redes-card .redes-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon.facebook {
    color: #1877f2;
    background: rgba(24, 119, 242, 0.08);
}

.social-icon.facebook:hover {
    color: #ffffff;
    background: #1877f2;
    box-shadow: 0 0 25px rgba(24, 119, 242, 0.3);
    transform: translateY(-3px) scale(1.05);
}

.social-icon.instagram {
    color: #e4405f;
    background: rgba(228, 64, 95, 0.08);
}

.social-icon.instagram:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
    box-shadow: 0 0 25px rgba(228, 64, 95, 0.3);
    transform: translateY(-3px) scale(1.05);
}

.social-icon.x-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    padding: 8px;
}

.social-icon.x-logo:hover {
    background: #1a1a1a;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px) scale(1.05);
}

.social-icon.x-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0);
}

.social-icon.x-logo:hover img {
    filter: brightness(1) invert(1);
}

/* ============================================
   EFECTOS DE ANIMACIÓN EXTRA
   ============================================ */

/* Icono flotante */
.icon-float {
    animation: float-icon 3s ease-in-out infinite;
}

@keyframes float-icon {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-4px); }
}

/* Icono con brillo */
.icon-shine {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-shine::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    padding: 2px;
    background: conic-gradient(from 0deg, 
        transparent 0deg, 
        rgba(242, 202, 80, 0.3) 45deg,
        rgba(242, 202, 80, 0.6) 90deg,
        rgba(242, 202, 80, 0.3) 135deg,
        transparent 180deg
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: shineRotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.icon-shine:hover::before {
    opacity: 1;
}

@keyframes shineRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Tarjeta con borde dorado */
.card-gold-border {
    transition: all 0.4s ease;
    border: 1px solid #e8e8e8;
    position: relative;
}

.card-gold-border:hover {
    border-color: #f2ca50;
    box-shadow: 0 0 25px rgba(242, 202, 80, 0.06);
}

/* Efecto de brillo en tarjetas */
.card-shimmer {
    position: relative;
    overflow: hidden;
}

.card-shimmer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(242, 202, 80, 0.02) 50%,
        transparent 70%
    );
    animation: cardShimmer 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes cardShimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .barberia-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px 20px;
    }
    
    .barberia-header-container {
        padding: 0 16px;
        flex-direction: column;
        text-align: center;
    }
    
    .barberia-logo-section {
        flex-direction: column;
        text-align: center;
    }
    
    .barberia-contacto {
        justify-content: center;
    }
    
    .barberia-nombre-premium {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .barberia-nombre {
        font-size: 1.1rem;
    }
    
    .barberia-nombre-premium {
        font-size: 1.3rem;
    }
    
    .barberia-logo-img {
        width: 44px;
        height: 44px;
    }
    
    .servicio-item {
        flex-direction: column;
        text-align: center;
    }
    
    .producto-card .producto-imagen {
        height: 80px;
    }
    
    .ubicacion-card #map {
        height: 130px;
    }
    
    .info-grid {
        padding: 0 16px;
    }
    
    .descripcion-box {
        margin: 0 16px 12px 16px;
    }
    
    .social-icon {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }
    
    .social-icon.x-logo {
        width: 34px;
        height: 34px;
        padding: 6px;
    }
    
    .section-title-premium {
        font-size: 1rem;
    }
    
    .section-title-premium .icon-wrapper {
        width: 30px;
        height: 30px;
    }
   /* ============================================
   INFO GRID - DISEÑO PREMIUM SIN LÍNEAS NEGRAS
   ============================================ */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 0;
    margin-bottom: 16px;
    padding: 0 20px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e8e8e8;
    overflow: hidden;
    min-height: 44px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.info-grid:hover {
    border-color: #f2ca50;
    box-shadow: 0 4px 20px rgba(242, 202, 80, 0.05);
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-right: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    min-width: 0;
    position: relative;
}

.info-item:last-child {
    border-right: none;
}

/* Efecto de brillo en cada item */
.info-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(242, 202, 80, 0.02), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.info-item:hover::before {
    opacity: 1;
}

.info-item .material-symbols-outlined {
    font-size: 1.1rem;
    color: #f2ca50;
    flex-shrink: 0;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 6px rgba(242, 202, 80, 0.1));
}

.info-item:hover .material-symbols-outlined {
    transform: scale(1.15);
    filter: drop-shadow(0 0 20px rgba(242, 202, 80, 0.3));
}

.info-item .info-text {
    font-size: 0.78rem;
    font-weight: 500;
    color: #444;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.info-item:hover .info-text {
    color: #1a1a1a;
}

/* Fondo suave al hover de todo el item */
.info-item:hover {
    background: rgba(242, 202, 80, 0.04);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr 1fr;
        border-radius: 12px;
        padding: 0 16px;
    }
    
    .info-item:nth-child(2) {
        border-right: none;
    }
    
    .info-item .info-text {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .info-grid {
        grid-template-columns: 1fr;
        border-radius: 10px;
        gap: 2px;
        padding: 0 16px;
        min-height: auto;
    }
    
    .info-item {
        border-right: none;
        border-bottom: 1px solid #f5f5f5;
        justify-content: flex-start;
        padding: 8px 12px;
    }
    
    .info-item:last-child {
        border-bottom: none;
    }
    
    .info-item .info-text {
        font-size: 0.7rem;
    }
}
}