/*
Theme Name: Blocksy Child - Viejito Pascuero
Description: Theme child de Blocksy para el proyecto Viejito Pascuero
Author: Fixu
Version: 1.0.1
Template: blocksy
Text Domain: blocksy-child
*/
body {
    background: linear-gradient(0deg, #264a3c, #264a3c), linear-gradient(270deg, rgba(12, 12, 12, 0.3) 0%, rgba(12, 12, 12, 0) 39.9%, rgba(12, 12, 12, 0) 60%, rgba(12, 12, 12, 0.3) 100%);
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #ffffff;
}

.ct-container-full {
    padding-top: 0;
}
#header {
    padding-bottom: 4rem;
}
#header [data-row="middle"] {
    background: transparent !important;
}

/* 
* Footer
*/
.overflow-hidden {
    overflow: hidden !important;
}
.home .ct-container-full {
    padding-bottom: 0 !important;
}
.footer {
    position: relative;
}
.footer .footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1rem 2rem 1rem;
}

.footer .footer__content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer .footer__logo {
    width: 100%;
    max-width: 315px;
}

.footer .footer__logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer .footer__background {
    position: absolute;
    bottom: 0;
    right: 0;
    user-select: none;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.footer__credits {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 1rem;
}

.footer__credits p {
    font-size: 14px;
    color: #ffffff;
    margin: 0;
    font-family: var(--wp--preset--font-family--lexend-deca);
}

.footer__credits a {
    color: #ffffff;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.footer__credits a:hover {
    opacity: 0.8;
    color: #ffffff;
}

.footer__credits-fixu-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    vertical-align: middle;
    line-height: 1;
}

.footer__credits-fixu-logo {
    display: inline-block;
    width: 28px;
    height: 12px;
    margin-left: 4px;
    margin-right: 2px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.footer__credits-fixu-logo svg {
    width: 100%;
    height: 100%;
    display: block;
}

.footer__credits--simple {
    padding: 2rem 1rem;
    background: var(--wp--preset--color--green);
}

/* 
* Campos
*/
input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="password"],
input[type="date"],
input[type="time"] {
    background: transparent;
    border: 1px solid #ffffff;
    border-radius: 16px;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="number"]::placeholder,
input[type="tel"]::placeholder,
input[type="url"]::placeholder,
input[type="search"]::placeholder,
input[type="password"]::placeholder,
input[type="date"]::placeholder,
input[type="time"]::placeholder {
    color: #ffffff;
}
textarea::placeholder {
    color: #ffffff;
}

select {
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
}
select:active {
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
}
select:focus {
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
}
select:hover {
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
}
/*  
* Ayudas
*/
.relative {
    position: relative;
}
.absolute-right-top {
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
}
.absolute-right-top img {
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
}
.absolute-left-bottom {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;
}
.absolute-left-bottom img {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;
}
.absolute-right-bottom {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;
}
.absolute-right-bottom img {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.scale-100 {
    transform: scale(1);
}
.scale-110 {
    transform: scale(1.1);
}

/* 
* Woocommerce
*/
.woocommerce-terms-and-conditions-wrapper,
.woocommerce-additional-fields {
    display: none !important;
}
.woocommerce-checkout .footer__background,
.woocommerce-checkout .footer__logo,
.agendamiento-page .footer__logo,
.agendamiento-page .footer__background,
.page-id-267 .footer__background,
.page-id-267 .footer__logo {
    display: none;
}

.woocommerce-checkout [data-items="primary"],
.agendamiento-page [data-items="primary"],
.page-id-267 [data-items="primary"] {
    justify-content: center;
}

.product .ct-media-container img {
    border: 5px solid #ffffff;
    border-radius: 16px;
    overflow: hidden;
}
.product_title.entry-title {
    color: #ffffff;
    font-family: var(--wp--preset--font-family--mountains-of-christmas) !important;
    font-size: var(--wp--preset--font-size--xx-large) !important;
}
.product_title .entry-title a {
    color: #ffffff;
}

.price {
    color: #ffffff;
}

.product .ct-product-divider {
    border-top: 0;
}
a.reset_variations {
    color: #ffffff;
    text-decoration: underline;
}
@media (min-width: 1000px) {
    .ct-default-gallery .entry-summary,
    .ct-stacked-gallery .entry-summary {
        margin-inline-start: 80px;
    }
}

.woocommerce-notices-wrapper {
    color: var(--primary-color);
}

.ct-order-review {
    background-color: white;
    color: var(--wp--preset--color--green);
    border-radius: 16px;
}

.ct-order-review h3 {
    color: var(--wp--preset--color--green);
}

#order_review_heading {
    display: none !important;
}

