/* === SALONE PAGE — clases específicas + overrides mínimos === */

/* Override old color classes (no existen en nuevo.css) */
.text-pink,
.text-purple,
.text-brown {
    color: var(--primary-blue) !important;
}

.bg-pink {
    background: var(--primary-orange) !important;
}

/* --- Carousel de fotos (controles azules) --- */
.new-section .carousel {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.new-section .carousel .carousel-control-prev,
.new-section .carousel .carousel-control-next {
    width: 38px;
    height: 38px;
    background: var(--primary-blue);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 4px 12px rgba(0, 68, 129, 0.3);
    opacity: 0.85;
    transition: opacity 0.3s;
}

.new-section .carousel .carousel-control-prev:hover,
.new-section .carousel .carousel-control-next:hover {
    opacity: 1;
}

.new-section .carousel .carousel-control-prev {
    left: 10px;
}

.new-section .carousel .carousel-control-next {
    right: 10px;
}

.new-section .carousel .carousel-control-prev-icon,
.new-section .carousel .carousel-control-next-icon {
    width: 16px;
    height: 16px;
}

/* --- Override old layout --- */
.new-section {
    padding: 40px 0 30px;
    border-bottom: 8px solid var(--bg-light) !important;
}

/* --- Salon header (logo + name) --- */
.new-section .custom-text-lg {
    font-size: 2.2rem !important;
    font-weight: 900;
    letter-spacing: -0.5px;
    line-height: 1.1;
    color: var(--primary-blue) !important;
}

.new-section .shrinked-row .col-sm p {
    color: #666;
    font-weight: 600;
    font-size: 1.05rem;
    margin-top: 6px;
}

.new-section .shrinked-row .col-sm img {
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

/* --- Main content cards --- */
.bg-light > .container-fluid > .row > .col-lg-8 > .card {
    border-radius: 16px !important;
    border: none;
    border-left: 4px solid var(--primary-orange) !important;
    box-shadow: var(--card-shadow);
    padding: 30px !important;
}

.bg-light > .container-fluid > .row > .col-lg-8 > .card h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px !important;
    color: var(--primary-blue) !important;
}

.bg-light > .container-fluid > .row > .col-lg-8 > .card p,
.bg-light > .container-fluid > .row > .col-lg-8 > .card div {
    color: var(--text-dark);
    line-height: 1.7;
}

/* --- Sidebar cards --- */
.col-lg-4 > .card {
    border-radius: 16px !important;
    border: none;
    box-shadow: var(--card-shadow);
    padding: 24px !important;
    margin-bottom: 24px !important;
    background: white !important;
    color: var(--text-dark) !important;
}

/* Contact card */
.card.bg-dark {
    background: var(--primary-blue) !important;
    color: white !important;
}

.card.bg-dark .icon i {
    color: var(--primary-orange) !important;
    width: 24px;
}

.card.bg-dark a:not(.btn) {
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
}

.card.bg-dark a:not(.btn):hover {
    text-decoration: underline;
    opacity: 0.9;
}

.card.bg-dark p {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.card.bg-dark p .icon {
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

/* --- Price card --- */
.col-lg-4 > .card .bg-pink {
    margin: -24px -24px 16px !important;
    padding: 14px !important;
    border-radius: 16px 16px 0 0;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.col-lg-4 > .card .bg-pink strong {
    font-weight: 800;
}

.col-lg-4 > .card .price {
    font-family: 'Nunito', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-blue);
}

.col-lg-4 > .card p small {
    color: #999;
    font-size: 0.85rem;
}

/* --- Capacity card --- */
.col-lg-4 > .card .text-pink {
    color: var(--primary-orange) !important;
    font-size: 1.1rem !important;
    font-weight: 700;
}

.col-lg-4 > .card .text-pink .fa-users {
    margin-right: 4px;
}

.col-lg-4 > .card p:last-child {
    font-weight: 600;
    color: #555;
}

/* --- Facilities card --- */
.col-lg-4 > .card .custom-text-md {
    font-size: 1.5rem !important;
    gap: 16px;
    color: var(--primary-orange) !important;
}

.col-lg-4 > .card .custom-text-md i {
    background: var(--bg-light);
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    color: var(--primary-blue);
    font-size: 1.3rem;
}

.col-lg-4 > .card .custom-text-md i:hover {
    background: var(--primary-blue);
    color: white;
    transform: scale(1.1);
}

/* --- Social icons --- */
.social_tbl {
    width: 100%;
    border-collapse: collapse;
}

.social_tbl tr {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.social_tbl td {
    display: inline-flex;
    padding: 0;
    border: none;
}

.social_tbl td a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.social_tbl td a:hover {
    opacity: 0.8;
}

.social_tbl td a img {
    object-fit: contain;
}

.social_tbl td:not(:has(a)) {
    opacity: 0.35;
    cursor: not-allowed;
}

.social_tbl td:not(:has(a)) img {
    filter: grayscale(1);
}

/* --- Map card --- */
.col-lg-4 > .card iframe {
    border-radius: 12px !important;
    margin: -4px;
    width: calc(100% + 8px) !important;
}

/* --- Form section --- */
.background {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #012c55 100%) !important;
    background-color: var(--primary-blue) !important;
    background-attachment: fixed !important;
    position: relative;
}

.background > .py-5 {
    background: rgba(0, 0, 0, 0.4) !important;
}

#formulario {
    background: transparent !important;
    background-color: transparent !important;
    opacity: 1 !important;
    padding: 40px 25px !important;
    max-width: 520px;
    margin: 0 auto;
}

#formulario h2 {
    font-size: 1.4rem !important;
    font-weight: 800;
    margin-bottom: 28px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
}

#formulario h2 i {
    color: var(--primary-orange);
    font-size: 1.6rem !important;
}

#formulario .form-group {
    margin-bottom: 16px !important;
    padding: 0 !important;
}

