/* ==========================================================================
   CSS GLOBAL CONSOLIDADO - LASER ARANS (WP VERSION)
   ========================================================================== */

:root {
    --primary: #143199;
    /* Azul Marino Arans */
    --secondary: #5999d4;
    /* Azul Celeste Arans */
    --white: #ffffff;
    --black: #1a1a1a;
    --bg-light: #f8f9fa;
    --gray: #666666;
    --text-gray: #666666;
    --whatsapp: #25D366;
    --accent: #2a2a2a;
    /* Gris Oscuro / Títulos */
    --transition: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-gray);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
    font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--accent);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1170px;
    margin: 0 auto;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Utilidades UI WebMax --- */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.subtitle-cursive {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: -10px;
    display: block;
}

.section-title h2 {
    font-size: 3rem;
    text-transform: capitalize;
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 30px;
}

.section-title h2::after,
.section-title-centered::after {
    content: '\f06c';
    /* Hoja fa-leaf */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--secondary);
    font-size: 1.5rem;
}

.section-title h2::before,
.section-title-centered::before {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background-color: var(--secondary);
    opacity: 0.3;
}

.btn {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 0;
    /* Estilo más cuadrado TheWebMax */
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}







/* --- HEADER & NAVIGATION --- */
.topbar {
    background: var(--primary);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.85rem;
}

.topbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-promo span {
    font-weight: 700;
    color: #ffeb3b;
}

#site-header {
    background: var(--white);
    padding: 5px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid #eee;
}

#site-header.scrolled {
    padding: 5px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 60px;
    width: auto;
}

/*menu*/
.nav-menu {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-menu>a,
.nav-menu .nav-item>a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--accent);
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-menu>a:hover,
.nav-menu .nav-item>a:hover {
    color: var(--secondary);
}

/* Dropdown Tratamientos */
.nav-item {
    position: relative;
}

.nav-item>a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-item>a .fa-chevron-down {
    font-size: 10px;
    transition: var(--transition);
}

.nav-item:hover>a .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 240px;
    background: var(--white);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-top: 3px solid var(--primary);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu a {
    display: block;
    padding: 10px 25px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: var(--text-gray);
    text-transform: none;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary);
    border-left-color: var(--primary);
    padding-left: 30px;
}

.dropdown-menu a i {
    margin-right: 8px;
    color: var(--secondary);
    width: 16px;
    text-align: center;
}

