/* ==========================================================================
   VARIABLES GLOBALES DE DISEÑO (Asegurar constantes)
   ========================================================================== */
:root {
    /* Colores Principales (Identidad de marca) */
    --color-primary: #2d5a27;
    --color-primary-hover: #1e3d1a;
    --color-secondary: #8bc34a;

    /* Colores de Contraste y Énfasis */
    --color-accent: #ffcc00;
    --color-accent-contrast: #2d5a27;

    /* Colores de Estado (Stock, Alertas) */
    --color-stock-in: #00b207;
    --color-stock-out: #ea4335;

    /* Paleta de Neutros (Fondos, Bordes y Textos) */
    --color-text: #333333;
    --color-text-main: #2d5a27;
    --color-text-muted: #667c63;
    --color-bg-main: #ffffff;
    --color-bg-light: #f7f9f6;
    --color-bg-subtle: #f4f8f3;
    --color-border: #e2eee0;

    /* Tipografía y Estructura */
    --font-main: 'Open Sans', sans-serif;
    --max-width: 1200px;
    --radius-main: 12px;
    --radius-badge: 20px;
    --transition-fast: all 0.3s ease;
}

/* Reset de caja global: evita desbordes de padding en móvil */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg-main);
    margin: 0;
    padding: 0;
}

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

/* 1. BARRA DE NOTIFICACIÓN SUPERIOR */
.top-notification-bar {
    background-color: var(--color-secondary);
    color: #ffffff;
    text-align: center;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
}
.top-notification-bar p {
    margin: 0;
}

/* 2. ENCABEZADO PRINCIPAL (LAYOUT FLEXBOX) */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--color-border);
    padding: 15px 0;
}

.header-main-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    gap: 30px;
}

/* Control del tamaño del Logo */
.site-branding {
    flex-shrink: 0;
}
.site-branding img, 
.site-branding .custom-logo {
    max-width: 180px;  /* Evita que el logo se coma toda la pantalla */
    height: auto;
    display: block;
}
.site-title a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 800;
    font-size: 1.6rem;
}

/* Buscador Estilo Supgor */
.header-search-bar {
    flex-grow: 1;
    max-width: 600px;
}
.search-form-chacra {
    display: flex;
    position: relative;
    width: 100%;
}
.search-form-chacra .search-field {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 2px solid var(--color-border);
    border-radius: 30px; /* Bordes super redondeados como la barra de Supgor */
    font-size: 0.95rem;
    outline: none;
    background-color: var(--color-bg-light);
    transition: all 0.3s ease;
}
.search-form-chacra .search-field:focus {
    border-color: var(--color-primary);
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(45, 90, 39, 0.05);
}
.search-form-chacra .search-submit {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    border: none;
    background-color: var(--color-primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}
.search-form-chacra .search-submit:hover {
    background-color: var(--color-primary-hover);
}

/* Acciones de Cuenta y Carrito */
.header-user-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-shrink: 0;
}
.action-icon-link {
    text-decoration: none;
    color: var(--color-text);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}
.action-icon-link:hover {
    color: var(--color-primary);
}

/* Caja de Carrito Avanzada */
.cart-contents-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-text);
    background: var(--color-bg-light);
    padding: 8px 16px;
    border-radius: 40px;
    transition: all 0.3s ease;
}
.cart-contents-wrapper:hover {
    background: #e9f0e8;
}
.cart-icon-box {
    position: relative;
    font-size: 1.3rem;
}
.cart-count-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: #ea4335; /* Rojo de alertas */
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-info-text {
    display: flex;
    flex-direction: column;
}
.cart-title {
    font-size: 0.75rem;
    color: #777777;
}
.cart-amount {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* 3. BARRA DE NAVEGACIÓN INFERIOR (Menú) */
.site-navigation {
    background-color: #ffffff;
    border-bottom: 1px solid var(--color-border);
}
.navigation-container {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Quitar los puntos (bullet-points) del menú de WordPress */
.main-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 30px;
}
.main-nav-menu li {
    position: relative;
}
.main-nav-menu a {
    display: block;
    padding: 15px 0;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}
.main-nav-menu a:hover {
    color: var(--color-primary);
}
/* Estilo para el elemento activo de la página */
.main-nav-menu .current-menu-item > a {
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
}

/* ==========================================================================
   BARRA SECUNDARIA SUPERIOR
   ========================================================================== */
.top-secondary-bar {
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-secondary-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.secondary-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.secondary-nav-menu li {
    display: inline-block;
}

.secondary-nav-menu a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.secondary-nav-menu a:hover {
    color: var(--color-primary);
}

/* ==========================================================================
   DESPLEGABLE / MEGA MENU (sub-menú del menú principal)
   ========================================================================== */
.main-nav-menu > .menu-item-has-children {
    position: relative;
    padding: 15px 0;
}

.main-nav-menu > .menu-item-has-children > a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--color-text);
    text-decoration: none;
}