#formulario .form-group label {
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 0 5px 0 !important;
    padding: 0 !important;
    font-weight: 700;
    font-size: 0.8rem !important;
    letter-spacing: 0.5px;
    display: block;
    text-transform: uppercase;
}

#formulario .form-group .form-control {
    margin: 0 !important;
    border-radius: 12px !important;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
    padding: 12px 16px !important;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.92) !important;
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: none !important;
    height: auto !important;
    line-height: 1.5;
    width: 100%;
}

#formulario .form-group .form-control:focus {
    border-color: var(--primary-orange) !important;
    box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.25) !important;
    outline: none;
    background: #fff !important;
}

#formulario .form-group select.form-control {
    cursor: pointer;
    appearance: auto;
}

#formulario .form-group textarea.form-control {
    min-height: 80px;
    resize: vertical;
}

#myForm input[type="submit"] {
    background: linear-gradient(45deg, var(--primary-orange), #ffbb33) !important;
    background-color: var(--primary-orange) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 14px 32px !important;
    font-weight: 800 !important;
    font-size: 1rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.3) !important;
    transition: all 0.3s !important;
    width: 100%;
    cursor: pointer;
}

#myForm input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(255, 153, 0, 0.4) !important;
    filter: brightness(1.05);
}

#myCanvas {
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    background: rgba(255, 255, 255, 0.1);
    display: block;
    margin: 4px 0 8px;
}

#container {
    padding-bottom: 4px !important;
    text-align: left !important;
}

#formulario .form-group label[for="submit"] {
    font-size: 0.75rem !important;
    opacity: 0.6;
    display: inline-block;
}

#formulario .form-control::placeholder {
    color: #999;
    font-weight: 400;
    font-size: 0.85rem;
}

/* --- Floating WhatsApp --- */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 15px;
    z-index: 100;
    background: #25D366;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

.floating-whatsapp img {
    width: 32px;
    height: 32px;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .new-section .custom-text-lg {
        font-size: 1.8rem !important;
    }

    .bg-light > .container-fluid > .row > .col-lg-8 > .card {
        padding: 20px !important;
    }

    #formulario {
        padding: 30px 20px !important;
    }
}

@media (max-width: 768px) {
    .new-section {
        padding: 20px 0;
        text-align: center;
    }

    .new-section .custom-text-lg {
        font-size: 1.5rem !important;
    }

    .new-section .shrinked-row .col-sm:first-child {
        max-width: 80px !important;
        margin: 0 auto;
    }

    .new-section .shrinked-row .col-sm p {
        font-size: 0.95rem;
    }

    .col-lg-4 > .card {
        padding: 16px !important;
        margin-bottom: 16px !important;
    }

    .col-lg-4 > .card .price {
        font-size: 1.8rem;
    }

    .bg-light > .container-fluid > .row > .col-lg-8 > .card h2 {
        font-size: 1.4rem;
    }

    #formulario h2 {
        font-size: 1.2rem !important;
    }

    #formulario .form-group .form-control {
        padding: 11px 14px !important;
        font-size: 0.9rem;
    }

    #myForm input[type="submit"] {
        padding: 13px 28px !important;
        font-size: 0.95rem !important;
    }


}
