/*
Theme Name: Divi Child Theme
Theme URI: candelissima.es
Description: Divi Child Theme
Author: Divi Ready Themes
Author URI: https://divireadythemes.com/
Template: Divi
Version: Updated for Divi 3+
*/
/*------------------------------------------------*/
/*---------------- [GENERAL] -----------------*/
/*------------------------------------------------*/
a:focus-visible,
a:focus:not(:focus-visible) {
    -webkit-animation: pulse 2s infinite;
    animation: pulsebt 1.5s infinite;
}

@-webkit-keyframes pulsebt {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgb(249 247  244 / 50%);
        box-shadow: 0 0 0 0 rgb(249 247 244 / 50%);
    }

    70% {
        -webkit-box-shadow: 0 0 0 10px rgb(249 247 244 / 50%);
        box-shadow: 0 0 0 10px rgb(249 247 244 / 50%);
    }
}

@keyframes pulsebt {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgb(249 247 244 / 50%);
        box-shadow: 0 0 0 0 rgb(249 247 244 / 50%);
    }

    70% {
        -webkit-box-shadow: 0 0 0 10px rgb(249 247 244 / 50%);
        box-shadow: 0 0 0 10px rgb(249 247 244 / 50%);
    }
}

.rotate img {
    -webkit-animation: rotation 15s infinite linear;
    animation: rotation 15s infinite linear;
}

@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@keyframes rotation {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

body.page{
    background-color: #0a0a0a !important;
}

#main-content {
    background-color: transparent;
}
.et_pb_section{
  background: transparent;
}

.et_pb_section.cabecera-general {
    display: grid;
    place-items: end;
    min-height: calc(17.5rem + ((1vw - 7.68px) * 10.4167));;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    padding-bottom: 30px!important;
}



/*------------------------------------------------*/
/*-------------------[TIPOGRAFÍAS]----------------*/
/*------------------------------------------------*/
html {
    font-size: 100%;
}

.et-boc h1, #et-boc .et_pb_post_title .et_pb_title_container h1.entry-title, .et-boc  .subtitle-h1 {
    font-size: clamp(2.25rem, calc(2.25rem + ((1vw - 0.48rem) * 0.3472)), 2.5rem);
    min-height: 0vw;
}

.et-boc h2, .et-boc .subtitle-h2 {
    font-size: clamp(1.875rem, calc(1.875rem + ((1vw - 0.48rem) * 0)), 1.875rem);
    min-height: 0vw;
}

.et-boc h3, .et-boc .subtitle-h3 {
    font-size: clamp(1.75rem, calc(1.75rem + ((1vw - 0.48rem) * 0.3472)), 2rem);
    min-height: 0vw;
}

.et-boc h4, .et-boc .subtitle-h4 {
    font-size: clamp(1.5rem, calc(1.5rem + ((1vw - 0.48rem) * 0)), 1.5rem);
    min-height: 0vw;
}

.et-boc h5, .et-boc .subtitle-h5 {
    font-size: clamp(1.375rem, calc(1.375rem + ((1vw - 0.48rem) * 0)), 1.375rem);
    min-height: 0vw;
}

.et-boc h6, .et-boc .subtitle-h6 {
    font-size: clamp(1.125rem, calc(1.125rem + ((1vw - 0.48rem) * 0)), 1.125rem);
    min-height: 0vw;
}

body .et-boc {
    font-size: clamp(0.875rem, calc(0.875rem + ((1vw - 0.48rem) * 0)), 0.875rem);
    min-height: 0vw;
    font-weight: 300;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 200;
}

#main-content .et-l ul li,
#main-content .et-l ol li {
    margin-bottom: 0.5rem;
}

#main-content .et-l ul li::marker,
#main-content .et-l ol li::marker {
    color: #fff;
}

.tit-cursiva{
    font-family: 'Poppins',Helvetica,Arial,Lucida,sans-serif;
    text-transform: none;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 0.1rem;
}