.main-nav-menu > .menu-item-has-children > a::after {
    content: "\f347";
    font-family: "dashicons";
    font-size: 14px;
    vertical-align: middle;
    display: inline-block;
    line-height: 1;
    transition: transform 0.25s ease;
}

.main-nav-menu > .menu-item-has-children:hover > a::after {
    transform: rotate(90deg);
}

.main-nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 15px;
    margin: 0;
    list-style: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--color-border);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease-in-out;
    pointer-events: none;
}

.main-nav-menu > .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.main-nav-menu .sub-menu li {
    margin-bottom: 8px;
}

.main-nav-menu .sub-menu li:last-child {
    margin-bottom: 0;
}

.main-nav-menu .sub-menu a {
    display: block;
    padding: 8px 12px;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 6px;
    transition: background-color 0.2s, color 0.2s;
}

.main-nav-menu .sub-menu a:hover {
    background-color: var(--color-bg-light);
    color: var(--color-primary);
}

/* ==========================================================================
   MEGA MENÚ DE CATEGORÍAS (item "Categorías" del menú principal)
   ========================================================================== */
.main-nav-menu .delachacra-categorias-item > .sub-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    width: min(760px, 92vw);
    min-width: 280px;
    padding: 22px;
}

/* Encabezado de columna: categoría padre */
.main-nav-menu .delachacra-categorias-item > .sub-menu > .menu-item-product-cat > a {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--color-text-main);
    padding: 4px 8px;
}

.main-nav-menu .delachacra-categorias-item > .sub-menu > .menu-item-product-cat > a:hover {
    background-color: transparent;
    color: var(--color-primary);
}

/* Subcategorías: lista estática dentro de cada columna */
.main-nav-menu .delachacra-categorias-item .sub-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    min-width: 0;
    width: 100%;
    padding: 6px 0 0;
    margin: 0;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background-color: transparent;
}

.main-nav-menu .delachacra-categorias-item .sub-menu .sub-menu li {
    margin-bottom: 2px;
}

.main-nav-menu .delachacra-categorias-item .sub-menu .sub-menu a {
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--color-text-muted);
    padding: 7px 8px;
}

.main-nav-menu .delachacra-categorias-item .sub-menu .sub-menu a:hover {
    color: var(--color-primary);
}

/* El chevron del item raíz "Categorías" apunta hacia abajo por defecto */
.main-nav-menu > .menu-item-has-children > a::after {
    transition: transform 0.25s ease;
}

/* ==========================================================================
   HERO SLIDER PRINCIPAL
   ========================================================================== */
.hero-slider-section {
    background-color: #f9f9f9;
    padding: 60px 0;
    overflow: visible;
    position: relative;
}

.slide-container {
    max-width: var(--max-width, 1200px);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* --- BLOQUE IZQUIERDO: TEXTOS --- */
.slide-content {
    flex: 1;
    max-width: 550px;
}

/* Badge de Descuento */
.slide-badge-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.slide-discount-badge {
    font-size: 2.5rem;
    font-weight: 800;
    color: #e62e2e; /* Rojo promocional */
}

.slide-badge-text {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

/* Título e introducción */
.slide-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #0c3e35; /* Verde profundo orgánico tipo Supgor */
    line-height: 1.15;
    margin-bottom: 20px;
}

.slide-description {
    font-size: 1rem;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 35px;
}

/* Acciones y Precios */
.slide-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.btn-shop-now {
    background-color: #0c3e35;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s;
}

.btn-shop-now:hover {
    background-color: #145a4e;
}

.slide-price-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: #00b853; /* Verde brillante para precio */
}

.price-label {
    font-size: 0.75rem;
    color: #888;
    line-height: 1.3;
}

