/*
 * Add your own custom css below this text.
 */

/* Create var custom colors sun: ffd285, moon: ffa37f, nutrition:f47b8a */
:root {
    --sun: #facb7a;
    --moon: #ffa37f;
    --property: #f47b8a;
    --nutrition: #db6a9b;
    --fifth: #be5acd;
    --sixth: #8c64d3;
    --vegetal: #96d177;
    --sky: #5db3bf;
    --background-light: #fbf9f6;
    --background-middle: #f4eee5;
    --background-dark: #e5d1b2;
    --wood: rgb(152, 117, 110);
    --main-button: #96d177;
    --main-button-hover: #90dc67;
    --star: #ffd285;
    --gray: #c5c5c5;
    --light-gray: #f9f9f9;
    --dark-gray: #6d6d6d;
    --front-middle: #818181;
    --positive: #96d177;
    --positive-light: #e7faf2;
    --negative: #f47b8a;
    --negative-light: #fce1e3;
    --vegetal-dark: #3eb842;
    --vegetal-light: #d1f2d0;
    --sun-light: #fff0d5;
    --sun-dark: #f1ae28;
    --moon-light: #ffe0d5;
    --moon-dark: #ec8962;
    --property-light: #fce1e3;
    --property-dark: #d44e6b;
    --nutrition-light: #fce1f0;
    --nutrition-dark: #c55a81;
}

a:focus {
    outline: none;
}


/* Estilos para la pista (track) del scrollbar */
::-webkit-scrollbar-track {
    background-color: transparent;
    /* color de fondo de la pista */
}

/* Estilos para el thumb (la parte que se mueve del scrollbar) */
::-webkit-scrollbar-thumb {
    background-color: #bdb8af;
    /* color del thumb */
}

/* Estilos para el thumb al hacer hover */
::-webkit-scrollbar-thumb:hover {
    background-color: #8b867a;
    /* color del thumb al hacer hover */
}

/* Personalización de scrollbar para Firefox */
html {
    scrollbar-color: #bdb8af transparent;
    /* color del thumb y color de la pista */
    scrollbar-width: auto;
    /* puedes usar 'auto', 'thin', o 'none' */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    color: #0a0a0a;
}

*,
::after,
::before {
    box-sizing: border-box;
}

/* Assign "Roboto" font family to body and header and paragraph elements each with its weight */
body,
p,
button,
input,
optgroup,
select,
textarea {
    /* font-family: 'Roboto', sans-serif; */
}


h1,
h2,
h3,
h4,
h5,
h6 {
    /* font-family: 'Roboto', sans-serif; */
    letter-spacing: -0.5px;
}

/* h3 {
    font-weight: 500;
} */

/* a,
.woocommerce-breadcrumb a {
    color: black;
} */

/* a:hover,
.site-header .custom-logo-link:hover {
    border-bottom: 2px solid black;
    margin-bottom: -2px;
} */

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

p+h2,
p+header h2,
p+h3,
p+h4,
ul+h2,
ul+header h2,
ul+h3,
ul+h4,
ol+h2,
ol+header h2,
ol+h3,
ol+h4,
table+h2,
table+header h2,
table+h3,
table+h4,
blockquote+h2,
blockquote+header h2,
blockquote+h3,
blockquote+h4,
form+h2,
form+header h2,
form+h3,
form+h4 {
    margin-top: 1.5em;
}

input[type=text],
input[type=number],
input[type=email],
input[type=tel],
input[type=url],
input[type=password],
input[type=search],
textarea,
.input-text {
    border-radius: 10px;
    background: var(--background-light);
}

input[type=text]:focus,
input[type=number]:focus,
input[type=email]:focus,
input[type=tel]:focus,
input[type=url]:focus,
input[type=password]:focus,
input[type=search]:focus,
textarea:focus,
.input-text:focus {
    outline-color: transparent;
    background: white;
}

[type="search"] {
    -moz-appearance: textfield;
    -webkit-appearance: textfield;
    appearance: textfield;
}

/*placeholders*/
::-webkit-input-placeholder,
::-moz-placeholder,
:-moz-placeholder,
:-ms-input-placeholder,
::-ms-input-placeholder,
::placeholder,
input::placeholder,
input:-ms-input-placeholder,
input::-ms-input-placeholder,
input:-moz-placeholder,
input::-moz-placeholder,
input:-webkit-input-placeholder {
    color: var(--front-middle) !important;
}

strong,
b {
    font-weight: 600;
}

.nopad {
    padding: 0 !important;
}

.nomar {
    margin: 0 !important;
}