/*------------------------------------------------*/
/*-------------------[HEADER]---------------------*/
/*------------------------------------------------*/
/*--- HEADER ORDENADOR ---*/
.et-db #et-boc header .sec-header {
    position: absolute;
    width: 100%;
}

@media (min-width:981px) {
    .et-db #et-boc header .has_et_pb_sticky .sec-header {
        -webkit-box-shadow: 0px 0px 10px 10px #00000085;
        box-shadow: 0px 0px 10px 10px #00000085;
    }

        .et-db #et-boc header .sec-header .row-menu .et_pb_column:nth-child(1),
        .et-db #et-boc header .sec-header .row-menu .et_pb_column:nth-child(3) {
        width: 42.5%;
    }

        .et-db #et-boc header .sec-header .row-menu .et_pb_column:nth-child(2) {
        width: 15%;
    }
}

.et-db #et-boc header .sec-header .row-menu.desktop .et_pb_menu li.oculto-desktop {
    display: none;
}

.et-db #et-boc header .bt-header {
    padding: 5px 10px;
    position: relative;
}
.et-db #et-boc header a.bt-header {
    color: #fff;
}
.et-db #et-boc header .et_pb_menu li.bt-header {
    background: transparent;
    margin-bottom: 10px;
    color: #0A0A0A;
}
.et-db #et-boc header .et_pb_menu li.bt-header i{
    filter: invert(0);
    -webkit-filter: invert(0);
}
.et-db #et-boc header .bt-header i {
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    display: inline-block;
    position: relative;
    top: 0.25rem;
    margin-right: 6px;
    /* -webkit-filter: invert(1); */
    /* filter: invert(1);*/
}

.et-db #et-boc header .bt-header.bt-mesa i {
    background-image: url(/wp-content/uploads/2023/01/candelissima-ico-blanco-reserva-01.svg);
}

.et-db #et-boc header .bt-header.bt-pedido i {
    background-image: url(/wp-content/uploads/2023/01/candelissima-ico-blanco-pedidos-01.svg);
}

.et-menu.nav .menu-item a:after,
.et-db #et-boc header .bt-header:after {
    content: "";
    display: block;
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 100%;
    margin: 0 5px;
    border-bottom: 1px solid #fff;
    -webkit-transition: right .5s;
    -o-transition: right .5s;
    transition: right .5s;
}

.et-menu.nav .menu-item a:hover:after,
.et-menu.nav .menu-item a:focus:after,
.et-db #et-boc header .bt-header:hover:after,
.et-db #et-boc header .bt-header:focus:after{
    right: 0;
}

.et-menu.nav .menu-item a:hover {
    opacity: 1;
}

/*change Divi hamburger menu to X*/
.mobile_nav.opened .mobile_menu_bar:before {
    content: '\4d';
}

/*rotate the Divi Menu icon on click*/
.mobile_menu_bar:before {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
    display: block;
    -webkit-transition: all .2s ease !important;
    -o-transition: all .2s ease !important;
    transition: all .2s ease !important;
}

/*rotate the Divi Menu icon on click*/
.mobile_nav.opened .mobile_menu_bar::before {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
    display: block;
    -webkit-transition: all .2s ease !important;
    -o-transition: all .2s ease !important;
    transition: all .2s ease !important;
}

/*scroll on mobile*/
.et_mobile_menu {
    overflow: scroll !important;
    max-height: 84vh;
    -webkit-box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.3)

}

/*------------------------------------------------*/
/*-------------------[FOOTER]---------------------*/
/*------------------------------------------------*/
.et-db #et-boc footer #menu-legal li{
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

/*------------------------------------------------*/
/*-------------------[PRODUCTOS]---------------------*/
/*------------------------------------------------*/
.product-template-default #et-boc header .sec-header {
    position: relative;
    width: 100%;
}

/*------------------------------------------------*/
/*-------------------[CHECKOUT]---------------------*/
/*------------------------------------------------*/
.woocommerce a.remove {
    border: 1px solid red;
    height: auto;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    padding: 0 3px !important;
}
.entry-content .woocommerce tr th  {
    color: #fff;
    text-transform: uppercase;
}
.entry-content .woocommerce td, .entry-content .woocommerce td a{
    color: #fff;
        padding: 2%;
}

