/*
Theme Name: Naovia
Description: Tema personalizado para tienda online Naovia - Compatible con Elementor y editor de WordPress
Author: Naovia Team
Version: 1.0
Text Domain: naovia
*/

/* Reset y base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== List base: limpia, accesible, configurable ===== */
:root{
  --list-accent: #6b7bff;
  --list-gap: .45rem;         /* vertical spacing between <li> */
  --list-indent: 1.25rem;     /* left indent for bullets */
}

ul.list{
  list-style: disc outside;
  margin: 0;                  /* remove default margins to control spacing yourself */
  padding-left: var(--list-indent);
}

ul.list > li{
  margin-block: var(--list-gap);
}

/* style native bullet (supported widely) */
ul.list > li::marker{
  color: var(--list-accent);
}

/* nested lists slightly tighter */
ul.list ul{
  margin-top: .25rem;
}

/* Reset para que ul/li vuelvan a comportarse como lista clásica */
.entry-content ul,
.wp-block-list{
  /*list-style: disc outside;
  padding-left: 1.25rem;
  margin: 0;*/
}

.post-thumbnail {
    display: none;
}

.woocommerce .products {
    display: block !important;
}

.container-blog {
    margin: 2rem 0;
}

.woocommerce div.product {
    padding: 0 4rem;
}

.entry-content ul li,
.wp-block-list li{
  line-height: 1.5;
  margin: .35rem 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #374151;
}

/* WordPress Core Styles */
.alignleft {
    float: left;
    margin-right: 1rem;
}

.alignright {
    float: right;
    margin-left: 1rem;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    font-style: italic;
    margin-top: 0.5rem;
}

/* Header Styles */
.site-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.alignfull {
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.wp-block-uagb-container {
    margin: 4rem 0;
}

.wp-block-columns.are-vertically-aligned-center {
    background-color: unset !important;
}

.uagb-icon {
    width: 15px;
    height: 15px;
    display: block;
}

.uagb-icon-active {
    width: 15px;
    height: 15px;
    display: block;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-icon {
    background: #059669;
    padding: 0.5rem;
    border-radius: 0.5rem;
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1f2937;
    margin-left: 0.5rem;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.2s;
    padding: 0.5rem 0;
}

.main-navigation a:hover {
    color: #059669;
}

/* Content Styles */
.site-main {
    min-height: 60vh;
    padding: 2rem 0;
}

.content-area {
    max-width: 100%;
    margin: 0 auto;
}

.entry-content {
    width: 90%;
    margin: 0 auto;
}

/* Base = móvil */
.entry-content {
    width: 100%;
    margin: 0 auto;
}

.wp-block-cover__inner-container.is-layout-flow.wp-block-cover-is-layout-flow {
    padding: 0 1rem;
}

.wp-block-uagb-container {
    margin: 0;
}

.wp-block-pullquote {
    padding: 1em 0 !important;
    font-size: 26px !important;
}
.woocommerce .products ul, .woocommerce ul.products {
    width: 90% !important;
    margin: 5rem auto !important;
    display: grid !important;
}
.woocommerce ul.products li.product a.woocommerce-loop-product__link {
    justify-items: center !important;
}
.woocommerce ul.products li.product .onsale {
    top: 10px !important;
    right: 10px !important;
}
.woocommerce ul.products li.product .button {
    text-align: center !important;
}
.page-description {
    width: 100%;
}
.catalog-hero__inner {
    width: 90% !important;
    margin: 5rem auto !important;
}
.woocommerce .woocommerce-breadcrumb {
    margin: 0px 10% 1em;
}
@media (max-width: 600px) {
    .wp-block-uagb-container {
        margin: 0 !important;
    }
    .wp-block-cover__inner-container.is-layout-flow.wp-block-cover-is-layout-flow  {
        padding: 0 1rem !important;
    }
    .wp-block-media-text.is-stacked-on-mobile>.wp-block-media-text__media {
        grid-column: 1;
        grid-row: 1;
        max-width: 8rem;
        max-height: 100%;
        justify-self: center;
        margin: 2rem 0;
    }
}

/* Tablet en adelante */
@media (min-width: 768px) {
    .entry-content {
        width: 90%;
        margin: 0 auto;
    }
    .wp-block-cover__inner-container.is-layout-flow.wp-block-cover-is-layout-flow {
        padding: 0 5rem;
    }
    .wp-block-uagb-container {
        margin: 4rem 0;
    }
    .wp-block-pullquote {
        padding: 4em 0;
        font-size: 48px !important;
    }
}

@media (max-width: 781px) {
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex-basis: 100% !important;
        padding: 0 2rem !important;
    }
}
.post-category {
    display: none;
}
.meta-author {
    display: none;
}
@media (max-width: 768px) {
    .category-filter {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
        justify-content: center !important;
    }
}

.entry-content h1 {
    padding: 0 2rem !important;
}

/* Desktop en adelante */
@media (min-width: 1024px) {
    .entry-content {
        width: 90%;
        margin: 0 auto;
    }
    .wp-block-cover__inner-container.is-layout-flow.wp-block-cover-is-layout-flow {
        padding: 0 5rem;
    }
    .wp-block-uagb-container {
        margin: 4rem 0;
    }
    .wp-block-pullquote {
        padding: 4em 0;
        font-size: 48px !important;
    }
}

.wp-block-pullquote {
    color: white;
}

.wp-block-cover__image-background.has-parallax {

}

.wp-block-group__inner-container .is-layout-constrained .wp-block-group-is-layout-constrained {
    margin: 0 auto;
}

.wp-block-cover__inner-container.is-layout-flow.wp-block-cover-is-layout-flow {
    padding: 0px 5rem;
}

.entry-header {
    display: none;
    margin-bottom: 2rem;
    padding: 0 2rem;
}
.entry-footer {
    display: none;
}
.wp-block-group__inner-container {
    margin: 0 0 2rem 0;
}
.wp-block-details {
    margin: 0rem;
}
.post-navigation {
    display: none;
}
.entry-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 1rem;
}
.wp-block-group.has-medium-font-size.is-layout-grid.wp-block-group-is-layout-grid {
    display: flex;
    justify-content: space-between;
}
.entry-content {
    line-height: 1.8;
    color: #374151;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #111827;
}

