/*custom CSS*/

.w-50{width:50%;}
.w-75{width:75%;}
.bg-white{background:white;}
.my-4 {margin-top: 1.5rem !important;margin-bottom: 1.5rem !important;}

.cms-id-10 #wrapper > .container,
.cms-id-12 #wrapper > .container{width: 100%;padding: 0;}
.cms-id-10 .page-header,
.cms-id-10 .breadcrumb-full,
.cms-id-12 .page-header,
.cms-id-12 .breadcrumb-full{display:none;}
.cms-id-13 .page-header,
.cms-id-13 .breadcrumb-full{display:none;}
.cms-id-17 .page-header,
.cms-id-17 .breadcrumb-full{display:none;}
.cms-id-12 .st-cita{
    max-width: 1020px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center; 
}
.cms-id-12 .st-side-text {

    display: block;
    box-sizing: border-box !important; 
    width: 100%;
}


/* --- SECCIÓN ROJA --- */
.cms-id-12 .st-red-section {
    background-color: #E64131 !important;
    display: block !important; 
    width: 100% !important;
    min-height: 0 !important;
    padding: 40px 0 !important;
    margin-bottom: 20px !important;
    overflow: hidden; 
}

.cms-id-12 .st-red-section .st-quote-block {
    position: relative;
    padding-top: 70px;
    text-align: center;
    color: #ffffff !important;
}

/* Comillas blancas generadas por código */
.cms-id-12 .st-red-section .st-quote-block::before {
    content: "\201C";
    font-family: sans-serif !important;
    font-size: 140px;
    color: #ffffff;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
}

.cms-id-12 .st-red-section h2,
.cms-id-12 .st-red-section h3,
.cms-id-12 .st-red-section p {
    max-width: 80%;
    margin-left: auto !important;
    margin-right: auto !important;
    color: #ffffff !important;
    text-align: left; 
}

.cms-id-12 .st-red-section h2 {
    font-size: 29px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
}

.cms-id-12 .st-red-section .st-quote-block h3 {
    font-weight: 300 !important;
    font-style: normal;
    font-size: 21px !important;
}

.cms-id-12 .st-red-section .st-quote-block p {
    font-weight: 300 !important;
    font-style: normal;    
    font-size: 1.14rem !important;
    margin-top: 66px;
    line-height: 1.6 !important;
}

/* --- SECCIÓN CON IMAGEN DE FONDO --- */
.cms-id-12 .st-image-section {
    position: relative !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100% !important;
    height: 593px !important;
    clear: both !important;
    overflow: hidden;
    background-image: url('https://stjor.com/themes/at_movic/assets/img/modules/appagebuilder/images/imatgegran2.jpg') !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    padding: 0 !important;
    margin-bottom: 30px !important;
}

.cms-id-12 .st-image-section .st-quote-block {
    position: relative;
    padding-top: 70px;
    text-align: center;
    color: #ffffff !important;
    z-index: 2;
    width: 100%;
}

.cms-id-12 .st-image-section .st-quote-block::before {
    content: "\201C";
    font-family: sans-serif !important;
    font-size: 140px;
    color: #ffffff;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
}

.cms-id-12 .st-image-section h2 {
    font-weight: 700 !important;
    font-size: 33px !important;
    line-height: 1.1 !important;
    letter-spacing: 1px !important;
    color: #ffffff !important;
    text-align: center;
    max-width: 80%;
    margin: 0 auto !important;
}


.nav-item.leo-1 ul li.last-sizes a{color:red}
.nav-item.leo-1 ul li.view-all a {color: #000080;font-weight: 700;}

.product-miniature .product-title,
.product-miniature .price,
.category-default,
.variants-product,
.product-miniature .product-price-and-shipping {
  text-align: center;
}

/* START FOOTER WHATSAPP */

.popup_contacto {
    position: relative;
    z-index: 998;
}

.ppc_btn {
    bottom: 80px;
    right: 30px;
    cursor: pointer;
    position: fixed;
}

.ppc_btn:hover .ppc_btn_wrapper {
    -webkit-animation-name: none;
}


.ppc_btn_wrapper {
    position: relative;
    height: 60px;
    width: 60px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, .3);
    -webkit-transition: all 0.2s linear;
    transition: all 0.2s linear;
    animation: iruki_ppc_pulsate 2s ease-out;
    animation-iteration-count: infinite;
    -webkit-animation: iruki_ppc_pulsate 2s ease-out;
    -webkit-animation-iteration-count: infinite;
}

@-webkit-keyframes iruki_ppc_pulsate {
    0% {
        -webkit-transform: scale(1, 1)
    }
    25% {
        -webkit-transform: scale(1.1, 1.1)
    }
    50% {
        -webkit-transform: scale(1, 1)
    }
}

@keyframes iruki_ppc_pulsate {
    0% {
        transform: scale(1, 1)
    }
    25% {
        transform: scale(1.1, 1.1)
    }
    50% {
        transform: scale(1, 1)
    }
}

.ppc_btn_bgimg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    -webkit-transition: all 0.2s linear;
    transition: all 0.2s linear;
    border-radius: 50%;
}

@media (max-width: 991px) {
    .ppc_btn {
        right: 30px;
    }
}

label:has(a[href*="Color-NEGRO"]) .ps-shown-by-js,
label:has(a[href*="Color-NEGRE"]) .ps-shown-by-js {
    background-color: #000000; /* Negro */
}