.is-hidden {
    display: none !important;
}

.is-visible {
    display: block !important;
}

.is-flex {
    display: flex !important;
}

.center {
    text-align: center;
}

.site {
    overflow-y: hidden;
}

.fa-lemon,
.lemon {
    color: #f5d000;
    color: var(--sun-dark);
}

.sap {
    color: #4caf50;
    color: var(--vegetal-dark);
}

.points {
    font-weight: 600;
    font-size: 2rem;
}

.header .points {
    font-size: 1.25rem;
}

.header .balance {
    background-color: var(--background-light);
    border-radius: 1em 1em 0 0;
    padding: 0.5em 1em;
    position: relative;
    z-index: 1;
}

.header .balance::before,
.header .balance::after {
    content: '';
    position: absolute;
    width: 0.5em;
    height: 0.5em;
    bottom: 0;
}

.header .balance::before {
    right: -0.5em;
    background-image: radial-gradient(circle at 100% 0,
            transparent 0.5em,
            var(--background-light) calc(0.5em - 1px));
}

.header .balance::after {
    left: -0.5em;
    background-image: radial-gradient(circle at 0 0,
            transparent 0.5em,
            var(--background-light) calc(0.5em - 1px));
}

.header .balance a {
    display: flex;
    gap: 0.75em;
    text-decoration: none;
}

.header .balance a span:hover {
    text-decoration: underline;
}

.main_navigation .wp-block-navigation-item a:hover {
    text-decoration-thickness: 2px !important;
    text-underline-offset: 5px;
}

.main_navigation .wp-block-navigation-item.current-menu-item a {
    font-weight: bold;
    text-decoration: underline;
    text-decoration-thickness: 3px !important;
    text-underline-offset: 4px;
}

.account_message {
    margin-right: 2em;
}

.account_message a {
    display: flex;
    font-size: 1em;
    gap: 0.5em;
    background-color: var(--background-light);
    border-color: transparent;
    border-radius: 0.5em;
    padding: 0.35em 1.25em;
    align-items: center;
    font-weight: 500;
}

.account_message a:hover {
    border-color: transparent;
}

.account_icon svg {
    fill: black !important;
}

.account_icon {
    display: flex;
    align-items: center;
    gap: 1em;
    font-weight: 500;
    padding: 0.25em 1em;
    height: 40px;
}

.account_icon svg {
    width: 22px;
}

.account_message svg {
    width: 18px;
    height: auto;
}

.clearfix::after {
    content: '';
    display: block;
    clear: both;
}

.clearfix {
    width: 100%;
    display: block;
    clear: both;
}

.spacer {
    height: 2em;
    width: 100%;
    display: block;
    clear: both;
}

.big-spacer {
    height: 4em;
    width: 100%;
    display: block;
    clear: both;
}

/* Assign color to classes with sun, moon or nutrition without dark*/


/* Assign background color to classes with sun, moon or nutrition and dark class */

.background_middle {
    background-color: var(--background-middle);
    color: var(--dark-gray);
}

/* El container parent de .semicircle debe alinear el contenido a la derecha */

.background_light {
    background-color: var(--background-light);
}

.background_light_gray {
    background-color: var(--light-gray);
}


.home.blog .site-header,
.home.page:not(.page-template-template-homepage) .site-header,
.home.post-type-archive-product .site-header {
    margin-bottom: 0;
}

.site-info {
    font-weight: 700;
    padding: 1em 0;
    text-align: center;
    color: var(--property);
}

.footer-bars {
    position: relative;
    margin-top: 5em;
}

.big-circle {
    width: 11em;
    height: 11em;
    border-radius: 50%;
    border: 1.5em solid var(--background-light);
    background-color: var(--background-light);
}

.footer-bars .big-circle {
    position: absolute;
    top: -25%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Ajusta desde el centro exacto */
}

.footer-bars .big-circle img {
    left: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
    position: relative;
}

.footer-bar {
    position: relative;
    height: 46px;
}

.footer-widgets {
    padding: 5em 0 0;
}

.widget.widget_nav_menu {
    width: 100%;
}

.widget.widget_block:last-child {
    margin-bottom: 0;
}

.menu-legal-container {
    width: 70%;
    margin: 2em auto 0;
}

.menu-legal-container ul {
    display: flex;
    justify-content: space-between;
    font-size: 0.75em;
}

.menu-legal-container ul li::before {
    content: '';
}

.menu-legal-container ul li a {
    color: var(--dark-gray) !important;
    text-decoration: none;
}



.section .sidebar .content.col-full {
    flex-flow: column;
    padding: 1.5em;
}