/* --- BLOQUE DERECHO: IMAGEN --- */
.slide-media {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-media img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* --- Personalización de Paginación Swiper (Los puntitos) --- */
.main-hero-slider {
    position: relative;
    overflow: visible;
}

.main-hero-slider .swiper-pagination {
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    display: block; 
    align-items: center;
    justify-content: center;
    gap: 8px;
    overflow: visible;
    z-index: 10;
    position: absolute;
    left: 0;
    right: 0;
    pointer-events: none;
}

.main-hero-slider .swiper-pagination-bullet {
    background: #cccccc;
    opacity: 0.6;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 4px;
    display: inline-block;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
    pointer-events: auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-hero-slider .swiper-pagination-bullet-active {
    width: 26px;
    border-radius: 6px;
    background-color: #0c3e35;
    opacity: 1;
}

/* ---- Slider de Notificaciones ---- */
.notification-container-slider {
    max-width: var(--max-width, 1200px);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* El slider central ocupa el espacio restante */
.notification-slider {
    width: 100%;
    max-width: 800px;
    height: auto;
}

.notification-slide-item {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.notification-slide-item p {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Botones de Flechas Estilo Supgor */
.noti-arrow {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    transition: opacity 0.2s;
    z-index: 10;
}

.noti-arrow:hover {
    opacity: 0.7;
}

.noti-arrow .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* --- Section Beneficios --- */
.home-features-section {
    padding: 40px 0;
    background-color: #ffffff;
    border-bottom: 1px solid #eef2f0;
}

.features-container {
    max-width: var(--max-width, 1200px);
    margin: 0 auto;
    padding: 0 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    align-items: center;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #e0e8e4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2b4d42;
}

.feature-icon .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.feature-title {
    margin: 0 0 4px 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.feature-desc {
    margin: 0;
    font-size: 0.82rem;
    color: #777777;
    line-height: 1.4;
}

/*--- Section de los más vendidos ---*/
.best-sellers-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.best-sellers-container {
    max-width: var(--max-width, 1200px);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #111111;
    margin: 0;
}

.category-filters {
    display: flex;
    gap: 10px;
}

.filter-btn {
    border: 1px solid #e2e8e5;
    background: #ffffff;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #555555;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: #0c3e35;
    color: #ffffff;
    border-color: #0c3e35;
}

.product-card {
    border: 1px solid #eef2f0;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    background: #ffffff;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-card:hover {
    border-color: #d8e4df;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #ff385c;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    z-index: 2;
}

.product-media {
    position: relative;
    text-align: center;
    margin-bottom: 15px;
}

.product-media img {
    max-width: 180px;
    width: auto;
    object-fit: contain;
}

.btn-add-quick {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 32px;
    height: 32px;
    background: #f4f6f5;
    color: #111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-add-quick:hover {
    background: #0c3e35;
    color: #ffffff;
}

.product-rating {
    font-size: 0.8rem;
    color: #ffb800;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating-value {
    color: #888;
}

/* Título */
.product-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 10px 0;
    height: 2.7em;
    overflow: hidden;
}

.product-title a {
    color: #222;
    text-decoration: none;
}

.product-title a:hover {
    color: #0c3e35;
}

/* Precio */
.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.current-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: #00a852;
}

.old-price {
    font-size: 0.85rem;
    color: #999;
}

/* Barra de Inventario */
.stock-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #777;
    margin-bottom: 5px;
}

.stock-count {
    color: #ff385c;
}

.progress-bar {
    height: 4px;
    background-color: #eee;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #ff385c;
    border-radius: 2px;
}

/* Flechas de Navegación Swiper */
.best-sellers-slider .swiper-button-prev,
.best-sellers-slider .swiper-button-next {
    width: 38px;
    height: 38px;
    background-color: #ffffff;
    border: 1px solid #eef2f0;
    border-radius: 50%;
    color: #333;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.best-sellers-slider .swiper-button-prev::after,
.best-sellers-slider .swiper-button-next::after {
    font-size: 14px;
    font-weight: bold;
}
/* ==========================================================================
   SECCIÓN: SHOP BY CATEGORIES (ESTILO SUPGOR)
   ========================================================================== */

.shop-by-categories-section {
    padding: 50px 0;
    background-color: #ffffff;
}

.categories-container {
    max-width: var(--max-width, 1200px);
    margin: 0 auto;
    padding: 0 20px;
}

/* Encabezado */
.categories-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.categories-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #111111;
    margin: 0;
}

.view-all-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111111;
    text-decoration: none;
    transition: color 0.2s ease;
}

.view-all-link:hover {
    color: #0c3e35;
}

/* Marco exterior redondeado */
.categories-card-wrapper {
    border: 1px solid #eef2f0;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
    padding: 15px 0;
}

/* Slider */
.categories-slider {
    width: 100%;
}

/* Divisores verticales estilo tabla entre cada categoría */
.categories-slider .swiper-slide {
    border-right: 1px solid #eef2f0;
    box-sizing: border-box;
}

.categories-slider .swiper-slide:last-child {
    border-right: none;
}

/* Estructura de la tarjeta individual */
.category-card-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 15px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.category-card-item:hover {
    transform: translateY(-3px);
}

/* Caja de la imagen con fondo gris suave */
.category-image-box {
    width: 100%;
    height: 110px;
    background-color: #f4f6f5; /* Fondo gris idéntico al de imagen_3.png */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    padding: 10px;
    box-sizing: border-box;
}

.category-image-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Nombre de la categoría */
.category-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #222222;
    margin: 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.category-card-item:hover .category-name {
    color: #0c3e35;
}
/* ==========================================================================
   SECCIÓN: FAQ CON ACORDEÓN E IMAGEN
   ========================================================================== */

.home-faq-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.faq-container {
    max-width: var(--max-width, 1200px);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1.3fr; /* 2 Columnas idénticas a la imagen */
    gap: 40px;
    align-items: center;
}

/* Columna de la Imagen */
.faq-image-wrapper {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.faq-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 16px;
}

/* Columna del Acordeón */
.faq-accordion {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid #eef2f0;
}

.faq-header {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
    gap: 15px;
}

.faq-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111111;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.faq-header:hover .faq-title {
    color: #0c3e35;
}

/* Flechita / Icono desplegable */
.faq-icon {
    width: 12px;
    height: 12px;
    border-right: 2px solid #555;
    border-bottom: 2px solid #555;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(-135deg);
}

/* Contenido / Respuesta */
.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-content {
    padding-bottom: 20px;
}

.faq-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666666;
}

/* ==========================================================================
   FOOTER (ESTILO SUPGOR)
   ========================================================================== */

.site-footer {
    background-color: #f8faf9;
    padding: 60px 0 30px 0;
    color: #444444;
    font-size: 0.9rem;
}

.footer-container {
    max-width: var(--max-width, 1200px);
    margin: 0 auto;
    padding: 0 20px;
}

.footer-divider {
    border: none;
    border-top: 1px solid #eef2f0;
    margin: 40px 0;
}

/* 1. Newsletter */
.footer-newsletter {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.newsletter-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #111111;
    margin: 0 0 10px 0;
}

.newsletter-desc {
    color: #666666;
    margin: 0;
    max-width: 500px;
    line-height: 1.5;
}

.newsletter-form-wrapper {
    max-width: 480px;
    width: 100%;
}

.newsletter-form {
    display: flex;
    gap: 0;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 12px 18px;
    border: 1px solid #dcdcdc;
    border-right: none;
    border-radius: 6px 0 0 6px;
    font-size: 0.9rem;
    outline: none;
}

.btn-subscribe {
    background-color: #0c3e35;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 0 6px 6px 0;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-subscribe:hover {
    background-color: #06231d;
}

.newsletter-disclaimer {
    font-size: 0.75rem;
    color: #777777;
    margin-top: 10px;
}

.newsletter-disclaimer a {
    color: #111111;
    font-weight: 600;
    text-decoration: underline;
}

/* 2. Grid Principal */
.footer-main-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 30px;
}

