/*
Theme Name: GeneratePress Child
Theme URI: https://generatepress.com
Template: generatepress
Author: Tom Usborne
Author URI: https://tomusborne.com
Description: GeneratePress is a lightweight WordPress theme built with a focus on speed and usability. Performance is important to us, which is why a fresh GeneratePress install adds less than 10kb (gzipped) to your page size. We take full advantage of the block editor (Gutenberg), which gives you more control over creating your content. If you use page builders, GeneratePress is the right theme for you. It is completely compatible with all major page builders, including Beaver Builder and Elementor. Thanks to our emphasis on WordPress coding standards, we can boast full compatibility with all well-coded plugins, including WooCommerce. GeneratePress is fully responsive, uses valid HTML/CSS, and is translated into over 25 languages by our amazing community of users. A few of our many features include 60+ color controls, powerful dynamic typography, 5 navigation locations, 5 sidebar layouts, dropdown menus (click or hover), and 9 widget areas. Learn more and check out our powerful premium version at https://generatepress.com
Tags: two-columns,three-columns,one-column,right-sidebar,left-sidebar,footer-widgets,blog,e-commerce,flexible-header,full-width-template,buddypress,custom-header,custom-background,custom-menu,custom-colors,sticky-post,threaded-comments,translation-ready,rtl-language-support,featured-images,theme-options
Version: 3.4.0.1711649785
Updated: 2024-03-28 18:16:25

*/

/* VARIABLES */

:root {
    --wp--style--global--content-size: 1200px;
    --wp--style--global--wide-size: 1200px;
}


/* GENERAL */

a {
    text-decoration: none;
}

/* UTILITIES */

.heading-black,
.woocommerce-products-header__title.page-title,
.single-product .product_title.entry-title,
.page h1.entry-title,
.related.products > h2,
.woocommerce #reviews #comments h2 {
    padding: 10px;
    background-color: transparent;
    /*color: ;*/
    /*text-align: ;*/
}

/* HOME */

#imagen-home {
  background-color: #222;
  margin: 0;
}

#imagen-home img {
  width: 100%;
  max-height: 640px;
  object-fit: cover;
  opacity: 0.5;
  display: block;
}

/* FOOTER */

.footer-widget-1 .widget > img {
    width: 120px;
}

/* ARCHIVES */

/* Fix archive title displayed incorrectly on left, pushing blog articles and sidebar */
.site-content {
    display: flex;
    flex-wrap: wrap;
}
.entry-header {
    width: 100%;
    margin-bottom: 20px;
}

.search .inside-article > .post-image > a {
    display: block;
}
.search.post-image-above-header .inside-article .featured-image,
.search.post-image-above-header .inside-article .post-image {
    margin-bottom: 10px;
}
.search.post-image-above-header .inside-article .featured-image,
.search.post-image-above-header .inside-article .post-image img {
    max-width: 100%;
    height: auto;
    width: 100%;
    /*aspect-ratio: 0.75;*/
    /*object-fit: cover;*/
}
.search .entry-header {
    text-align: center;
}
.search .entry-content:not(:first-child),
.search .entry-summary:not(:first-child) {
    margin-top: 1em;
}
.search .entry-summary > p:first-child {
    display: none;
    margin-bottom: 1em;
}
.search .inside-article a.read-more {
    width: 100%;
    text-align: center;
}

/* WOOCOMMERCE */

.single-product .product_title.entry-title + .woocommerce-breadcrumb {
    margin: 2em 0;
    /*text-align: center;*/
}

.single-product .summary .amount {
    font-size: 2em;
}

.single-product .summary .woocommerce-Price-currencySymbol {
    color: var(--red);
}

.woocommerce ul.products li.product .button {
    padding: 10px 20%;
}

.inside-wc-product-image {
    width: 100%;
}

body.woocommerce.single-product div.product div.images .flex-control-thumbs li {
    display: flex;
    align-items: center;
    justify-content: center;
}

body.woocommerce.single-product div.product div.images .flex-control-thumbs li img {
    width: auto;
    /*height: 100%;*/
    object-fit: contain;
}

/* Ocultar migas de pan en Tienda */
.woocommerce-shop .woocommerce-breadcrumb {
    display: none;
}

.woocommerce.single-product #content div.product .woocommerce-tabs {
    clear: none;
    overflow: hidden;
}

.woocommerce.single-product #content .woocommerce-Tabs-panel ol,
.woocommerce.single-product #content .woocommerce-Tabs-panel ul
{
    margin: 0 0 1.5em 1.5em;
    list-style-type: none;
}

.woocommerce.single-product #content .woocommerce-Tabs-panel ol li,
.woocommerce.single-product #content .woocommerce-Tabs-panel ul li {
    position: relative;
}

.woocommerce.single-product #content .woocommerce-Tabs-panel ol li:before,
.woocommerce.single-product #content .woocommerce-Tabs-panel ul li:before {
    position: absolute;
    left: -24px;
    top: 1.5px;
    content: "■";
    font-style: normal;
    font-weight: normal;
    speak: none;
    display: inline-block;
    text-decoration: inherit;
    width: 1.286em;
    height: 1.286em;
    margin-right: 0.2em;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    color: var(--dark-red);
    border-radius: 50%;
    -webkit-font-smoothing: antialiased;
    font-size: 1em;
    vertical-align: middle;
}

/*.woocommerce-tabs #tab-title-description {
    padding-left: 0;
}*/

.woocommerce-tabs ul.tabs li,
body.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: white;
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, .1) !important;
}

body.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    border: 1px solid rgba(0, 0, 0, .1) !important;
    border-bottom: 0 !important;
}

