/*
Theme Name: Grand Restaurant Child
Theme URI: http://themes.themegoods2.com/grandrestaurant
Description: Premium Cafe & Restaurant Theme
Version: 1.0
Tags: yellow, white, responsive-layout, custom-header, custom-background, threaded-comments, translation-ready, editor-style, custom-menu
Author: ThemeGoods
Author URI: http://themeforest.net/user/ThemeGoods
License: GNU General Public License
License URI: http://themeforest.net/licenses/regular_extended
Text Domain: grandrestaurant
Template: grandrestaurant
*/

@import "../grandrestaurant/style.css";

.home-image-intro {
    height: 0;
}

.booking-text p:not(:last-child) {
    margin-bottom: 20px;
}

.contact-row,
.contact-row > *,
.contact-row > * > * {
    padding: 0;
}

.contact-form-web .row p {
    display: flex;
    gap: 10px;
}

.contact-form-web input,
.contact-form-web textarea,
.contact-form-web select {
    background: transparent !important;
}

.contact-form-web input[type="submit"] {
    background: transparent !important;
    border-style: solid;
    border-width: 0px 0px 1px 0px;
    border-color: #bcaf87 !important;
    border-radius: 0px 0px 0px 0px;
    color: black !important;
    font-family: "Barketina", Sans-serif;
    font-size: 18px;
    font-weight: 400;
    padding: 5px 0;
}

.contact-form-web input[type="submit"]:hover {
    background: transparent !important;
    color: black !important;
    opacity: 0.5;
}

.contact-form-web .label-span {
    color: #000000;
    font-family: "Barketina", Sans-serif;
    font-size: 18px;
    font-weight: 400;
    text-transform: none;
}

.contact-form-web a {
    color: black !important;
    text-decoration: underline;
}

/* --- CF7 acceptance: checkbox negro con check blanco --- */

.contact-form-web .wpcf7-acceptance .wpcf7-list-item label {
    display: inline-flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    line-height: 1.35;
    color: #000;
}

/* Ocultamos el checkbox nativo pero accesible */
.contact-form-web .wpcf7-acceptance .wpcf7-list-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form-web .wpcf7-list-item {
    margin-left: 0;
}

/* Label wrapper */
.contact-form-web .wpcf7-acceptance .wpcf7-list-item .wpcf7-list-item-label {
    position: relative;
    padding-left: 28px;
    display: inline-block;
}

/* Caja base (blanca) */
.contact-form-web
    .wpcf7-acceptance
    .wpcf7-list-item
    .wpcf7-list-item-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.15em;
    width: 18px;
    height: 18px;
    border: 1.5px solid #000;
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
    transition: background 0.2s ease;
}

/* Check (blanco) */
.contact-form-web
    .wpcf7-acceptance
    .wpcf7-list-item
    .wpcf7-list-item-label::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 0.3em;
    width: 6px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    opacity: 0;
}

/* Estado checked → caja negra + check blanco */
.contact-form-web
    .wpcf7-acceptance
    .wpcf7-list-item
    input[type="checkbox"]:checked
    + .wpcf7-list-item-label::before {
    background: #000;
}

.contact-form-web
    .wpcf7-acceptance
    .wpcf7-list-item
    input[type="checkbox"]:checked
    + .wpcf7-list-item-label::after {
    opacity: 1;
}

/* Focus accesible */
.contact-form-web
    .wpcf7-acceptance
    .wpcf7-list-item
    input[type="checkbox"]:focus-visible
    + .wpcf7-list-item-label::before {
    outline: 2px solid #000;
    outline-offset: 3px;
}

/* Disabled */
.contact-form-web
    .wpcf7-acceptance
    .wpcf7-list-item
    input[type="checkbox"]:disabled
    + .wpcf7-list-item-label {
    opacity: 0.5;
    cursor: not-allowed;
}

.new-footer-component > *:first-child {
    width: 100%;
}

.new-footer-component > *:last-child {
    width: 200px;
}

.home-intro .e-con-inner {
    position: relative;
}

.home-intro .image-01 {
    position: absolute;
    bottom: -40px;
    right: -230px;
}

.home-intro .image-02 {
    position: absolute;
    top: -85px;
    left: -330px;
}

.carta-images,
.regala-images {
    position: relative;
}

.carta-images > *:first-child {
    width: 50%;
    position: relative;
    z-index: 2;
}

.carta-images > *:last-child {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
}

.regala-images > *:first-child {
    width: 60%;
    position: relative;
}

.regala-images > *:last-child {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    z-index: 2;
}

.contact-info {
    position: relative;
}

.contact-image {
    position: absolute;
    right: -220px;
    bottom: -40px;
}

.legal-text h2 {
    margin-top: 40px;
    text-transform: initial;
    font-family: "Moret", Sans-serif;
}

@media only screen and (max-width: 1126px) {
    .home-intro .image-01 {
        bottom: -70px;
        right: 0;
    }

    .home-intro .image-02 {
        top: -80px;
        left: -120px;
    }
}

@media only screen and (max-width: 843px) {
    .contact-form-web .row p {
        display: block;
    }

    .home-intro .image-01 {
        bottom: 40px;
    }

    .home-intro .image-02 {
        display: none;
    }

    .contact-image {
        right: -137px;
        bottom: 250px;
    }

    .legal-text h2 {
        font-size: 24px !important;
    }
}

.wpml-ls {
    padding: 0 !important;
    border: 0 !important;
}

.wpml-ls ul li a {
    padding: 0 10px !important;
    background-color: transparent !important;
    font-size: 16px !important;
}

#footer-wrapper a:hover {
    text-decoration: underline;
}

.link-block a {
    position: relative;
}

.link-block a:after {
    content: "";
    display: block;
    position: absolute;
    bottom: 7px;
    left: 0;
    width: 0px;
    height: 2px;
    transition: width 0.25s ease;
    background-color: #b12028;
}

.link-block a:hover:after {
    width: 100%;
}