.footer-brand-col .footer-logo img {
    max-height: 40px;
    width: auto;
    margin-bottom: 15px;
}

.footer-address {
    color: #555555;
    line-height: 1.5;
    margin-bottom: 15px;
}

.footer-email a {
    color: #0c3e35;
    font-weight: 700;
    text-decoration: none;
}

.widget-title {
    font-size: 1rem;
    font-weight: 800;
    color: #111111;
    margin: 0 0 18px 0;
}

.footer-nav-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-col li {
    margin-bottom: 10px;
}

.footer-nav-col a {
    color: #555555;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav-col a:hover {
    color: #0c3e35;
}

/* 3. Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #777777;
}

.payment-methods {
    display: flex;
    gap: 15px;
    align-items: center;
    font-weight: 800;
}

.pay-icon.mastercard {
    width: 24px;
    height: 16px;
    background: linear-gradient(90deg, #eb001b 50%, #f79e1b 50%);
    border-radius: 3px;
    display: inline-block;
}

.pay-icon.visa { color: #1a1f71; }
.pay-icon.paypal { color: #003087; }
.pay-icon.skrill { color: #811e4f; }

/* ==========================================================================
   PLANTILLA DE TIENDA Y BARRA LATERAL (ESTILO SUPGOR)
   ========================================================================== */