.woocommerce-cart-form table td.product-name {
    font-size: 1.2rem;
}

.woocommerce-cart table.cart td.actions .coupon .input-text {
    padding: 0.5em 1em;
    border-radius: 10px;
}

.woocommerce button.button:disabled[disabled] {
    font-size: 14px;
    background-color: #00c844;
    border-color: #00c844;
    border-radius: 5px;
    font-weight: normal;
    font-style: normal;
    text-transform: uppercase;
    text-decoration: none;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}


.checkout.woocommerce-checkout #customer_details {
    margin-bottom: 40px;

}

.checkout.woocommerce-checkout #order_review,
.checkout.woocommerce-checkout #order_review_heading {
    max-width: 1100px;
    margin: auto;
}

.checkout.woocommerce-checkout h3 {
    font-size: 1.5rem;
}

.woocommerce-checkout #payment  label, .woocommerce-checkout #payment {
    color: #000;
}

.woocommerce form .form-row .input-text {
    padding: 0.5em 1em !important;
    border-radius: 0 !important;
    height: auto;
}
/*------------------------------------------------*/
/*------------------[HOMEPAGE]--------------------*/
/*------------------------------------------------*/
/*----- botones cta -----*/
.row-cta-pedido{
    text-align: center;
}
.row-cta-pedido .et_pb_button_module_wrapper{
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: auto 10px;
    margin-bottom: auto;
    display: inline-block;
}
body .et_pb_button.bt-online::before {
    content: "";
    width: 20px;
    height: 20px;
    display: inline-block;
    position: relative;
    opacity: 1;
    margin-left: 0;
    top: 0.25rem;
    margin-right: 6px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.bt-online.pedido {
	background: #ff3842;
	border-color: #ff3842;
}
body .et_pb_button.bt-online.mesa:before {background-image: url(/wp-content/uploads/2023/01/candelissima-ico-negro-reserva-01.svg);}
body .et_pb_button.bt-online.pedido:before {background-image: url(/wp-content/uploads/2023/01/candelissima-ico-negro-pedidos-01.svg);}
.et_pb_button.bt-online:hover:before,
.et_pb_button.bt-online:focus:before {
    -webkit-filter: invert(1);
    filter: invert(1);
}


.img-borde img {
    padding: 10px;
}
/*------------------------------------------------*/
/*------------------[FORMULARIOS------------------*/
/*------------------------------------------------*/
/*** Estructura ***/
.row_inputs {
    margin-bottom: 2.2rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 2.2rem;
}

.col_inputs {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-preferred-size: 200px;
    flex-basis: 200px;
}

/*** Campos ***/
.wpcf7-form-control-wrap .text,
.wpcf7-form-control-wrap .title,
.wpcf7-form-control-wrap input[type="email"],
.wpcf7-form-control-wrap input[type="password"],
.wpcf7-form-control-wrap input[type="tel"],
.wpcf7-form-control-wrap input[type="text"],
.wpcf7-form-control-wrap select,
.wpcf7-form-control-wrap textarea {
    font-weight: 300;
    font-size: 0.9rem;
    color: #fff;
    border-radius: 0;
    background-color: transparent;
    width: 100%;
    border-bottom: 1px solid #fff;
    border-left: none;
    border-right: none;
    border-top: none;
    padding: 8px 15px;
}

/*autoprefixer:ignore next line*/
.wpcf7-form-control-wrap input::-webkit-input-placeholder, .wpcf7-form-control-wrap input::-moz-placeholder, .wpcf7-form-control-wrap input:-ms-input-placeholder,.wpcf7-form-control-wrap input::-ms-input-placeholder,.wpcf7-form-control-wrap input::placeholder  {
    color: #fff;
}

.wpcf7-form-control-wrap input:focus,
.wpcf7-form-control-wrap select:focus,
.wpcf7-form-control-wrap textarea:focus {
    border-bottom:3px solid #fff;
}

.wpcf7-acceptance .wpcf7-list-item {
    display: inline-block;
    margin: 0;
    font-size: 0.8rem;
    color: #fff;
}
.wpcf7-acceptance .wpcf7-list-item a{
    color: #fff;
}

.wpcf7-submit {
    border: 2px solid #00c844;
    background-color: #00c844;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.875rem;
    color: #0a0a0a;
    text-transform: uppercase;
    padding: .3em 1em;
    text-transform: uppercase;
    -webkit-transition: all 300ms ease 0ms;
    -o-transition: all 300ms ease 0ms;
    transition: all 300ms ease 0ms;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.wpcf7-submit:hover, .wpcf7-submit:focus  {
    background-color: #0a0a0a;
    border: 2px solid #fff;
    color: #fff;
}

.wpcf7-spinner {
    position: absolute;
}

form.wpcf7-form label span.etiqueta {
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #fff;
}

/*------------------------------------------------*/
/*-------------------[COOKIES]---------------------*/
/*------------------------------------------------*/
#cmplz-manage-consent .cmplz-manage-consent {
    font-weight: bold;
    font-size: 1rem;
}

#cmplz-manage-consent .cmplz-manage-consent.cmplz-show:before {
    content: "";
    width: 40px;
    height: 40px;
    position: absolute;
    background: url(/wp-content/uploads/2023/01/candelissima-cookies-01.svg) #fff;
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 100% 100% 0 0;
    top: -22px;
    right: 0px;
    -webkit-border-radius: 100% 100% 0 0;
    -moz-border-radius: 100% 100% 0 0;
    -ms-border-radius: 100% 100% 0 0;
    -o-border-radius: 100% 100% 0 0;
    border-top: 1px solid #0a0a0a;
}