.entry-content p {
    margin-bottom: 1rem;
}

.entry-content img {
    max-width: 100%;
    height: auto;
}

/* Buttons */
.button {
    border-radius: 9999px;
}
.btn-primary {
    background: #059669;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #047857;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.btn-secondary {
    border: 2px solid #d1d5db;
    color: #374151;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
    background: transparent;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: #059669;
    color: #059669;
}

/* Naovia Custom Styles */
.naovia-hero {
    /*background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 50%, #eff6ff 100%);
    padding: 4rem 0;
    text-align: center;*/
}

.naovia-hero p {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.naovia-features {
    padding: 4rem 0;
    background: #f9fafb;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #111827;
}

.feature-description {
    color: #6b7280;
    line-height: 1.6;
}

/* Products Grid */
.naovia-products {
    padding: 4rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #111827;
}

.product-price {
    font-size: 1.25rem;
    font-weight: bold;
    color: #059669;
    margin-bottom: 1rem;
}

/* Contact Section */
.naovia-contact {
    padding: 4rem 0;
    background: #f9fafb;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #111827;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #374151;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

/* Footer */
.site-footer {
    background: #111827;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* Elementor Compatibility */
.elementor-widget-container {
    word-wrap: break-word;
}

.elementor-section {
    position: relative;
}

/* WooCommerce Compatibility */
.woocommerce .products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.woocommerce .product {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s;
}

.woocommerce .product:hover {
    transform: translateY(-5px);
}

.woocommerce .add_to_cart_button {
    background: #059669 !important;
    color: white !important;
    border: none !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 0.5rem !important;
    font-weight: 600 !important;
    transition: background 0.2s !important;
}

.woocommerce .add_to_cart_button:hover {
    background: #047857 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .naovia-hero h1 {
        font-size: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 2rem; }
.h5 {
    height: 1.25rem;
}
.w-5 {
    width: 1.25rem;
}
.mr-3 {
    margin-right: 0.75rem;
}
.gap-4 {
    gap: 1rem;
}
.flex-col {
    flex-direction: column;
}
.header-search {
    margin-left: 2rem;
    display: flex;
    align-items: center;
}
.search-form {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    --tw-bg-opacity: 1;
    background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
    border-radius: 9999px;
    width: 24rem;
    display: flex;
    align-items: center;
    background: #f4f6f8;
    padding: 0.1rem 1.1rem 0.1rem 1.5rem;
    box-shadow: 0 1px 5px rgba(0,0,0,0.04);
    transition: box-shadow .2s;
    max-width: 320px;
}
.search-form:focus-within {
    box-shadow: 0 2px 10px rgba(0,0,0,0.10);
}
.search-field {
    flex: 1 1 0%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #374151;
    padding: 0.7rem 0;
    width: 170px;
}
.search-submit {
    background: none;
    border: none;
    color: #059669;
    font-size: 1.25rem;
    cursor: pointer;
    margin-left: 0.6rem;
    padding: 0.3rem 0.4rem;
    transition: color .2s;
    border-radius: 50%;
    display: flex;
    align-items: center;
}
.search-submit:hover .search-icon {
    color: #2563eb;
}
.search-icon {
    font-size: 1.15em;
    pointer-events: none;
}
.text-gray-400 {
    --tw-text-opacity: 1;
    color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}
.mr-3 {
    margin-right: 0.75rem;
}
.account-link {
    color: #374151;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-weight: 500;
    margin-right: 1.2rem;
    font-size: 1.05rem;
    transition: color 0.2s;
    padding: 0.3rem 0.8rem 0.3rem 0.5rem;
    border-radius: 8px;
}
.account-link:hover {
    --tw-text-opacity: 1;
    color: rgb(5 150 105 / var(--tw-text-opacity, 1));
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
.custom-logo-link img {
    width: 45px;
    height: 45px;
}
.account-icon {
    font-size: 1.25rem;
    margin-right: 0.4rem;
}
.site-branding {
    display: flex;
    align-items: center;
}
.cart-link {
    color: #374151;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.2s, background 0.2s;
    margin-right: 0.8rem;
    padding: 0.3rem 1rem 0.3rem 0.7rem;
    border-radius: 8px;
    position: relative;
}
.cart-link:hover {
    color: #059669;
}
.cart-icon {
    font-size: 1.35rem;
    margin-right: 0.4rem;
    display: flex;
    align-items: center;
}
.cart-count {
    position: absolute;
    right: -0rem;
    top: -0.2rem;
    background: #059669;
    color: #fff;
    font-size: 0.93rem;
    font-weight: bold;
    border-radius: 50%;
    width: 1.3em;
    height: 1.3em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.4em;
    margin-left: -0.2em;
    box-shadow: 0 2px 7px rgba(5,150,105,0.12);
    border: 2px solid #fff;
}
.cart-text {
    display: none; /* Oculta el texto "Carrito" en desktop para un look más limpio */
}
@media (max-width: 768px) {
    .cart-text {
        display: inline; /* Puedes mostrarlo en móvil si quieres */
        margin-left: 0.5em;
    }
}
.header-actions {
    align-items: center;
    display: flex;
    a {
        color: grey;
    }
}
body {
    position: relative;
    z-index: 1; /* Para asegurarte de que el body esté por encima del fondo */
}

/* Fondo opaco solo para la imagen */
body::before {
    content: "";
    position: fixed; /* o absolute, según prefieras */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url(https://www.naovia.es/wp-content/uploads/2025/07/Diseno-sin-titulo-1.png);
    background-position: left top;
    background-size: auto;
    background-repeat: repeat;
    background-attachment: scroll; /* No aplica con ::before, pero no pasa nada */
    opacity: 0.1; /* <-- Cambia esto a la opacidad que quieras */
    z-index: 0;
    pointer-events: none; /* Para que no bloquee clics */
}

/* Importante: */
body > * {
    position: relative;
    z-index: 1;
}
.launch-offer {
    --tw-text-opacity: 1;
    color: rgb(4 120 87 / var(--tw-text-opacity, 1));
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    --tw-bg-opacity: 1;
    background-color: rgb(209 250 229 / var(--tw-bg-opacity, 1));
    border-radius: 9999px;
    align-items: center;
    display: inline-flex;
    margin-bottom: 2rem;
}
@media (min-width: 768px) {
    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (max-width: 768px) {
    .grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.text-center {
    text-align: center;
}
.gap-8 {
    gap: 2rem;
}
.grid {
    display: grid;
}
.mt-16 {
    margin-top: 4rem;
}
.text-emerald-600 {
    --tw-text-opacity: 1;
    color: rgb(5 150 105 / var(--tw-text-opacity, 1));
}
.font-bold {
    font-weight: 700;
}
.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}
.text-gray-600 {
    --tw-text-opacity: 1;
    color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}
.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}
.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}
.border-gray-300 {
    --tw-border-opacity: 1;
    border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
}
.border-2 {
    border-width: 2px;
}
.rounded-full {
    border-radius: 9999px;
}
@media (min-width: 1024px) {
    .lg\:text-7xl {
        font-size: 4.5rem;
        line-height: 1;
    }
}
@media (min-width: 640px) {
    .sm\:flex-row {
        flex-direction: row;
    }
}
.text-gray-900 {
    --tw-text-opacity: 1;
    color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}
.leading-tight {
    line-height: 1.25;
}
.font-bold {
    font-weight: 700;
}
.text-5xl {
    font-size: 3rem;
    line-height: 1;
}
.mb-6 {
    margin-bottom: 1.5rem;
}
.text-emerald-600 {
    --tw-text-opacity: 1;
    color: rgb(5 150 105 / var(--tw-text-opacity, 1));
}
.text-blue-600 {
    --tw-text-opacity: 1;
    color: rgb(37 99 235 / var(--tw-text-opacity, 1));
}
.justify-center {
    justify-content: center;
}
@media (min-width: 1024px) {
    .lg\:text-2xl {
        font-size: 1.5rem;
        line-height: 2rem;
    }
    .lg\:text-7xl {
        font-size: 4.5rem;
        line-height: 1;
    }
}
.text-gray-600 {
    --tw-text-opacity: 1;
    color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}
.leading-relaxed {
    line-height: 1.625;
}
.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}
.max-w-3xl {
    max-width: 48rem;
}
.mb-8 {
    margin-bottom: 2rem;
}
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}
.space-x-4 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(1rem * var(--tw-space-x-reverse));
    margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
}
button, [role="button"] {
    cursor: pointer;
}
.text-gray-700 {
    --tw-text-opacity: 1;
    color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}
.w-6 {
    width: 1.5rem;
}
.h-6 {
    height: 1.5rem;
}
.hidden {
    display: none;
}
.w-96 {
    width: 24rem;
}
.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}
.bg-gray-100 {
    --tw-bg-opacity: 1;
    background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}