.woocommerce.single-product .related.products {
    margin-bottom: 60px;
}

body.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item) {
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

body.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item.selected:not(.no-stock) {
    background-color: var(--dark-red);
    color: #fff;
    border-color: transparent;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

body.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):not(.selected):focus,
body.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):not(.selected):hover {
    color: var(--dark-red);
    border-color: var(--dark-red);
}

ul.flex-direction-nav {
    position: absolute;
    top: 30%;
    z-index: 99999;
    width: 100%;
    left: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

li.flex-nav-prev {
    float: left;
}
li.flex-nav-next {
    float: right;
}
a.flex-next {
    visibility: hidden;
}
a.flex-prev {
    visibility: hidden;
}

a.flex-next::after,
a.flex-prev::before {
    visibility: visible;
    font-size: 24px;
    font-weight: bold;
    color: var(--dark-gray);
}

a.flex-next::after {
    content: "▶";
    margin-right: 10px;
}

a.flex-prev::before {
    content: "◀";
    margin-left: 10px;
}

ul.flex-direction-nav li a {
    color: #CCCCCC;
}

ul.flex-direction-nav li a:hover {
    text-decoration: none;
}

ul.flex-direction-nav li a {
    color: #CCCCCC;
}

ul.flex-direction-nav li a:hover {
    text-decoration: none;
}


/* Ajustar la cantidad de miniaturas de producto en grupos de 5 */
body .woocommerce-product-gallery .flex-control-thumbs {
    display: grid;
    gap: 5px;
    margin-top: 5px!important;
    grid-template-columns: repeat(auto-fill, minmax(max(108px, 108px), 1fr));
}

body.woocommerce div.product div.images .flex-control-thumbs li {
    max-width: 100%;
    width: 100%;
    padding-top: 0;
    padding-right: 0;
}

body.woocommerce div.product div.images .flex-control-thumbs li img {
    width: 100%;
    height: auto;
}

body .woocommerce.widget_shopping_cart .woocommerce-mini-cart__buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
}

.widget_shopping_cart .woocommerce-mini-cart__buttons {
    justify-content: space-between;
}

:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button:disabled,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button:disabled[disabled] {
    color: var(--white);
}

body .woocommerce table.shop_table td,
body .woocommerce table.shop_table th {
    padding: 10px 20px;
}

.woocommerce-cart-form__cart-item.cart_item .product-thumbnail > a {
    display: block;
}

.woocommerce #content table.cart img,
.woocommerce table.cart img,
.woocommerce-page #content table.cart img,
.woocommerce-page table.cart img {
    display: block;
    width: 60px;
}

/* WOOCOMMERCE CHECKOUT */
#payment .payment_methods li.wc_payment_method>input[type=radio]:first-child:checked+label:before {
    color: #9e1528;
}


/* NINJA FORMS */

.nf-form-cont {
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: 4px;
}

.nf-form-layout .nf-form-content {
    padding: 0;
}

.nf-form-layout .nf-error .ninja-forms-field,
.nf-form-layout .nf-error .nf-error-msg {
    border-color: var(--red);
    color: var(--red);
}

.nf-form-layout .nf-error.field-wrap .nf-field-element:after {
    background: var(--red);
}

.nf-form-layout .nf-after-form-content {
    margin-top: 20px;
}

.nf-form-layout .nf-field-label .nf-label-span,
.nf-form-layout .nf-field-label label {
    font-weight: 400;
}

.nf-form-layout .nf-form-content .list-select-wrap .nf-field-element>div,
.nf-form-layout .nf-form-content input:not([type=button]),
.nf-form-layout .nf-form-content textarea {
    border-radius: 4px;
}

.nf-form-layout .nf-form-content .list-select-wrap .nf-field-element>div,
.nf-form-layout .nf-form-content input:not([type=button]),
.nf-form-layout .nf-form-content textarea {
    background: var(--white);
    border-color: var(--gray);
}

.nf-form-layout .nf-form-content .list-select-wrap .nf-field-element>div:focus,
.nf-form-layout .nf-form-content input:not([type=button]):focus,
.nf-form-layout .nf-form-content textarea:focus {
    border-color: var(--dark-gray);
}

.nf-form-layout .nf-field-container.submit-container {
    margin-bottom: 0;
}

.nf-form-layout .nf-form-content input[type=submit] {
    text-transform: uppercase;
    background-color: var(--dark-red);
    width: 100%;
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 25px;
}

.nf-form-layout .nf-form-content button:hover,
.nf-form-layout .nf-form-content input[type=button]:hover,
.nf-form-layout .nf-form-content input[type=submit]:hover {
    background: var(--black);
    color: var(--white);
}

.nf-form-layout .nf-error-msg,
.nf-form-layout .ninja-forms-req-symbol {
    color: var(--red);
}


/* PAGES */

/* HOMEPAGE */

.home .entry-content {
    margin-top: 0;
}


/* CONTACTO */

.page-id-55 #main .entry-content {
    max-width: 480px;
    margin-right: auto;
    margin-left: auto;
}

.nf-form-fields-required {
    display: none;
}

.main-title a {
    word-spacing: 0.1em;
    /*font-stretch: condensed;*/
    /*text-transform: uppercase;*/
    /*letter-spacing: -0.04em;*/
    /*border: 2px solid #9e1528;
    color: #9e1528;
    padding: 0px 3px;*/
}


/* MEDIA QUERIES */

@media (min-width: 768.25px) {
    .seccion-edicion-limitada .woocommerce ul.products li.product {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    body.woocommerce div.product .woocommerce-tabs ul.tabs {
         flex-direction: row;
    }
}