.cmplz-cookiebanner.cmplz-show:before {
content: "";
    width: 80px;
    height: 80px;
    position: absolute;
    background: url(/wp-content/uploads/2023/01/candelissima-cookies-01.svg) #fff;
    background-position-x: 0%;
    background-position-y: 0%;
    background-repeat: repeat;
    background-size: auto;
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 100% 100% 0 0;
    top: -40px;
    left: 0;
    -webkit-border-radius: 100px 100px 0 0;
    -moz-border-radius: 100% 100% 0 0;
    -ms-border-radius: 100% 100% 0 0;
    -o-border-radius: 100% 100% 0 0;
    border-top: 1px solid #0a0a0a;
}
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn {
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: bold!important;
}

#cmplz-document {
    max-width: 100%;
}
#cmplz-document p,
#cmplz-document li,
#cmplz-document td{
    font-size: 0.8rem;
}
#cmplz-document p,
#cmplz-document li,
#cmplz-document td,
#cmplz-document p a,
#cmplz-document h2,
#cmplz-document h3,
#cmplz-document h4,
#cmplz-document h5,
#cmplz-document h6{
    color: #fff;
}

/*------------------------------------------------*/
/*----------------[CARTA]--------------------*/
/*------------------------------------------------*/
.sec-menu-con-img .et_pb_image_wrap img{
	height: 350px;
  width: 100%;
  object-fit: cover;
}

/*------------------------------------------------*/
/*----------------[RESPONSIVE]--------------------*/
/*------------------------------------------------*/
@media (max-width:1180px) {
/*--- GENERAL ---*/
    .et_pb_row {width: 88%;}
}

@media (max-width:980px) {
/*--- FOOTER ---*/
	footer .menu-footer .et_mobile_nav_menu {  display: none;}
    footer .menu-footer .et_pb_menu__menu, .menu-footer .et-menu { display: block!important; width: 100%; text-align: center; margin:0 auto;}
}
/* Paginación tienda */
.woocommerce nav.woocommerce-pagination ul {
    border: 1px solid #ffffff;
}
.woocommerce nav.woocommerce-pagination ul li {
    border-right: 1px solid #ffffff;
}
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: #000000;
    color: #ffffff;
}
.page-numbers li {
    margin-bottom: 0px !important;
}
a.page-numbers {
    color: white;
}