/* Botón Línea Hairplus en Nav */
.btn-hairplus-nav {
    background: var(--primary);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 12px !important;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-hairplus-nav:hover {
    background: var(--secondary);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(20, 49, 153, 0.3);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.2rem;
    color: var(--primary);
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--secondary);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* --- Hero Section Slider --- */
.hero {
    position: relative;
    background: url('https://images.unsplash.com/photo-1540555700478-4be289fbecef?auto=format&fit=crop&q=80&w=2000') center/cover no-repeat;
    height: 80vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(20, 49, 153, 0.4);
    /* Overlay con color primario */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: var(--white);
}

.hero-content h3 {
    font-family: 'Great Vibes', cursive;
    font-size: 4rem;
    color: var(--primary);
    /* Azul del logo */
    font-weight: 400;
    margin-bottom: 0;
}

.hero-content .subtitle-cursive {
    font-size: 4rem;
    color: var(--primary);
}

.hero-content h1 {
    font-size: 4.5rem;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}


/* --- Welcome (About) --- */
.welcome-section {
    padding: 90px 0;
    position: relative;
    background-color: #f7f9fc;
    background-image: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><path d="M20 20c-5.5 0-10-4.5-10-10 5.5 0 10 4.5 10 10z" fill="rgba(89, 153, 212, 0.05)"/></svg>');
    background-size: 60px 60px;
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.welcome-img {
    position: relative;
    z-index: 2;
}

.welcome-img img {
    border-radius: 5px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.welcome-img::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 100%;
    height: 100%;
    border: 8px solid var(--secondary);
    z-index: -1;
    border-radius: 5px;
}

/* --- Servicios (Estilo TheWebMax) --- */
.services-section {
    padding: 100px 0;
    background-color: #ffffff;
    background-image: url('https://thewebmax.org/spa/images/background/bg-1.png');
    background-position: center bottom;
    background-size: 100% auto;
    background-repeat: no-repeat;
    position: relative;
}

.services-section .container {
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-box {
    background-color: var(--white);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.service-media {
    position: relative;
    overflow: hidden;
}

.service-media img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.service-box:hover .service-media img {
    transform: scale(1.1);
}

/* Caja de info sobrepuesta a la imagen TheWebMax Style */
.service-info {
    padding: 30px;
    text-align: center;
    position: relative;
    background: var(--white);
    margin: -40px 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

.service-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.service-info p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.service-info ul {
    text-align: left;
    margin-bottom: 20px;
}

.service-info ul li {
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.service-info ul li i {
    color: var(--secondary);
    margin-right: 8px;
}

.service-btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--primary);
    padding-bottom: 2px;
    transition: var(--transition);
}

.service-btn:hover {
    color: var(--secondary);
    border-color: var(--secondary);
}

/* --- Testimonios (Parallax + TheWebMax Style) --- */
.testimonials-section {
    padding: 100px 0;
    background: url('https://images.unsplash.com/photo-1544161515-4ab6ce6db874?auto=format&fit=crop&q=80&w=2000') center/cover fixed;
    position: relative;
    color: var(--white);
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(20, 49, 153, 0.85);
    /* Azul primario en overlay */
}

.testimonials-section .container {
    position: relative;
    z-index: 2;
}

.testimonials-section .section-title h2 {
    color: var(--white);
}

.testimonials-section .subtitle-cursive {
    color: var(--secondary);
}

.testimonial-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    cursor: grab;
    /* Indica que se puede arrastrar */
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-item {
    min-width: 350px;
    background: transparent;
    text-align: center;
    padding: 20px;
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid var(--secondary);
    overflow: hidden;
}

.testimonial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #efefef;
}

.testimonial-author {
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonial-author span {
    display: block;
    margin-top: 5px;
    font-size: 0.8rem;
    color: var(--secondary);
    font-weight: 400;
}

/* --- Blog --- */
.blog-section {
    padding: 90px 0;
    background-color: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.blog-post {
    background: var(--bg-light);
    border-bottom: 3px solid var(--secondary);
}

.blog-media {
    position: relative;
    overflow: hidden;
}

.blog-media img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.blog-post:hover .blog-media img {
    transform: scale(1.05);
}

.blog-date {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    color: var(--white);
    padding: 5px 15px;
    font-weight: 600;
    font-size: 13px;
}

.blog-info {
    padding: 25px;
}

.blog-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.blog-info h3 a {
    transition: var(--transition);
}

.blog-info h3 a:hover {
    color: var(--secondary);
}


.btn-leer-mas {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--primary);
    padding-bottom: 2px;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-leer-mas:hover {
    color: var(--secondary);
    border-color: var(--secondary);
}

.carousel-arrow {
    width: 35px;
    height: 35px;
    background: #5999d4;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    border-radius: 3px;
    flex-shrink: 0;
    margin: 0 10px;
}

.carousel-arrow:hover {
    background: var(--primary);
}

/* --- Para Ti: Tratamientos Destacados --- */
.featured-treatments-section {
    padding: 95px 0 60px;
    background-color: #ffffff;
    background-image: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), url('../images/lillaby-sakura-2160666_1920.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.featured-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.featured-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 15px 15px 0;
    scrollbar-width: none;
    flex-grow: 1;
}

.featured-carousel::-webkit-scrollbar {
    display: none;
}

.featured-item {
    min-width: 320px;
    flex: 1;
}

.featured-card {
    background: var(--white);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.featured-media {
    position: relative;
    overflow: hidden;
}

.featured-media img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.featured-card:hover .featured-media img {
    transform: scale(1.1);
}

.featured-info {
    padding: 30px;
    text-align: center;
    position: relative;
    background: var(--white);
    margin: -40px 20px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.featured-info h4 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
}

.featured-info p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.featured-info .linea-destacada {
    font-weight: 700;
    color: var(--primary);
}

.featured-info .btn-ver {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--primary);
    padding-bottom: 2px;
    transition: var(--transition);
    display: inline-block;
    text-decoration: none;
    margin-top: auto;
    align-self: center;
}

.featured-info .btn-ver:hover {
    color: var(--secondary);
    border-color: var(--secondary);
}

/* Carrusel de Productos HAIRPLUS (Diseño Circular) */
.hairplus-section {
    background-color: #ffffff;
    background-image: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), url('lillaby-sakura-2160666_1920.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 100px 0 60px;
    margin-bottom: 0;
    margin-top: 0;
    display: block;
    position: relative;
}

.product-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 0;
}

.product-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 15px 15px 0;
    scrollbar-width: none;
    flex-grow: 1;
}

.product-carousel::-webkit-scrollbar {
    display: none;
}

.product-item {
    min-width: 300px;
    flex: 1;
    text-align: center;
    position: relative;
}

.product-card {
    background: var(--white);
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.product-img-square {
    width: 100%;
    height: 220px;
    object-fit: contain;
    padding: 20px;
    transition: var(--transition);
}

.product-item:hover .product-img-square {
    transform: scale(1.05);
}

.product-info-inside {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: center;
}

.product-buy-zone {
    margin-top: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-card .price {
    font-size: 1.4rem;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
}

.product-card .product-category {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 8px;
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.product-card h4 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    line-height: 1.2;
}

.view-more-link {
    display: inline-block;
    margin: 5px 0 20px;
    font-size: 0.85rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.view-more-link:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.btn-hairplus {
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    transition: var(--transition);
    margin-top: auto;
    border: none;
    cursor: pointer;
}

.btn-hairplus:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    color: var(--white);
}



/*categories*/
/* PAGE HEADER BANNER */
.page-header {
    background: url('https://images.unsplash.com/photo-1560750588-73207b1ef5b8?auto=format&fit=crop&q=80&w=2000') center/cover no-repeat;
    padding: 100px 0;
    text-align: center;
    color: #fff;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(20, 49, 153, 0.7);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: #fff;
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.page-breadcrumbs {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-breadcrumbs a {
    color: #5999d4;
    margin-right: 5px;
}

/* DETALLE LAYOUT - REPLICANDO BEAUTYZONE */
.service-details-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    padding: 80px 0 30px;
    align-items: start;
}

/* Columna Principal */
.service-content {
    min-width: 0;
    color: var(--text-gray);
    font-size: 1rem;
    font-weight: 300;
}

.service-content img.main-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.service-content h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 5px;
    text-align: center;
}

.title-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 5px 0 10px;
}

.title-separator::before,
.title-separator::after {
    content: '';
    height: 1px;
    background: var(--secondary);
    width: 50px;
    opacity: 0.6;
}

.title-separator i {
    color: var(--secondary);
    font-size: 1.1rem;
}

/* --- Utilidades UI (Estilo Home) --- */
.section-title {
    text-align: center;
    margin-bottom: 0;
}

.subtitle-cursive {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: -15px;
    display: block;
}

.section-title h2 {
    font-size: 3rem;
    text-transform: capitalize;
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 30px;
    margin-top: 0;
}

.section-title h2::after {
    content: '\f06c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--secondary);
    font-size: 1.5rem;
}

.section-title h2::before {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background-color: var(--secondary);
    opacity: 0.3;
}

.service-content .service-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666666;
    margin-bottom: 40px;
    font-weight: 300;
}

.service-content p {
    margin-bottom: 20px;
    font-size: 1rem;
}

.service-content h3 {
    font-size: 1.8rem;
    color: #143199;
    margin: 30px 0 15px;
}

/* Lista de beneficios (2 columnas) */
.benefits-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 25px 0 35px;
    list-style: none;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 400;
    font-size: 1.1rem;
    color: #666666;
}

.benefits-list li i {
    color: #5999d4;
    font-size: 1.3rem;
    margin-top: 0;
}

/* Carrusel de Galería (Superior con lupa) */
.gallery-carousel-wrapper {
    position: relative;
    margin-top: 30px;
    display: flex;
    align-items: center;
}

.service-gallery {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 15px;
    scrollbar-width: thin;
    scrollbar-color: #5999d4 #f0f4f8;
    flex-grow: 1;
}

.service-gallery::-webkit-scrollbar {
    height: 6px;
}

.service-gallery::-webkit-scrollbar-track {
    background: #f0f4f8;
    border-radius: 10px;
}

.service-gallery::-webkit-scrollbar-thumb {
    background: #5999d4;
    border-radius: 10px;
}

.gallery-item {
    min-width: 250px;
    flex: 1;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 49, 153, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    color: #5999d4;
    margin-bottom: 10px;
}

.gallery-overlay span {
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* Carrusel de Tarjetas (Cards con icono flotante) - SERVICIOS ASOCIADOS */
.product-related {
    background-color: #ffffff;
    background-image: url('https://thewebmax.org/spa/images/background/bg-1.png');
    background-position: center bottom;
    background-size: 100% auto;
    background-repeat: no-repeat;
}

.card-carousel-wrapper {
    position: relative;
    margin-top: 50px;
    display: flex;
    align-items: center;
}

.card-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0 30px;
    scrollbar-width: none;
    flex-grow: 1;
}

.card-carousel::-webkit-scrollbar {
    display: none;
}

.card-item {
    min-width: 320px;
    flex: 1;
    position: relative;
    background: transparent;
    transition: var(--transition);
    max-width: 330px;
}

.card-item-media {
    position: relative;
    overflow: hidden;
}

.card-item-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.card-item:hover .card-item-img {
    transform: scale(1.1);
}

.card-item-info {
    padding: 30px;
    text-align: center;
    position: relative;
    background: var(--white);
    margin: -40px 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    z-index: 2;
    border-radius: 0;
}

.card-item-icon {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -55px auto 10px;
    position: relative;
    z-index: 3;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
    color: var(--secondary);
    font-size: 1.2rem;
}

.card-item-info h4 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
}

.card-item-info p.subtitle {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.card-item-info ul {
    text-align: left;
    margin-bottom: 20px;
    list-style: none;
    padding: 0;
}

.card-item-info ul li {
    font-size: 0.85rem;
    margin-bottom: 5px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-item-info ul li i {
    color: var(--secondary);
}

.btn-leer-mas {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--primary);
    padding-bottom: 2px;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-leer-mas:hover {
    color: var(--secondary);
    border-color: var(--secondary);
}

.carousel-arrow {
    width: 35px;
    height: 35px;
    background: #5999d4;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    border-radius: 3px;
    flex-shrink: 0;
    margin: 0 10px;
}

.carousel-arrow:hover {
    background: var(--primary);
}

/* Sección Nuestros Tratamientos Destacados */
.tratamientos-destacados-section {
    background-color: #ffffff;
    background-image: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), url('../images/lillaby-sakura-2160666_1920.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 100px 0 60px;
    margin-bottom: 0;
    margin-top: 0;
    display: block;
    position: relative;
}

.tratamiento-destacado-card {
    min-width: 320px;
    flex: 1;
    background: var(--white);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.tratamiento-media {
    position: relative;
    overflow: hidden;
}

.tratamiento-media img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.tratamiento-destacado-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.tratamiento-destacado-card:hover .tratamiento-media img {
    transform: scale(1.1);
}

.tratamiento-info {
    padding: 30px;
    text-align: center;
    position: relative;
    background: var(--white);
    margin: -40px 20px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tratamiento-info h4 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
}

.tratamiento-info p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.tratamiento-info .linea-destacada {
    font-weight: 700;
    color: var(--primary);
}

.tratamiento-info .btn-ver {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--primary);
    padding-bottom: 2px;
    transition: var(--transition);
    display: inline-block;
    text-decoration: none;
    margin-top: auto;
    align-self: center;
}

.tratamiento-info .btn-ver:hover {
    color: var(--secondary);
    border-color: var(--secondary);
}

/* Carrusel de Productos HAIRPLUS */
.hairplus-section {
    background-color: #ffffff;
    background-image: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), url('lillaby-sakura-2160666_1920.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 100px 0 60px;
    margin-bottom: 0;
    margin-top: 0;
    display: block;
    position: relative;
}

.product-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 0;
}

.product-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 15px 15px 0;
    scrollbar-width: none;
    flex-grow: 1;
}

.product-carousel::-webkit-scrollbar {
    display: none;
}

.product-item {
    min-width: 300px;
    flex: 1;
    text-align: center;
    position: relative;
}

.product-card {
    background: var(--white);
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.product-img-square {
    width: 100%;
    height: 220px;
    object-fit: contain;
    padding: 20px;
    transition: var(--transition);
}

.product-item:hover .product-img-square {
    transform: scale(1.05);
}

.product-info-inside {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: center;
}

.product-buy-zone {
    margin-top: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-card .price {
    font-size: 1.4rem;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
}

.product-card .product-category {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 8px;
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.product-card h4 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    line-height: 1.2;
}

.price {
    display: block;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.view-more-link {
    display: inline-block;
    margin: 5px 0 20px;
    font-size: 0.85rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.view-more-link:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.btn-hairplus {
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    transition: var(--transition);
    margin-top: auto;
    border: none;
    cursor: pointer;
}

.btn-hairplus:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    color: var(--white);
}

/* SIDEBAR (Columna derecha) */
.sidebar {
    position: sticky;
    top: 100px;
}

.widget {
    background: #f8f9fa;
    padding: 35px 30px;
    border-radius: 5px;
    margin-bottom: 40px;
    border-top: 3px solid #5999d4;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.widget-title {
    font-size: 1.5rem;
    color: #143199;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 50px;
    height: 3px;
    background: #5999d4;
}

.widget-category-list {
    list-style: none;
}

.widget-category-list li {
    border-bottom: none;
    margin-bottom: 5px;
    background-color: #f0f4f8;
    border-left: 3px solid #143199;
}

.widget-category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    font-weight: 500;
    color: #143199;
    transition: all 0.3s;
}

.widget-category-list li a:hover {
    background-color: #e8eef6;
    color: #143199;
    padding-left: 25px;
}

.widget-category-list li.current-cat {
    border-left-color: #5999d4;
    background-color: #e8eef6;
}

/* Widget Promocional / Contacto */
.widget-promo {
    background: #143199;
    color: #ffffff;
    text-align: center;
    border-top: none;
}

.widget-promo .widget-title {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.widget-promo .widget-title::after {
    background: #ffffff;
}

.widget-promo p {
    color: #e0e0e0;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.widget-promo .btn-white {
    background: #ffffff;
    color: #143199;
    width: 100%;
}

.widget-promo .btn-white:hover {
    background: #5999d4;
    color: #ffffff;
}

/* LIGHTBOX LASER ARANS */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    padding-top: 50px;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80vh;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border: 3px solid white;
}

.close-lightbox {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #f1f1f1;
    font-size: 60px;
    font-weight: bold;
    cursor: pointer;
}

/*Producto*/
.product-detail-layout {
    padding: 60px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-gallery {
    position: sticky;
    top: 120px;
}

.main-product-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
    background: #fff;
    padding: 20px;
}

.product-tag {
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 10px;
    display: block;
}

.product-info-column h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--primary);
}

.product-price-detail {
    font-size: 1.6rem;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
}

.product-short-desc {
    font-size: 1.02rem;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.8;
    border-left: 3px solid var(--secondary);
    padding-left: 20px;
    font-weight: 300;
}

.service-config {
    display: grid;
    gap: 14px;
    margin-bottom: 30px;
}

.service-config label {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.service-config select {
    width: 100%;
    min-height: 50px;
    border: 1px solid #ddd;
    background: #fff;
    padding: 0 15px;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-gray);
}

.buy-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid #eee;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    height: 50px;
}