.items-center {
    align-items: center;
}
@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }
}
@media (min-width: 1024px) {
    .lg\:flex {
        display: flex;
    }
}
.justify-between {
    justify-content: space-between;
}
.flex {
    display: flex;
}
@media (min-width: 768px) {
    .md\:hidden {
        display: none;
    }
}
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}
.container {
    width: 100%;
}

/* Menú mobile cerrado por defecto */
@media (max-width: 768px) {
    .hamburger-btn {
        display: inline-flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        width: 40px;
        height: 40px;
        background: #ffffff;
        border: 2px solid #059669;
        border-radius: 8px;
        cursor: pointer;
        transition: border-color 0.3s, box-shadow 0.3s;
        position: relative;
        z-index: 1101;
        padding: 8px;
    }

    .hamburger-line {
        display: block;
        width: 100%;
        height: 3px;
        background: #059669;
        border-radius: 2px;
        transition: transform 0.3s, opacity 0.3s, width 0.3s;
    }

    /* Animación para estado activo (aspa) */
    .hamburger-btn.active .hamburger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger-btn.active .hamburger-line:nth-child(2) {
        opacity: 0;
        width: 0;
    }

    .hamburger-btn.active .hamburger-line:nth-child(3) {
        transform: translateY(-5px) rotate(-45deg);
    }

    /* Efecto hover elegante */
    .hamburger-btn:hover {
        border-color: #047857;
        box-shadow: 0 4px 8px rgba(5,150,105,0.2);
    }

    .main-navigation {
        display: none !important;
        position: fixed;
        top: 72px;
        left: 0;
        width: 100vw;
        background: #fff;
        box-shadow: 0 8px 24px rgba(16, 185, 129, 0.09);
        flex-direction: column !important;
        gap: 1rem !important;
        padding: 2rem 1.5rem 1.5rem;
        z-index: 1100;
        animation: slideDown .25s;
    }

    .main-navigation.toggled {
        display: flex !important;
    }
}