.section .content.col-full {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.section .main-content {
    flex: 3;
    /* Ocupa más espacio en la pantalla */
}

.section .sidebar {
    flex: 1.4;
}

/* Create class full width which ignore the container */
.full-width {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

.woocommerce-account .wp-block-post-title,
.woocommerce-account main .woocommerce,
.woocommerce-cart .wp-block-post-title,
.woocommerce-cart main .woocommerce,
.woocommerce-checkout .wp-block-post-title,
.woocommerce-checkout main .woocommerce {
    max-width: 100%;
}

.woocommerce-breadcrumb {
    font-size: 1em;
    font-weight: 700;
    padding: 0 3.75em !important;
}

.woocommerce-breadcrumb .breadcrumb-separator {
    padding: 0 1em;
}

.woocommerce-breadcrumb,
.woocommerce-breadcrumb a,
.product_meta a {
    text-decoration: none;
}

.woocommerce-breadcrumb a:first-of-type::before {
    content: '';
    margin-right: 0;
}

.woocommerce-breadcrumb .breadcrumb-separator::after {
    opacity: 1;
}

.woocommerce div.product form.cart .variations {
    margin-bottom: 0;
}

.woocommerce table.variations.wpcvs-initialized tr .label {
    width: 120px;
    flex: 0 0 120px;
}

/* star rating */
.star-rating::before {
    opacity: 1;
    color: var(--background-light);
}

.valoraciones p.stars {
    margin: 0;
}

p.stars {
    width: fit-content;
}

p.stars a::before,
p.stars:hover a::before,
p.stars a:hover~a::before,
p.stars.selected a.active~a::before {
    content: "\e020" !important;
    color: white;
    opacity: 1;
}

p.stars a,
.star-rating span,
p.stars a,
p.stars a:hover~a,
p.stars.selected a.active~a,
.star-rating span::before,
.quantity .plus,
.quantity .minus,
p.stars a:hover::after,
p.stars a::after,
.star-rating span::before,
#payment .payment_methods li input[type=radio]:first-child:checked+label::before,
p.stars span.active::before {
    color: var(--star);
}

p.stars:hover a::before,
p.stars.selected a::before {
    color: var(--star);
}

p.stars.selected a.active::before,
.wc-block-grid__product-rating .star-rating span:before,
.wc-block-grid__product-rating .wc-block-grid__product-rating__stars span:before {
    color: var(--star) !important;
}

.wc-block-grid__product-rating .star-rating:before,
.wc-block-grid__product-rating .wc-block-grid__product-rating__stars:before {
    color: var(--background-dark);
}

.wp-element-button,
button.alt,
input[type="button"].alt,
input[type="reset"].alt,
input[type="submit"].alt,
.button.alt,
.widget-area .widget a.button.alt,
.add_to_cart_button {
    background-color: var(--main-button);
    color: white;
    border: 2px solid var(--main-button);
    border-radius: 0.5em;
    padding: 8px 21px 8px 21px;
    font-weight: 600;
    font-size: 1.25em;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: none;
}

.wp-element-button.big,
.big .wp-element-button {
    padding: 0.7em 1.5em;
}

.wp-element-button:hover,
button.alt:hover,
input[type="button"].alt:hover,
input[type="reset"].alt:hover,
input[type="submit"].alt:hover,
.button.alt:hover,
.widget-area .widget a.button.alt:hover,
.add_to_cart_button:hover {
    color: white;
    background-color: var(--main-button-hover);
    border-color: var(--main-button-hover);
}

.wp-block-term-description p {
    margin: 1em 0;
}

.wp-block-term-description p:last-child {
    margin-bottom: 2em;
}


.quantity.wc-block-components-quantity-selector {
    background: var(--background-light) !important;
    margin: 0 1em 0 0 !important;
    border-radius: 0.5em;
    border-color: transparent;
}

.quantity .qty {
    width: 1em !important;
    text-align: center;
    font-size: 1.5em !important;
    background: var(--background-light) !important;
    box-shadow: none;
}

.quantity .qty:hover,
.quantity .qty:focus {
    background: var(--background-light);
    border-color: var(--background-light) !important;
    outline-color: var(--background-light) !important;
}

.wc-block-components-quantity-selector:after {
    border: 0 solid transparent;
}

.wc-block-components-quantity-selector>.wc-block-components-quantity-selector__button--minus {
    border-radius: 0.5em 0 0 0.5em;
}

.wc-block-components-quantity-selector>.wc-block-components-quantity-selector__button--plus {
    border-radius: 0 0.5em 0.5em 0;
}

.wc-block-components-quantity-selector>.wc-block-components-quantity-selector__button {
    background: var(--background-light);
    color: var(--front-middle);
    border-color: transparent !important;
    font-weight: bold;
    min-width: 1em;
    padding: 0.5em;
    opacity: 1;
}

.wc-block-components-quantity-selector>.wc-block-components-quantity-selector__button:hover {
    background: var(--background-middle);
}

.wc-block-components-quantity-selector>.wc-block-components-quantity-selector__button:focus,
.wc-block-components-quantity-selector>.wc-block-components-quantity-selector__button:active {
    border-color: transparent !important;
}

.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}

.wc-block-product-gallery-large-image .wc-block-product-gallery-large-image__container {
    border-radius: 1.5em;
}


.woocommerce ul.products li.product .onsale,
.wc-block-components-product-sale-badge {
    color: inherit;
    background: #fff;
    border: 1px solid #43454b;
    border-radius: 1em;
    box-sizing: border-box;
    color: #43454b;
    font-size: .875em;
    font-weight: 600;
    padding: 1em 1.25em;
    text-align: center;
    text-transform: uppercase;
    width: -moz-fit-content;
    width: fit-content;
    margin: 1em 1em;
    line-height: 1;
}

ul.cards li.product-separator {
    min-height: 102.38px;
    flex-direction: column !important;
}

ul.cards li.product-separator h3.task-group-title {
    width: 100%;
    padding: 0;
}

ul.cards li.product-separator h3.task-group-title a {
    text-decoration: underline;
}

ul.cards li.product-separator h3.task-group-title a:hover {
    text-decoration: none;
}

ul.cards li.product-separator .result-count {
    color: var(--front-middle);
    display: contents;
    font-size: .8em;
    font-weight: 200;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.widget a.button {
    border-radius: 6px;
}

.pagination .page-numbers,
.woocommerce-pagination .page-numbers {
    margin-left: 0.25em;
}

.pagination .page-numbers li .page-numbers,
.woocommerce-pagination .page-numbers li .page-numbers {
    padding: 1em 1.5em;
    border-radius: 10px;
    margin: 0 0 0 0.5em;
}

.pagination .page-numbers li .page-numbers.current,
.woocommerce-pagination .page-numbers li .page-numbers.current {
    background-color: var(--background-middle);
    font-weight: bold;
}

#respond {
    padding: 2em 3em;
    background-color: var(--background-middle);
    border-radius: 2em;
}

.version {
    font-size: 0.7em;
    text-align: center;
    color: var(--dark-gray);
    white-space: nowrap;
    margin-bottom: -2px;
}

.dashicons,
.dashicons-before:before {
    font-size: inherit;
    /* font-family: WooCommerce; */
}

/* Estilos para el modal de restricción */
.huertobio-modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0);
    visibility: hidden;
    transition: background-color 0.8s ease, visibility 0.8s ease;
}