.qty-btn {
    width: 40px;
    height: 100%;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary);
}

.qty-input {
    width: 50px;
    text-align: center;
    border: none;
    font-weight: 600;
    font-size: 1rem;
}

.btn-add-cart {
    flex-grow: 1;
    background-color: var(--primary);
    color: #fff;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-add-cart:hover {
    background-color: var(--secondary);
}

.product-meta-extra {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--accent);
}

.meta-item i {
    color: var(--secondary);
    font-size: 1.1rem;
}

.product-tabs-section {
    margin-top: 70px;
    border-top: 1px solid #eee;
    padding-top: 50px;
    margin-bottom: 80px;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.tab-link {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #999;
    cursor: pointer;
    position: relative;
    padding-bottom: 10px;
    transition: var(--transition);
}

.tab-link.active {
    color: var(--primary);
}

.tab-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--secondary);
}

.tab-content {
    max-width: 920px;
    margin: 0 auto;
    display: none;
    animation: fadeIn 0.4s ease;
    color: var(--gray);
    font-weight: 300;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content ul {
    list-style: disc;
    padding-left: 24px;
    margin-top: 15px;
}

.tab-content li {
    margin-bottom: 7px;
}

.related-section {
    padding: 90px 0 60px;
    background-color: #ffffff;
    background-image: linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)), url('lillaby-sakura-2160666_1920.jpg');
    background-size: cover;
    background-position: center;
}