.ct-order-review-image {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    overflow: hidden;
}
.ct-order-review-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-header-image {
    display: flex;
    justify-content: flex-end;
}
.woocommerce-checkout-review-order-table {
    border-bottom: 1px solid var(--wp--preset--color--green) !important;
}
.shop_table.woocommerce-checkout-review-order-table tr {
    border-bottom: 0 !important;
}

.woocommerce-checkout .woocommerce button.button {
    background: var(--wp--preset--color--red) !important;
    color: #ffffff !important;
    border: 0 !important;
    padding: 0.8rem 1.5rem !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
}

.order-total th {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}
.order-total td {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

/* Estilos para inputs, select y textarea en checkout */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
select,
textarea {
    border-radius: 6px !important;
    background-color: transparent !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    font-size: 14px !important;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
select {
    height: 52px !important;
}

/* Placeholder con color gris claro para fondo oscuro */
input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 14px !important;
}

/* Labels en blanco */
label {
    color: white !important;
    font-size: 14px !important;
}
.ct-header-trigger.ct-toggle {
    display: none !important;
}
.woocommerce-MyAccount-content a {
    color: white;
    text-decoration: underline;
}
.order-again {
    display: none;
}
.woocommerce-info {
    color: var(--wp--preset--color--green);
}

/* Estilos para autocompletado del navegador */
/* input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
select:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
textarea:-webkit-autofill:active {
    -webkit-text-fill-color: white !important;
    box-shadow: 0 0 0px 1000px transparent inset !important;
    background-color: red !important;
    transition: background-color 5000s ease-in-out 0s;
} */

/* 
* Agendamiento
*/
.post-purchase-scheduling__header__title {
    font-size: var(--wp--preset--font-size--xxx-large) !important;
    font-weight: bold !important;
    font-family: var(--wp--preset--font-family--mountains-of-christmas) !important;
    color: #ffffff !important;
    text-align: center;
}
.post-purchase-scheduling__header__description {
    font-size: 1.2rem;
    font-weight: 400;
    color: #ffffff !important;
}

#dynamic-fields-container label {
    font-weight: bold;
    display: block;
    margin-bottom: 0;
    font-size: 16px;
}

#dynamic-fields-container small {
    font-size: 14px;
    font-weight: 300;
    color: #ffffff;
}

.availability-button-container-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-direction: row;
}

.single_add_to_cart_button {
    width: 50%;
}
.claus-agenda-call-duration {
    margin-top: -1rem;
}
.claus-agenda-call-duration .claus-agenda-call-duration__value {
    color: #ffffff;
    font-family: var(--wp--preset--font-family--mountains-of-christmas);
    font-size: var(--wp--preset--font-size--xx-large);
    font-weight: bold;
}

@media (max-width: 768px) {
    .availability-button-container-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }
    .single_add_to_cart_button {
        width: 100%;
    }
}