label:has(a[href*="Color-ROJO"]) .ps-shown-by-js,
label:has(a[href*="Color-VERMELL"]) .ps-shown-by-js{
    background-color: #FF0000; /* Rojo */
}

label:has(a[href*="Color-VERDE"]) .ps-shown-by-js,
label:has(a[href*="Color-VERD"]) .ps-shown-by-js{
    background-color: #008000; /* Verde */
}

label:has(a[href*="Color-AMARILLO"]) .ps-shown-by-js,
label:has(a[href*="Color-GROC"]) .ps-shown-by-js{
    background-color: #FFD600; /* Amarillo */
}

label:has(a[href*="Color-AZUL"]) .ps-shown-by-js,
label:has(a[href*="Color-BLAU"]) .ps-shown-by-js{
    background-color: #0050FF; /* Azul */
}

label:has(a[href*="Color-BLANCO"]) .ps-shown-by-js,
label:has(a[href*="Color-BLANC"]) .ps-shown-by-js{
    background-color: #FFFFFF; /* Blanco */
    border: 1px solid #ccc; /* Para que se vea sobre fondo blanco */
}

label:has(a[href*="Color-MORADO"]) .ps-shown-by-js,
label:has(a[href*="Color-MORAT"]) .ps-shown-by-js{
    background-color: #800080; /* Morado */
}

label:has(a[href*="Color-BEIGE"]) .ps-shown-by-js,
label:has(a[href*="Color-BEIX"]) .ps-shown-by-js{
    background-color: #F5F5DC; /* Beige */
}

label:has(a[href*="Color-GRIS"]) .ps-shown-by-js,
label:has(a[href*="Color-GRIS"]) .ps-shown-by-js{
    background-color: #808080; /* Gris */
}

label:has(a[href*="Color-MARRON"]) .ps-shown-by-js,
label:has(a[href*="Color-MARR%C3%93"]) .ps-shown-by-js{
    background-color: #8B4513; /* Marrón */
}

label:has(a[href*="Color-NARANJA"]) .ps-shown-by-js,
label:has(a[href*="Color-TARONJA"]) .ps-shown-by-js{
    background-color: #FF8000; /* Naranja */
}

label:has(a[href*="Color-ROSA"]) .ps-shown-by-js,
label:has(a[href*="Color-ROSA"]) .ps-shown-by-js{
    background-color: #FFC0CB; /* Rosa */
}

label:has(a[href*="Color-TURQUESA"]) .ps-shown-by-js,
label:has(a[href*="Color-TURQUESA"]) .ps-shown-by-js{
    background-color: #40E0D0; /* Turquesa */
}





.popup-content .language-selector .lang-img {
  display: none !important;
}
.full-width .leo-login-title, .leo-login-title .title-only {
    display: inline-block !important; /* clave */
    width: auto !important;           /* evita que ocupe todo el ancho */
    background-color: white;
    color: black;
    padding-top: 2px;
    padding-bottom: 2px;
}
.full-width .leo-login-title,
.leo-login-title .title-only {
    display: inline-block !important;
    width: fit-content !important;
    max-width: max-content;
}

/* FOOTER DESKTOP */
.footer-mobile {
  width: 100%;
}

.footer-mobile .ap-column,
.footer-mobile [class*="col-"] {
  margin-bottom: 0;
}

/* FOOTER MÒBIL BEN MAQUETAT */
@media (max-width: 767px) {

  .footer-mobile,
  .footer-mobile .container,
  .footer-mobile .row,
  .footer-mobile .ap-row,
  .footer-mobile .vc_row {
    display: block !important;
    width: 100% !important;
  }

  .footer-mobile .ap-column,
  .footer-mobile .vc_column_container,
  .footer-mobile [class*="col-"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    margin: 0 0 28px 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  .footer-mobile .html,
  .footer-mobile .html-puro,
  .footer-mobile .wpb_wrapper,
  .footer-mobile .ap-html {
    text-align: left !important;
    width: 100% !important;
  }

  .footer-mobile p,
  .footer-mobile a,
  .footer-mobile li,
  .footer-mobile span,
  .footer-mobile div {
    font-size: 15px !important;
    line-height: 1.6 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  .footer-mobile ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .footer-mobile img {
    max-width: 100% !important;
    height: auto !important;
  }

  .footer-mobile .payment-icons,
  .footer-mobile .social-icons {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
  }

  .footer-mobile .payment-icons img,
  .footer-mobile .social-icons img {
    height: auto !important;
    max-height: 28px !important;
    width: auto !important;
  }

  .footer-mobile hr,
  .footer-mobile .separator {
    margin: 20px 0 !important;
  }

  .footer-mobile .copyright,
  .footer-mobile .footer-bottom,
  .footer-mobile .bottom-footer {
    text-align: left !important;
  }
}
.social-icons {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 15px;
}

.social-icons li {
    margin: 0;
}

.social-icon {
    color: #757575;
    border: 1px solid #757575;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-radius: 7px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Opcional: efecte hover */
.social-icon:hover {
    background-color: #757575;
    color: #ffffff;
}






////////////////////////////////////////////////////////////


@media (max-width: 768px) {
  .banner-home-phone,
  .banner-home-phone .iviewSlider,
  .banner-home-phone .slide_config {
    width: 100% !important;
    height: 100vh !important;
    overflow: hidden !important;
    transform: none !important;
  }

  .banner-home-phone .iviewSlider,
  .banner-home-phone .slide_config {
    background-size: 185% auto !important;
    background-position: 60% center !important;
    background-repeat: no-repeat !important;
  }
}