.product-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.product-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 15px 15px 0;
    scrollbar-width: none;
    flex-grow: 1;
}

.product-carousel::-webkit-scrollbar {
    display: none;
}

.product-item {
    min-width: 300px;
    flex: 1;
    text-align: center;
}

.product-card {
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-img-square {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.product-item:hover .product-img-square {
    transform: scale(1.05);
}

.product-info-inside {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: center;
}

.product-category {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
}

.product-info-inside h4 {
    font-size: 1.45rem;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.2;
}

.view-more-link {
    display: inline-block;
    margin: 5px 0 16px;
    font-size: 0.85rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    border-bottom: 1px solid transparent;
}

.view-more-link:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.product-buy-zone {
    margin-top: auto;
}

.price {
    font-size: 1.8rem;
    color: var(--secondary);
    font-weight: 700;
    display: block;
    margin-bottom: 12px;
}

.btn-hairplus {
    background-color: var(--primary);
    color: var(--white);
    padding: 11px 24px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

.btn-hairplus:hover {
    background: var(--secondary);
    color: var(--white);
}


/* 1. Estilos para los Selectores de Variaciones (Zonas y Sesiones) */
.variations {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: -25px;
}

.variations td,
.variations th,
.variations tr,
.variations tbody {
    display: block;
    padding: 0;
    border: none;
    width: 100%;
    text-align: left;
}

/* Imitar el Label del HTML */
.variations label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.85rem;
}

/* Imitar el Select del HTML */
.variations select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    font-family: inherit;
    margin-bottom: 20px;
}

.variations .reset_variations {
    color: var(--primary);
    font-size: 0.85rem;
    width: 100%;
    text-align: right;
    display: block;
}

/* 2. Selector de Cantidad (Qty) */
.quantity {
    display: inline-flex !important;
    align-items: center;
    margin-right: 15px;
}

.quantity .qty {
    width: 50px;
    height: 45px;
    text-align: center;
    border: 1px solid #ddd;
    border-left: none;
    border-right: none;
    font-weight: 600;
}

/* Botones + y - de WooCommerce (si no los tienes, puedes usar JS para añadirlos) */
.quantity input::-webkit-outer-spin-button,
.quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* 3. Botón Añadir al Carrito (Anadir al carrito) */
.single_add_to_cart_button {
    background-color: var(--primary) !important;
    color: #fff !important;
    padding: 12px 30px !important;
    border: none !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px !important;
    height: 45px;
    cursor: pointer;
    transition: var(--transition);
}

.single_add_to_cart_button:hover {
    background-color: var(--secondary) !important;
}

/* Inyectar el Icono del Carrito por CSS para no tocar el Core */
.single_add_to_cart_button::before {
    content: '\f07a';
    /* Icono cart shopping de FontAwesome */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 10px;
}


/*Contacto*/
/* Arans Contact Form Styling */
.page-template-page-contacto .internal-section {
    padding: 80px 0;
}

.arans-contact-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.arans-contact-form .form-row .form-group {
    width: 100%;
}

.arans-contact-form input[type="text"],
.arans-contact-form input[type="email"],
.arans-contact-form input[type="tel"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fdfdfd;
    font-family: inherit;
    transition: border-color 0.3s;
}

.arans-contact-form input:focus {
    border-color: var(--secondary);
    outline: none;
}

.arans-contact-form .form-interests h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin: 20px 0 15px;
}