.huertobio-modal.active {
    visibility: visible;
    background-color: rgba(0, 0, 0, 0.4);
}

.huertobio-modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 2.5em;
    border: 1px solid #888;
    top: 50%;
    transform: translateY(-40%);
    width: 80%;
    max-width: 500px;
    text-align: center;
    border-radius: 1em;
    position: relative;
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.huertobio-modal.active .huertobio-modal-content {
    transform: translateY(-50%);
    opacity: 1;
}

.huertobio-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 15px;
}

.huertobio-modal-close:hover,
.huertobio-modal-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#huertobio-modal-message {
    margin-bottom: 2em;
    font-size: 1.1em;
    color: #333;
}

#huertobio-modal-actions {
    display: flex;
    margin-top: 2em;
}

.disclaimer {
    font-size: 0.8em;
    color: #555;
}

.disclaimer p,
.disclaimer ul {
    font-size: 0.8em;
}

.disclaimer h3,
.disclaimer h4,
.disclaimer h5 {
    color: #555;
    margin-bottom: 0.5em;
}

@media (min-width: 768px) {

    .secondary-navigation {
        margin-top: -2.617924em;
    }

    .site-header {
        border-bottom: 0 transparent;
    }

    .site-content {
        padding-top: 0;
    }

    .site-header .site-branding img {
        max-width: 300px;
    }

    .site-branding,
    .site-search,
    .site-header-cart,
    .site-logo-anchor,
    .site-logo-link,
    .custom-logo-link {
        margin-bottom: 0;
    }

    .hentry .entry-header {
        margin-bottom: 1.5em;
    }
}

@media (max-width: 768px) {
    .single-product h2 {
        padding-top: 1em;
    }
}