/* Desktop siempre visible y en horizontal */
@media (min-width: 769px) {
    .main-navigation {
        display: flex !important;
        position: static !important;
        flex-direction: row !important;
        gap: 2rem !important;
        padding: 0 !important;
        box-shadow: none !important;
        background: none !important;
    }
}
@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

@keyframes slideDown {
    from {transform: translateY(-30px); opacity: 0;}
    to {transform: translateY(0); opacity: 1;}
}
.text-white {
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.bg-gray-900 {
    --tw-bg-opacity: 1;
    background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
}
.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}


/* Footer styles social*/
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    color: #9ca3af;
    transition: color 0.3s, transform 0.3s;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #1f2937;
    padding: 0.5rem;
    border-radius: 50%;
    width: 44px;
    height: 44px;
}

.social-link:hover {
    color: #fff;
    transform: translateY(-4px);
}

.social-link.facebook:hover {
    background-color: #1877F2;
}

.social-link.instagram:hover {
    background-color: #E1306C;
}
.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
}
@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-6 {
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    }
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}
.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}
.bg-gray-50 {
    --tw-bg-opacity: 1;
    background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}
.mb-16 {
    margin-bottom: 4rem;
}
.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}
.duration-300 {
    transition-duration: 300ms;
}
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
.shadow-lg {
    --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.bg-white {
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.rounded-2xl {
    border-radius: 1rem;
}
.transform {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.p-8 {
    padding: 2rem;
}
.w-16 {
    width: 4rem;
}
.h-16 {
    height: 4rem;
}
.hover\:shadow-xl:hover {
    --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.hover\:-translate-y-2:hover {
    --tw-translate-y: -0.5rem;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.bg-emerald-500 {
    --tw-bg-opacity: 1;
    background-color: rgb(16 185 129 / var(--tw-bg-opacity, 1));
}
.bg-blue-500 {
    --tw-bg-opacity: 1;
    background-color: rgb(59 130 246 / var(--tw-bg-opacity, 1));
}
.bg-orange-500 {
    --tw-bg-opacity: 1;
    background-color: rgb(249 115 22 / var(--tw-bg-opacity, 1));
}
.bg-purple-500 {
    --tw-bg-opacity: 1;
    background-color: rgb(168 85 247 / var(--tw-bg-opacity, 1));
}
.bg-teal-500 {
    --tw-bg-opacity: 1;
    background-color: rgb(20 184 166 / var(--tw-bg-opacity, 1));
}
.bg-pink-500 {
    --tw-bg-opacity: 1;
    background-color: rgb(236 72 153 / var(--tw-bg-opacity, 1));
}
.rounded-xl {
    border-radius: 0.75rem;
}
.w-8 {
    width: 2rem;
}
.h-8 {
    height: 2rem;
}
.inline-flex {
    display: inline-flex;
}
/* Rejilla responsiva 4–3–2 columnas */
.post-type-archive-product .woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0 !important;
}
@media (max-width: 1024px){
  .post-type-archive-product .woocommerce ul.products { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 640px){
  .post-type-archive-product .woocommerce ul.products { grid-template-columns: repeat(2,1fr); }
}

/* Tarjeta */
.post-type-archive-product .woocommerce ul.products li.product {
  list-style: none;
  border: 1px solid #e9e9e9;
  border-radius: 12px;
  background: #fff;
  padding: 14px;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.post-type-archive-product .woocommerce ul.products li.product:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

/* Imagen consistente */
.post-type-archive-product .woocommerce ul.products li.product a img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 1/1; object-fit: cover; border-radius: 8px;
  margin-bottom: 10px;
}

/* Título, precio y botón */
.post-type-archive-product .woocommerce-loop-product__title {
  font-size: 16px; line-height: 1.35; margin: 4px 0 6px; min-height: 44px;
}
.post-type-archive-product .price { font-weight: 600; margin-bottom: 10px; display: block; }
.post-type-archive-product .button { width: 100%; border-radius: 8px; padding: 10px 12px; }

/* Por si algún resto del toolbar se imprime */
.post-type-archive-product .woocommerce-result-count,
.post-type-archive-product .woocommerce-ordering { display: none !important; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    width: 100% !important;
    text-align: center !important;
}
.woocommerce .products ul::after, .woocommerce .products ul::before, .woocommerce ul.products::after, .woocommerce ul.products::before {
    content: none !important;
}