.arans-contact-form .checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    margin-bottom: 25px;
}

.arans-contact-form .checkbox-grid span.wpcf7-list-item {
    margin: 0;
    font-size: 0.9rem;
    width: 100%;
}

.arans-contact-form .form-privacy {
    margin-bottom: 25px;
    font-size: 0.85rem;
}

.arans-contact-form .form-submit .btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 14px;
    font-weight: 700;
}

.arans-contact-form .form-submit .btn-primary:disabled {
    opacity: 0.5;
}

/* Ajuste Responsive */
@media (max-width: 600px) {
    .arans-contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* --- TABLA DE CARRITO (WooCommerce) --- */
.woocommerce-cart-form {
    width: 100%;
}

.shop_table.cart {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.shop_table.cart thead th {
    background-color: #f8f9fa;
    padding: 15px;
    text-align: left;
    border-bottom: 2px solid var(--secondary);
    color: var(--primary);
}

.shop_table.cart td {
    padding: 20px 15px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

/* Imagen y Título del Producto (como tu layout del leaf) */
.shop_table.cart .product-thumbnail {
    display: none;
}

/* Ocultamos miniaturas si quieres el leaf */
.shop_table.cart .product-name::before {
    content: '\f06c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--secondary);
    font-size: 1.5rem;
    margin-right: 15px;
    display: inline-block;
    vertical-align: middle;
}

/* --- TOTALES DEL CARRITO (Lado derecho) --- */
.cart-collaterals {
    display: grid;
    grid-template-columns: 1fr;
    /* Forzamos el layout 2fr 1fr en el contenedor padre */
}

.cart_totals {
    width: 100% !important;
    background: #fff;
    padding: 0;
}

.cart_totals h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 10px;
    color: var(--primary);
}

.cart_totals table {
    width: 100%;
    margin-bottom: 20px;
}

.cart_totals .cart-subtotal,
.cart_totals .order-total {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.cart_totals .order-total {
    font-size: 1.2rem;
    color: var(--primary);
    border-top: 1px solid #eee;
    margin-top: 10px;
}

/* Botón Finalizar Compra */
.wc-proceed-to-checkout .checkout-button {
    background-color: var(--primary) !important;
    color: #fff !important;
    padding: 15px !important;
    display: block !important;
    text-align: center;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    width: 100%;
}

.wc-proceed-to-checkout .checkout-button:hover {
    background-color: var(--secondary) !important;
}

.woocommerce-message,
.woocommerce-error {
    width: 90%;
    max-width: 1170px;
    margin: 0 auto;
    color: var(--primary);
}

.woocommerce-error {
    color: #a50000;
}

/* Grid Layout de la página de carrito */
@media (min-width: 992px) {
    .woocommerce-cart .woocommerce {
        display: grid;
        align-items: start;
    }

    .woocommerce-cart h1 {
        display: none;
    }

    .woocommerce-cart .page-header h1 {
        color: var(--white);
        font-size: 3.5rem;
        margin-bottom: 10px;
        display: block;
    }
}

button[name="update_cart"] {
    opacity: 1 !important;
    cursor: pointer !important;
    pointer-events: all !important;
    display: none;
}

/* --- CHECKOUT ARANS DESIGN --- */

.arans-checkout-fields input.input-text,
.arans-checkout-fields textarea,
.woocommerce-shipping-fields input.input-text,
.woocommerce-shipping-fields textarea {
    background-color: #fdfdfd;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 12px 15px;
    width: 100%;
}

/* Forzar el grid de los campos (Nombre/Apellido lado a lado) */
#billing_first_name_field,
#billing_last_name_field,
#billing_city_field,
#billing_postcode_field,
#billing_phone_field,
#billing_email_field,
#shipping_first_name_field,
#shipping_last_name_field,
#shipping_city_field,
#shipping_postcode_field,
#shipping_phone_field,
#shipping_mail_field {
    width: 48%;
    display: inline-block;
    vertical-align: top;
}

.woocommerce-billing-fields__field-wrapper p,
.woocommerce-shipping-fields__field-wrapper p {
    margin-bottom: 10px;
}

.woocommerce-checkout .col-left-billing .woocommerce-billing-fields h3 {
    display: none;
}

#billing_first_name_field,
#billing_phone_field,
#billing_postcode_field,
#shipping_first_name_field,
#shipping_phone_field,
#shipping_postcode_field {
    margin-right: 4%;
}

span.woocommerce-input-wrapper {
    float: left;
    width: 100%;
    min-height: 40px;
}

span #order_comments {
    width: 100%;
    min-height: 70px;
}