/* Estructura Principal */
.woocommerce-page-wrapper {
    max-width: var(--max-width, 1200px);
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 260px 1fr; /* Sidebar de 260px a la izquierda */
    gap: 35px;
}

/* Sidebar de Categorías */
.shop-sidebar {
    background: #ffffff;
}

.widget-product-categories .widget-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #111111;
    margin: 0 0 20px 0;
}

.product-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    margin-bottom: 12px;
}

.category-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Custom Radio Radio Button */
.custom-radio-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 26px;
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 600;
    color: #444444;
    user-select: none;
    transition: color 0.2s ease;
}

.custom-radio-container:hover {
    color: #0c3e35;
}

.custom-radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-mark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 16px;
    width: 16px;
    background-color: #ffffff;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.custom-radio-container input:checked ~ .radio-mark {
    border-color: #0c3e35;
    background-color: #ffffff;
}

.custom-radio-container input:checked ~ .radio-mark::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0c3e35;
}

/* Botón desplegable + / - */
.toggle-subcat-btn {
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    color: #888888;
    cursor: pointer;
    padding: 0 5px;
    line-height: 1;
}

.toggle-subcat-btn:hover {
    color: #111111;
}

/* Lista de Subcategorías */
.subcategories-list {
    list-style: none;
    padding-left: 28px;
    margin: 8px 0 0 0;
}

.subcategory-item {
    margin-bottom: 6px;
}

.subcategory-item a {
    font-size: 0.85rem;
    color: #666666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.subcategory-item a:hover,
.subcategory-item.active a {
    color: #0c3e35;
    font-weight: 700;
}

/* ==========================================================================
   PÁGINA DE DETALLE DE PRODUCTO (SINGLE PRODUCT - ESTILO SUPGOR)
   ========================================================================== */
.single-product #secondary,
.single-product .sidebar,
.single-product aside.widget-area {
    display: none !important;
}

.single-product #primary,
.single-product .content-area {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 auto !important;
}

/* 3. Ajuste y alineación del Breadcrumb */
.single-product .woocommerce-breadcrumb {
    max-width: var(--max-width, 1200px);
    margin: 20px auto 30px auto;
    padding: 0 20px;
    font-size: 0.88rem;
    color: #777777;
}

.single-product .woocommerce-breadcrumb a {
    color: #444444;
    text-decoration: none;
    transition: color 0.2s ease;
}

.single-product .woocommerce-breadcrumb a:hover {
    color: #0c3e35;
}

.single-product .product {
    max-width: var(--max-width, 1200px);
    margin: 30px auto;
    padding: 0 20px;
}

/* Grilla Principal: Galería a la izquierda, Info a la derecha */
.single-product div.product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* 1. Galería de Imágenes */
.single-product .woocommerce-product-gallery {
    position: relative;
}

.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eef2f0;
}

/* 2. Título & Meta */
.single-product .product_title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #111111;
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-rating-sku-row {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.85rem;
    color: #666666;
    margin-bottom: 15px;
}

.product-sku-badge strong {
    color: #111111;
}

/* 3. Fila de Precio & Stock */
.product-price-stock-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
}

.product-price-box .price {
    font-size: 1.6rem;
    font-weight: 800;
    color: #2b7836;
}

.product-price-box del {
    font-size: 1.1rem;
    color: #999999;
    margin-left: 8px;
    font-weight: 400;
}

.stock-badge.in-stock {
    background-color: #e8f8f0;
    color: #0c3e35;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid #bfe7d3;
}