/* upsells */
.up-sells.upsells,
.related.products {
    display: none;
}
.upsell-products-title {
    font-size: var(--wp--preset--font-size--xx-large);
    font-family: var(--wp--preset--font-family--mountains-of-christmas);
    font-weight: bold;
    text-align: center;
    margin-bottom: 34px;
}
.upsell-products-button {
    background-color: var(--wp--preset--color--red);
}
.upsell-products-wrapper .feature-products-container {
    position: relative;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.upsell-products-wrapper .feature-product-card {
    position: relative;
    background-color: #fff;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 5px solid white;
}

.upsell-products-wrapper .feature-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.upsell-products-wrapper .feature-product-card:nth-child(3n + 1) {
    transform: rotate(-3deg);
}

.upsell-products-wrapper .feature-product-card:nth-child(3n + 1):hover {
    transform: rotate(-3deg) translateY(-8px);
}

.upsell-products-wrapper .feature-product-card:nth-child(3n + 2) {
    transform: rotate(0deg);
}

.upsell-products-wrapper .feature-product-card:nth-child(3n + 2):hover {
    transform: rotate(0deg) translateY(-8px);
}

.upsell-products-wrapper .feature-product-card:nth-child(3n) {
    transform: rotate(3deg);
}

.upsell-products-wrapper .feature-product-card:nth-child(3n):hover {
    transform: rotate(3deg) translateY(-8px);
}

.upsell-products-wrapper .feature-product-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.upsell-products-wrapper .feature-product-card__image-wrapper {
    width: 100%;
    height: 370px;
    overflow: hidden;
    border-radius: 16px;
}

.upsell-products-wrapper .feature-product-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upsell-products-wrapper .feature-product-card__content {
    text-align: center;
    padding: 0.6rem 0 0.5rem 0;
    max-width: 90%;
    margin: 0 auto;
    background-color: white;
    border-radius: 16px 16px 0 0;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 100px;
}
.upsell-products-wrapper .feature-product-card__title {
    margin-bottom: 0;
}
.upsell-products-wrapper .feature-product-card__title,
.upsell-products-wrapper .feature-product-card__duration {
    font-family: var(--wp--preset--font-family--mountains-of-christmas);
    font-weight: bold;
    font-size: 24px;
    line-height: 1.3;
    color: var(--wp--preset--color--green);
}

.upsell-products-wrapper .feature-product-card__from {
    font-family: var(--wp--preset--font-family--lexend-deca);
    font-weight: 400;
    font-size: 16px;
    color: var(--wp--preset--color--red);
}

.upsell-products-wrapper .feature-product-card__price {
    font-family: var(--wp--preset--font-family--lexend-deca);
    font-weight: bold;
    font-size: 16px;
    color: var(--wp--preset--color--red);
}

/* 
* Mi Cuenta - Tabs
*/
.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--wp--preset--color--green);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.woocommerce-MyAccount-navigation ul li {
    display: block;
    color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
}
.woocommerce-MyAccount-navigation ul li a {
    color: #ffffff;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background: #2d5848;
    border-color: #2d5848;
    color: #ffffff;
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    background: #2d5848;
    border-color: #2d5848;
    color: #ffffff;
}

.woocommerce-MyAccount-content table.shop_table a {
    color: white;
    text-decoration: underline;
}

.woocommerce-MyAccount-content .woocommerce-table thead th {
    color: white;
}

.woocommerce-customer-details {
    display: none;
}

/* 
* Footer Company Info Styles
*/
.footer__company-info {
    text-align: center;
}

.footer__copyright p {
    margin: 0.5rem 0;
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.4;
}

.footer__copyright p:nth-child(1),
.footer__copyright p:nth-child(2) {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.footer__copyright a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__copyright a:hover {
    text-decoration: underline;
}

.footer__legal-links {
    padding-top: 1rem;
    font-weight: bold;
}

.footer__legal-links a {
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer__legal-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer__company-info {
        padding: 1.5rem 1rem;
    }

    .footer__copyright p {
        font-size: 0.8rem;
    }

    .footer__legal-links {
        margin-top: 1rem;
    }

    .footer__separator {
        margin: 0 0.5rem;
    }
}

.error404 .page-description,
.error404 .ct-search-form {
    display: none !important;
}