.woocommerce-checkout-review-order td {
    font-size: 13px;
}

.woocommerce-checkout-payment li {
    font-size: 15px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.woocommerce-form__label.woocommerce-form__label-for-checkbox.checkbox {
    margin-top: 10px;
    display: inline-block;
}

.woocommerce-terms-and-conditions-checkbox-text a {
    text-decoration: underline;
    color: var(--primary);
}


#billing_address_1_field {
    width: 100%;
}

/* Ocultar etiquetas si prefieres usar placeholders (opcional) */
.woocommerce-billing-fields label {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 5px;
    display: block;
}

/* Resumen del pedido (Lado derecho) */
.woocommerce-checkout-review-order-table {
    width: 100%;
    border: none;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 10px 0;
    border: none;
    text-align: left;
}

.order-total th,
.order-total td {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
    padding-top: 20px !important;
    border-top: 2px solid var(--secondary) !important;
}

/* Botón de Pago (Pagar y Reservar) */
#place_order {
    background-color: var(--primary) !important;
    color: white !important;
    width: 100%;
    padding: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    margin-top: 20px;
    transition: var(--transition);
}

#place_order:hover {
    background-color: var(--secondary) !important;
}

/* Métodos de Pago (Stripe, etc) */
.wc_payment_methods {
    list-style: none;
    padding: 0;
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}


.footer-widget h4 {
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 18px;
    font-size: 1.1rem;
}

.footer-widget h4::before {
    content: '\f06c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: 0;
    left: 0;
    color: var(--secondary);
    font-size: 0.8rem;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 24px;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
    opacity: 0.8;
}

@media (max-width: 991px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .product-gallery {
        position: static;
    }

    .product-info-column h1 {
        font-size: 2.2rem;
    }

    .buy-controls {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ==========================================================================
   MI CUENTA (WOOCOMMERCE) - ESTILOS LÁSER ARANS
   ========================================================================== */

/* 1. Layout general de Mi Cuenta (Dos columnas con Grid) */
.woocommerce-account .woocommerce {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 50px;
    align-items: start;
    margin-top: 60px;
    margin-bottom: 80px;
}

/* Ocultar el título H1 por defecto si usas un Page Header */
.woocommerce-account h1.page-title {
    display: none;
}

/* --- 2. Menú de Navegación Lateral --- */
.woocommerce-MyAccount-navigation {
    background: var(--bg-light);
    border-radius: 5px;
    border-top: 4px solid var(--secondary);
    padding: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 100px;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid #eee;
}

.woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 15px 25px;
    font-weight: 500;
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background-color: #ebf2f8;
    color: var(--primary);
    padding-left: 30px;
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    font-weight: 700;
    background-color: #e8eef6;
    border-left: 4px solid var(--primary);
    padding-left: 21px;
}

/* --- 3. Contenido de Mi Cuenta (Lado Derecho) --- */
.woocommerce-MyAccount-content {
    background: var(--white);
    padding: 0;
    color: var(--text-gray);
}

.woocommerce-MyAccount-content a {
    color: var(--primary);
    text-decoration: underline;
}

.woocommerce-MyAccount-content fieldset {
    margin-top: 30px;
    margin-bottom: 20px;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 5px;
}

.woocommerce-MyAccount-content fieldset legend {
    font-weight: 600;
    color: var(--primary);
    padding: 0 10px;
}

.woocommerce-MyAccount-content h3,
.woocommerce-MyAccount-content h2 {
    color: var(--primary);
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    font-family: 'Cormorant Garamond', serif;
}

/* --- 4. Formularios de Login, Registro, Editar Cuenta --- */
.woocommerce-form-login,
.woocommerce-form-register,
.woocommerce-EditAccountForm,
.woocommerce-address-fields__field-wrapper {
    background: #fdfdfd;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 30px;
}

.woocommerce-form-row {
    margin-bottom: 20px;
}

.woocommerce-form-row label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
}