/* 4. Aviso de Envío */
.product-shipping-notice {
    background-color: #f8faf9;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.88rem;
    color: #444444;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 5. Selector de Cantidad + Botón Añadir al Carrito */
.single-product form.cart {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.single-product form.cart .quantity input.qty {
    width: 90px;
    height: 48px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
}

.single-product form.cart .single_add_to_cart_button {
    flex: 1;
    height: 48px;
    background-color: #0c3e35;
    color: #ffffff;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    transition: background-color 0.2s ease;
}

.single-product form.cart .single_add_to_cart_button:hover {
    background-color: #06231d;
}

/* 6. Wishlist & Compare Links */
.product-extra-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    font-size: 0.88rem;
}

.product-extra-actions a {
    color: #555555;
    text-decoration: none;
    font-weight: 600;
}

/* 7. Cuadro Nutricional */
.product-nutrition-box {
    background-color: #f4f7f6;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.nutrition-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.nutrition-row .label {
    width: 140px;
    color: #333;
}

.nutrition-row .progress-bar {
    flex: 1;
    height: 6px;
    background-color: #e2e8e5;
    border-radius: 3px;
    overflow: hidden;
}

.nutrition-row .progress-bar .fill {
    height: 100%;
    background-color: #0c3e35;
    border-radius: 3px;
}

.nutrition-row .percent {
    font-weight: 700;
    color: #111;
    width: 35px;
    text-align: right;
}

.nutrition-disclaimer {
    font-size: 0.75rem;
    color: #777;
    margin: 10px 0 0 0;
}

/* 8. Insignias de Confianza (Badges Punteadas) */
.product-trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

.trust-item {
    border: 1px dashed #cccccc;
    border-radius: 8px;
    padding: 12px 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.trust-item .icon {
    font-size: 1.2rem;
}

.trust-item .text {
    font-size: 0.75rem;
    font-weight: 700;
    color: #333333;
}

/* ==========================================================================
   CARRITO DE WOOCOMMERCE (BLOQUE) - CENTRADO A 1200px
   ========================================================================== */

/* 1. Liberar contenedores padre para que el Footer use el 100% del ancho */
body.woocommerce-cart #primary,
body.woocommerce-cart .site-main,
body.woocommerce-cart .entry-content,
body.woocommerce-cart .content-area,
body.woocommerce-cart main {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. Limitar el ancho y centrar el BLOQUE DE CARRITO (.wp-block-woocommerce-cart) */
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-cart .wc-block-cart,
.woocommerce-cart .content-area > .wp-block-woocommerce-cart,
.woocommerce-cart .wp-block-woocommerce-cart.alignwide {
    max-width: 1200px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
    float: none !important;
}

/* 3. Títulos del carrito (Gutenberg post-title, h1, h2) alineados a 1200px */
body.woocommerce-cart h1,
body.woocommerce-cart .wp-block-post-title,
body.woocommerce-cart .entry-title,
.woocommerce-cart .content-area > h2 {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 40px auto 20px auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    text-align: left !important;
    box-sizing: border-box !important;
    float: none !important;
    display: block !important;
    color: #111111 !important;
    font-weight: 800 !important;
}

/* 4. Sobrescribir el estilo de alineación ancha de WordPress (.alignwide) */
body.woocommerce-cart .alignwide {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
/* ==========================================================================
   PÁGINA DE CHECKOUT (ESTILOS INDEPENDIENTES Y EXCLUSIVOS)
   ========================================================================== */

/* 1. Resetear contenedores exteriores para no encoger el Footer ni la cabecera */
.woocommerce-checkout #primary,
.woocommerce-checkout .site-main,
.woocommerce-checkout .entry-content,
.woocommerce-checkout .content-area {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. Título 'Checkout / Finalizar compra' (Centrado a 1200px y alineado a la izquierda) */
.woocommerce-checkout h1,
.woocommerce-checkout .entry-title,
.woocommerce-checkout .page-title,
.woocommerce-checkout .content-area > h2 {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 40px auto 20px auto !important;
    padding: 0 20px !important;
    text-align: left !important;
    box-sizing: border-box !important;
    float: none !important;
    font-size: 1.8rem;
    font-weight: 800;
    color: #111111;
}

/* 3. Contenedor Principal del Checkout (Limitado a 1200px Centrado) */
.woocommerce-checkout .woocommerce,
.woocommerce-checkout .wp-block-woocommerce-checkout,
.woocommerce-checkout .wc-block-checkout {
    max-width: 1200px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
    float: none !important;
}

/* 4. Estructura de 2 Columnas para Checkout Tradicional de WooCommerce */
.woocommerce-checkout form.checkout {
    display: flex !important;
    gap: 40px !important;
    align-items: flex-start !important;
    flex-wrap: wrap !important;
    margin-top: 20px !important;
}

.woocommerce-checkout #customer_details {
    flex: 1 !important;
    min-width: 320px !important;
}

.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
    width: 420px !important;
    max-width: 100% !important;
    flex-shrink: 0 !important;
    background-color: #f9fbf9 !important;
    padding: 24px !important;
    border-radius: 12px !important;
    border: 1px solid #eef2f0 !important;
    box-sizing: border-box !important;
}

/* 5. Campos de Entrada (Inputs) Específicos del Checkout */
.woocommerce-checkout form .form-row input.input-text,
.woocommerce-checkout form .form-row select,
.woocommerce-checkout form .form-row textarea {
    width: 100% !important;
    height: 42px !important;
    padding: 8px 14px !important;
    background-color: #ffffff !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 8px !important;
    font-size: 0.92rem !important;
    box-sizing: border-box !important;
    outline: none !important;
}

.woocommerce-checkout form .form-row input.input-text:focus,
.woocommerce-checkout form .form-row select:focus,
.woocommerce-checkout form .form-row textarea:focus {
    border-color: #0c3e35 !important;
}

/* Etiquetas sobre los campos en Checkout */
.woocommerce-checkout form .form-row label {
    display: block !important;
    width: 100% !important;
    margin-bottom: 4px !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    color: #333333 !important;
    text-align: left !important;
}

/* 6. Botón Realizar Pedido (Place Order) */
.woocommerce-checkout #place_order,
.woocommerce-checkout .wc-block-components-checkout-place-order-button {
    width: 100% !important;
    background-color: #0c3e35 !important;
    color: #ffffff !important;
    padding: 14px 20px !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
}

.woocommerce-checkout #place_order:hover,
.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
    background-color: #06231d !important;
}
/* ==========================================================================
   PÁGINA DE MI CUENTA (MY ACCOUNT) - ESTILOS ISLADOS Y CENTRADOS
   ========================================================================== */

/* 1. Resetear contenedores exteriores para mantener el Footer al 100% */
.woocommerce-account #primary,
.woocommerce-account .site-main,
.woocommerce-account .entry-content,
.woocommerce-account .content-area {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. Título "Mi Cuenta" (Centrado a 1200px y alineado a la izquierda) */
.woocommerce-account h1,
.woocommerce-account .entry-title,
.woocommerce-account .page-title,
.woocommerce-account .content-area > h2 {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 40px auto 20px auto !important;
    padding: 0 20px !important;
    text-align: left !important;
    box-sizing: border-box !important;
    float: none !important;
    font-size: 1.8rem;
    font-weight: 800;
    color: #111111;
}

/* 3. Contenedor Principal (Limitado a 1200px y Centrado) */
.woocommerce-account .woocommerce {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto 60px auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    display: flex !important;
    gap: 40px !important;
    align-items: flex-start !important;
    flex-wrap: wrap !important;
}

/* 4. Menú de Navegación Lateral (Columna Izquierda) */
.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 280px !important;
    max-width: 100% !important;
    flex-shrink: 0 !important;
    background-color: #ffffff !important;
    border: 1px solid #eef2f0 !important;
    border-radius: 12px !important;
    padding: 15px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
    box-sizing: border-box !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    margin-bottom: 6px !important;
    border: none !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block !important;
    padding: 12px 16px !important;
    color: #444444 !important;
    font-weight: 600 !important;
    font-size: 0.92rem !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}

/* Estado Hover y Opción Activa del Menú */
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    background-color: #0c3e35 !important;
    color: #ffffff !important;
}

/* 5. Áreas de Contenido del Panel (Columna Derecha) */
.woocommerce-account .woocommerce-MyAccount-content {
    flex: 1 !important;
    min-width: 300px !important;
    background-color: #ffffff !important;
    border: 1px solid #eef2f0 !important;
    border-radius: 12px !important;
    padding: 30px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
    box-sizing: border-box !important;
}

/* 6. Campos de Texto dentro de Mi Cuenta */
.woocommerce-account .woocommerce-MyAccount-content input[type="text"],
.woocommerce-account .woocommerce-MyAccount-content input[type="email"],
.woocommerce-account .woocommerce-MyAccount-content input[type="password"] {
    width: 100% !important;
    height: 42px !important;
    padding: 8px 14px !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 8px !important;
    font-size: 0.92rem !important;
    box-sizing: border-box !important;
    outline: none !important;
}

.woocommerce-account .woocommerce-MyAccount-content input:focus {
    border-color: #0c3e35 !important;
}

.woocommerce-account .woocommerce-MyAccount-content label {
    display: block !important;
    margin-bottom: 4px !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    color: #333333 !important;
}

/* Botón Guardar Cambios */
.woocommerce-account .woocommerce-MyAccount-content button[type="submit"] {
    background-color: #0c3e35 !important;
    color: #ffffff !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    border: none !important;
    font-weight: 700 !important;
    font-size: 0.92rem !important;
    cursor: pointer !important;
    margin-top: 10px !important;
    transition: background-color 0.2s ease !important;
}

.woocommerce-account .woocommerce-MyAccount-content button[type="submit"]:hover {
    background-color: #06231d !important;
}

/* ==========================================================================
   PÁGINAS INTERIORES (LEGALES, CONTACTO, FAQ, RECLAMACIONES)
   ========================================================================== */
.page-content-area {
    max-width: var(--max-width, 1200px);
    margin: 0 auto;
    padding: 40px 20px 60px;
    box-sizing: border-box;
}

.page-header {
    margin-bottom: 25px;
}

.page-header .page-title {
    color: #111111;
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-border, #e2eee0);
}

.entry-content {
    color: var(--color-text, #333333);
    font-size: 1rem;
    line-height: 1.7;
}

.entry-content h2 {
    color: var(--color-text-main, #2d5a27);
    font-size: 1.5rem;
    margin: 30px 0 12px;
}

.entry-content h3 {
    color: var(--color-text-main, #2d5a27);
    font-size: 1.15rem;
    margin: 24px 0 10px;
}

.entry-content p {
    margin: 0 0 14px;
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 14px 20px;
    padding: 0;
}

.entry-content a {
    color: var(--color-primary, #2d5a27);
    text-decoration: underline;
}

.entry-content img {
    border-radius: 8px;
}

/* Avisos de formularios */
.delachacra-notice {
    padding: 14px 18px;
    border-radius: 8px;
    margin: 0 0 20px;
    font-weight: 600;
    font-size: 0.92rem;
}

.delachacra-notice.success {
    background-color: #e8f8f0;
    color: #0c3e35;
    border: 1px solid #bfe7d3;
}

.delachacra-notice.error {
    background-color: #fdecea;
    color: #b3261e;
    border: 1px solid #f5c6c2;
}

/* Formularios del tema (contacto y reclamaciones) */
.delachacra-form {
    background-color: var(--color-bg-light, #f7f9f6);
    border: 1px solid var(--color-border, #e2eee0);
    border-radius: var(--radius-main, 12px);
    padding: 25px;
    margin-top: 20px;
    max-width: 760px;
    box-sizing: border-box;
}

.reclamacion-form {
    max-width: 820px;
}

.delachacra-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.delachacra-form .form-field {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.delachacra-form label {
    font-weight: 600;
    color: #333333;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.delachacra-form input[type="text"],
.delachacra-form input[type="email"],
.delachacra-form input[type="tel"],
.delachacra-form select,
.delachacra-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: var(--font-main, 'Open Sans', sans-serif);
    background-color: #ffffff;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease;
}

.delachacra-form input:focus,
.delachacra-form select:focus,
.delachacra-form textarea:focus {
    border-color: var(--color-primary, #2d5a27);
}

.delachacra-form textarea {
    resize: vertical;
    min-height: 120px;
}

.delachacra-form .btn-submit {
    background-color: var(--color-primary, #2d5a27);
    color: #ffffff;
    border: none;
    padding: 13px 26px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.delachacra-form .btn-submit:hover {
    background-color: var(--color-primary-hover, #1e3d1a);
}

.form-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.reclamacion-legal {
    font-size: 0.8rem;
    color: var(--color-text-muted, #667c63);
    margin-top: 14px !important;
}

/* Enlaces legales del footer */
.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    justify-content: center;
    margin-bottom: 10px;
}

.footer-legal-links a {
    color: var(--color-text-muted, #667c63);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: var(--color-primary, #2d5a27);
    text-decoration: underline;
}

/* Sufijo de precio por peso */
.price-suffix {
    display: inline-block;
    margin-left: 6px;
    font-size: 0.78em;
    font-weight: 600;
    color: var(--color-text-muted, #667c63);
}

/* ==========================================================================
   AVISO DE COOKIES
   ========================================================================== */
.cookie-consent-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background-color: #ffffff;
    border-top: 2px solid var(--color-border, #e2eee0);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.cookie-consent-bar.is-hidden {
    display: none;
}

.cookie-consent-inner {
    max-width: var(--max-width, 1200px);
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-consent-text p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--color-text, #333333);
}

.cookie-consent-text a {
    color: var(--color-primary, #2d5a27);
}

.cookie-consent-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.cookie-btn-accept {
    background-color: var(--color-primary, #2d5a27);
    color: #ffffff;
}

.cookie-btn-accept:hover {
    background-color: var(--color-primary-hover, #1e3d1a);
}

.cookie-btn-reject {
    background-color: var(--color-bg-subtle, #f4f8f3);
    color: var(--color-text-muted, #667c63);
    border: 1px solid var(--color-border, #e2eee0);
}

.cookie-btn-reject:hover {
    background-color: #e7efe5;
}
