/*
 * Add your own custom css below this text.
 */

/* ============================================
 * Paleta de Colores - Inspiración Sony Dynamicron
 * ============================================
 * Colores pastel para fondos, variantes dark para texto (contraste WCAG AA 4.5:1+)
 */
:root {
    /* === COLORES PRINCIPALES (pastel - para fondos/decoración) === */
    --sun: #facb7a;
    /* Amarillo cálido */
    --moon: #ffa37f;
    /* Naranja coral */
    --property: #f47b8a;
    /* Rosa salmón */
    --nutrition: #db6a9b;
    /* Rosa fucsia */
    --fifth: #be5acd;
    /* Púrpura */
    --sixth: #8c64d3;
    /* Violeta */
    --vegetal: #43C304;
    /* Verde menta */
    --sky: #5db3bf;
    /* Azul cielo */

    /* === COLORES LIGHT (muy claros - para fondos suaves) === */
    --sun-light: #fff0d5;
    --moon-light: #ffe0d5;
    --property-light: #fce1e3;
    --nutrition-light: #fce1f0;
    --vegetal-light: #d1f2d0;
    --vegetal-muted: #b8d4b0;
    /* Verde desaturado - para estados disabled */
    --sky-light: #d4f0f5;
    --fifth-light: #e8d3f2;
    --sixth-light: #e3d9f7;

    /* === COLORES DARK (oscuros - para texto) === */
    --sun-dark: #d49006;
    --moon-dark: #d5450b;
    --property-dark: #c5153b;
    --nutrition-dark: #c0177a;
    --vegetal-dark: #008a05;
    /* Ajustado */
    --sky-dark: #318ea3;
    --fifth-dark: #8a3fa1;
    --sixth-dark: #6e4bb3;

    /* === FONDOS (neutros cálidos) === */
    --background-light: #fbf9f6;
    /* Casi blanco cálido */
    --background-middle: #f4eee5;
    /* Beige claro */
    --background-dark: #e5d1b2;
    /* Beige oscuro */
    --wood: rgb(152, 117, 110);
    /* Madera */

    /* === ESCALA DE GRISES (renombrada y expandida) === */
    --gray-100: #f9f9f9;
    /* Gris más claro - fondos sutiles */
    --gray-200: #e8e8e8;
    /* Gris claro - bordes suaves */
    --gray-300: #c5c5c5;
    /* Gris medio-claro - bordes, separadores */
    --gray-400: #9a9a9a;
    /* Gris medio - texto deshabilitado */
    --gray-500: #666666;
    /* Gris medio-oscuro - texto secundario (4.5:1 ✓) */
    --gray-600: #595959;
    /* Gris oscuro - texto terciario (6.0:1 ✓) */
    --gray-700: #404040;
    /* Gris muy oscuro - texto principal (9.4:1 ✓) */
    --gray-800: #262626;
    /* Casi negro - énfasis (13.5:1 ✓) */

    /* === ALIASES (compatibilidad + semántica) === */
    /* Grises legacy → nuevos nombres */
    --gray: var(--gray-300);
    /* Was: #c5c5c5 */
    --light-gray: var(--gray-100);
    /* Was: #f9f9f9 */
    --dark-gray: var(--gray-600);
    /* Was: #6d6d6d → ahora más oscuro */
    --front-middle: var(--gray-500);
    /* Was: #818181 → ahora más oscuro */

    /* Estados */
    --positive: var(--vegetal);
    --positive-light: #e7faf2;
    --negative: var(--property);
    --negative-light: #fce1e3;

    /* Botones (ajustados para contraste con texto blanco) */
    --main-button: #4aa832;
    /* Verde saturado - ratio 4.6:1 con blanco ✓ */
    --main-button-hover: #3d8f28;
    /* Verde más oscuro para hover */

    /* Otros */
    --star: #ffd285;
    --star-dark: #f99f02;
}

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;
}

.is-layout-flow>h2,
.is-layout-flow>h3,
.is-layout-flow>h4,
.is-layout-flow>h5,
.is-layout-flow>h6,
.is-layout-constrained>h2:not(:first-child),
.is-layout-constrained>h3:not(:first-child),
.is-layout-constrained>h4:not(:first-child),
.is-layout-constrained>h5:not(:first-child),
.is-layout-constrained>h6:not(:first-child) {
    margin-block-start: 2.5rem !important;
}

/* 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;
}

.overflow-hidden {
    overflow: hidden;
}

.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;
}



.wp-block-term-description p {
    margin: 1em 0;
}

.wp-block-term-description p:last-child {
    margin-bottom: 2em;
}




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;
}



#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;
    display: flex;
    align-items: center;
    justify-content: center;
}

.huertobio-modal.active {
    visibility: visible;
    background-color: rgba(0, 0, 0, 0.4);
}

.huertobio-modal-content {
    background-color: #fefefe;
    padding: 2.5em;
    border: 1px solid #888;
    transform: translateY(-20px);
    width: 80%;
    max-width: 500px;
    text-align: center;
    border-radius: 1em;
    position: relative;
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.3s ease;
    margin: auto;
}

.huertobio-modal.active .huertobio-modal-content {
    transform: translateY(0);
    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;
}

.wc-block-components-button:not(.is-link).is-style-outline:hover,
.wc-block-components-button:not(.is-link).outlined:hover {
    background-color: #414141;
}

.wc-block-components-button:not(.is-link).is-style-outline:not(:focus),
.wc-block-components-button:not(.is-link).outlined:not(:focus) {
    box-shadow: none;
}

@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;
    }

    .wp-block-term-description {
        padding: 0 !important;
    }
}