.woocommerce-Input,
.woocommerce-form-row input[type="text"],
.woocommerce-form-row input[type="password"],
.woocommerce-form-row input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    font-family: inherit;
    transition: var(--transition);
}

.woocommerce-Input:focus,
.woocommerce-form-row input:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 5px rgba(89, 153, 212, 0.2);
}

/* --- 5. Botones Globales de la Cuenta --- */
.woocommerce-Button,
.woocommerce-MyAccount-content .button {
    background-color: var(--primary) !important;
    color: #fff !important;
    padding: 12px 25px !important;
    border: none !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer;
    transition: var(--transition) !important;
    display: inline-block;
    text-align: center;
}

.woocommerce-Button:hover,
.woocommerce-MyAccount-content .button:hover {
    background-color: var(--secondary) !important;
}

/* --- 6. Tablas (Pedidos y Descargas) --- */
.woocommerce-orders-table,
.woocommerce-MyAccount-downloads {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.woocommerce-orders-table th,
.woocommerce-MyAccount-downloads th {
    background: var(--bg-light);
    color: var(--primary);
    padding: 10px;
    text-align: left;
    border-bottom: 2px solid var(--secondary);
    font-size: 13px;
}

.woocommerce-orders-table td,
.woocommerce-MyAccount-downloads td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
    font-size: 13px;
}

.woocommerce-orders-table .button {
    padding: 6px 7px !important;
    font-size: 10px !important;
    margin: 3px 5px;
    text-decoration: none;
}

/* --- 7. Direcciones --- */
.woocommerce-Address-title h3 {
    border-bottom: none;
    margin-bottom: 0;
}

.woocommerce-Address {
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    background: #f8f9fa;
}

/* --- 8. Grid para pantalla "Login / Register" de visitantes --- */
.u-columns.col2-set {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.u-column1,
.u-column2 {
    width: 100% !important;
    float: none !important;
}

.internal-section {
    width: 90%;
    max-width: 1170px;
    margin: 0px auto;
}

.internal-section h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: -15px;
    display: block;
    text-align: center;
    padding: 20px 0 0;
}

/* --- 9. Responsivo --- */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        grid-template-columns: 1fr;
        /* Colapsa en una sola columna en móvil */
        gap: 30px;
    }

    .u-columns.col2-set {
        grid-template-columns: 1fr;
        /* Login y registro uno bajo el otro */
        gap: 30px;
    }

    .woocommerce-MyAccount-navigation {
        position: static;
    }
}


/* --- Footer --- */
footer {
    background-color: #111111;
    color: #bbbbbb;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    /* Logo en blanco para footer oscuro */
}

.footer-widget h4 {
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 18px;
    font-size: 1.1rem;
}

.footer-widget h4::before {
    content: '\f06c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: 0;
    left: 0;
    color: var(--secondary);
    font-size: 0.8rem;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 24px;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
    opacity: 0.8;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 5px;
}

/* --- WhatsApp flotante --- */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
}

/* --- MOBILE --- */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .welcome-grid {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        display: none;
    }

    /* Ajustar con el JS para mobile */
}

/* ==========================================================================
   PÁGINA NOSOTROS (CUSTOM BLOCKS)
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.about-grid .about-text, .team-single{
    padding: 2em 0;
}


.about-text h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 25px;
}

.highlight-blue {
    background-color: #cce5ff;
    padding: 0 5px;
    display: inline-block;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.about-feature h4 {
    color: var(--primary);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.about-feature p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Imagen con marco azul desplazado */
.about-image {
    position: relative;
    padding-bottom: 20px;
    padding-right: 20px;
}

.about-image img {
    position: relative;
    z-index: 2;
    border-radius: 0;
    border: 4px solid var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    width: 100%;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 20px;
    bottom: -5px;
    left: 20px;
    right: 0;
    border: 6px solid var(--secondary);
    z-index: 1;
}

/* Rejilla de Iconos */
.features-grid-icon {
    background: #f8f9fa;
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px 40px;
}

.icon-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.icon-box i {
    color: var(--secondary);
    font-size: 2.2rem;
    margin-top: 3px;
}

.icon-box h4 {
    color: var(--primary);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.icon-box p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Liderazgo Médico (Se queda como estaba pero se unifica CSS) */
.team-single {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.team-single-image img {
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.team-single-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.team-single-text ul {
    list-style: none;
    padding: 0;
}

.team-single-text ul li {
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--accent);
}

.team-single-text ul li i {
    color: var(--secondary);
    margin-right: 12px;
}

.dr-title {
    color: var(--secondary);
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 25px;
}

/* CTA SECTION (Fondo Dotted azul) */
.cta-section {
    background-color: var(--primary);
    /* Pattern sutil de hojas giradas como estrellas/puntos */
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 12a1 1 0 1 1-2 0 1 1 0 0 1 2 0z' fill='rgba(255,255,255,0.08)'/%3E%3Cpath d='M18 12a1 1 0 1 1-2 0 1 1 0 0 1 2 0z' fill='rgba(255,255,255,0.08)'/%3E%3Cpath d='M12 6a1 1 0 1 1-2 0 1 1 0 0 1 2 0z' fill='rgba(255,255,255,0.08)'/%3E%3Cpath d='M12 18a1 1 0 1 1-2 0 1 1 0 0 1 2 0z' fill='rgba(255,255,255,0.08)'/%3E%3C/svg%3E");
    color: var(--white);
    padding: 2em 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 25px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
}

.cta-section p {
    margin-bottom: 40px;
    opacity: 0.95;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Botones cuadrados del CTA */
.cta-section .btn {
    border-radius: 0;
    padding: 16px 40px;
    letter-spacing: 2px;
    font-size: 12px;
}

.btn-outline-white {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    text-transform: uppercase;
    margin-right: 15px;
    font-weight: bold;
    display: inline-block;
    transition: var(--transition);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
}

.cta-section .btn-primary {
    background: var(--secondary);
    border: 2px solid var(--secondary);
}

.cta-section .btn-primary:hover {
    background: transparent;
    border-color: var(--secondary);
    color: var(--secondary);
}

@media (max-width: 768px) {

    .about-grid,
    .team-single,
    .about-features {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ==========================================================================
   TARJETA DE PROMOCIÓN EN SIDEBAR (CATEGORÍAS)
   ========================================================================== */
.promo-card {
    background-color: var(--primary);
    border-radius: 10px;
    padding: 25px;
    color: var(--white);
    text-align: center;
    position: relative;
    box-shadow: 0 15px 35px rgba(20, 49, 153, 0.2);
    overflow: hidden;
    height: auto;
    display: flex;
    flex-direction: column;
}

/* Decoración geométrica sutil en la esquina superior que tiene tu diseño */
.promo-card::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 130px;
    height: 130px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 30px;
    transform: rotate(45deg);
    z-index: 1;
}

.promo-badge {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 auto 5px;
    position: relative;
    z-index: 2;
}

.promo-badge i {
    margin-right: 5px;
}

.promo-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.promo-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.promo-variations {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.promo-variation-row {
    background-color: rgba(255, 255, 255, 0.12); /* El azul ligeramente más claro para el área de precio */
    border-radius: 5px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.promo-variation-row:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.promo-variation-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.promo-variation-price {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 1.25rem;
}
.promo-variation-price .price{
    font-size: 1.2rem;
    color: white;
    margin-bottom:0;
}

.promo-btn {
    background-color: var(--white);
    color: var(--primary) !important;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    position: relative;
    z-index: 2;
    border: none;
}

.promo-btn i {
    margin-right: 10px;
}

.promo-btn:hover {
    background-color: var(--secondary);
    color: var(--white) !important;
}
/* ==========================================================================
   MENÚ MÓVIL RESPONSIVO (HAMBURGUESA)
   ========================================================================== */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
    margin-left: 15px;
}

@media (max-width: 991px) {
    .topbar{
        font-size: 0.8rem;
    }
    .logo img{
        height: 50px;
    }
    .header-container{
        height: 60px;
    }
    .mobile-menu-btn {
        display: block;
        /* Muestra el icono hamburguesa */
    }

    /* Oculta y transforma el menú en panel desplegable */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 0;
        z-index: 9999;
        border-top: 3px solid var(--secondary);
        gap: 0;
        /* Quitamos gap para que el border-bottom ocupe todo */
    }

    /* Activa menú en móvil */
    .nav-menu.is-active {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }

    .nav-menu>a,
    .nav-item,
    .menu-item {
        width: 100%;
        padding: 15px 25px;
        border-bottom: 1px solid #f1f1f1;
        display: block;
    }

    .nav-menu>a:last-child {
        border-bottom: none;
    }

    /* Submenús flotantes -> Submenús en acordeón */
    .dropdown-menu,
    .sub-menu {
        position: static;
        transform: none;
        width: 100%;
        box-shadow: none;
        border-top: none;
        background: transparent;
        display: none !important;
        /* Por defecto cerrado */
        opacity: 1;
        visibility: visible;
        margin-top: 10px;
        padding-left: 15px;
        /* Indentación visual */
    }
    .dropdown-menu a{
        padding: 15px 0;
    }

    /* Al desplegar submenú */
    .nav-item:hover .dropdown-menu,
    .menu-item-has-children:hover .sub-menu {
        display: none !important;
        /* Quitamos hover automático en móvil por si tocan mal */
    }

    .nav-item.is-active-dropdown>.dropdown-menu,
    .menu-item-has-children.is-active-dropdown>.sub-menu {
        display: block !important;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-5px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    .page-header{
        padding: 20px 0;
    }
    .page-header h1{
        font-size: 2.5rem;
        line-height: 1.5em;
    }
    .service-details-layout{
        grid-template-columns: 1fr;
    }
    .widget{
        display:none;
    }
    .widget-promo{
        display:block;
    }
    .benefits-list {
        grid-template-columns: 1fr;
    }
    .card-item-info{
        box-sizing: content-box;
        padding: 25px;
    }
    .card-carousel-wrapper{
        margin: 0 -25px;
    }
    .card-item{
        min-width: 300px;
    }
    .featured-treatments-section{
        padding: 35px 0;
    }
    .section-title h2{
        font-size: 2.5rem;
        line-height: 1.3em;
    }
    .featured-carousel-wrapper{
        margin: 0 -25px;
    }
}