* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

/* Breadcrumb */
nav.breadcrumb {
    background: #f8f9fa;
    padding: 0.75rem 5%;
    border-bottom: 1px solid #e8ece9;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 0.6rem;
    max-width: 1400px;
    margin: 0 auto;
    font-size: 0.9rem;
}

.breadcrumb li:not(:last-child)::after {
    content: "/";
    margin-left: 0.6rem;
    color: #999;
}

.breadcrumb a {
    color: #1a4d2e;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb li[aria-current="page"] {
    color: #666;
}

.technical-note,
.process-note {
    background: #fff9e8;
    border-left: 4px solid #daa520;
    padding: 1rem 1.25rem;
    border-radius: 6px;
    margin: 1.5rem 0;
    color: #514525;
    font-size: 0.95rem;
}

.hero {
    background: linear-gradient(135deg, rgba(26, 77, 46, 0.88), rgba(218, 165, 32, 0.78)),
        url('https://images.unsplash.com/photo-1587049352846-4a222e784d38?auto=format&fit=crop&w=1920') center/cover;
    color: #fff;
    padding: 6rem 5%;
    text-align: center;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    max-width: 900px;
    margin-bottom: 2rem;
}

.cta-button {
    background: #f4c430;
    color: #1a4d2e;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

section {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #1a4d2e;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.about,
.varieties,
.markets {
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.about-image {
    background: linear-gradient(135deg, #daa520, #f4c430);
    height: 400px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a4d2e;
    font-size: 5rem;
}


.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s;
    border-top: 4px solid #daa520;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    color: #1a4d2e;
    margin-bottom: 1rem;
}

.varieties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.variety-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #daa520;
    transition: transform 0.3s;
}

.variety-card:hover {
    transform: translateY(-5px);
}

.variety-card .honey-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.variety-card h3 {
    color: #b8860b;
    margin-bottom: 0.5rem;
}

.variety-card .region {
    font-style: italic;
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.variety-card .markets {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #ddd;
    font-size: 0.95rem;
}

.variety-card .markets strong {
    color: #1a4d2e;
}

.specs-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.spec-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-top: 4px solid #daa520;
}

.spec-card h3 {
    color: #b8860b;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f4c430;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.spec-table td:first-child {
    font-weight: 600;
    color: #1a4d2e;
    width: 45%;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.process-step {
    background: linear-gradient(135deg, #b8860b, #daa520);
    color: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.process-step .number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 1rem;
}

.process-step h4 {
    margin-bottom: 1rem;
}

.markets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.market-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #daa520;
}

.market-card h3 {
    color: #1a4d2e;
    margin-bottom: 1rem;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.cert-badge {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border: 2px solid #1a4d2e;
    font-weight: bold;
    color: #1a4d2e;
}

.faq-item {
    background: #fff;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    margin-bottom: 1.2rem;
    border-left: 4px solid #daa520;
}

.faq-item h3 {
    color: #1a4d2e;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.contact {
    background: linear-gradient(135deg, #b8860b, #1a4d2e);
    color: #fff;
}

.contact .section-title {
    color: #fff;
}

.contact-form {
    max-width: 700px;
    margin: 2rem auto 0;
    background: #fff;
    padding: 3rem;
    border-radius: 15px;
    color: #333;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1a4d2e;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: #1a4d2e;
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #2e7d32;
}

/* Faltan en style.css: Estilos para la grilla de calibres */
.calibre-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.calibre-card {
    background: #fff;
    border: 2px solid #1a4d2e;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.calibre-card .size {
    font-size: 2rem;
    font-weight: bold;
    color: #a0783c;
    display: block;
    margin-bottom: 0.5rem;
}

.calibre-card span.use {
    font-size: 0.95rem;
    color: #555;
}

/* Faltan en style.css: Selector independiente para la sección de especificaciones */
.specs {
    background: #f8f9fa;
}

/* Faltan en style.css: Reglas específicas para el breadcrumb (tu CSS actual usa 'nav.breadcrumb') */
.breadcrumb li {
    color: #666;
}

.breadcrumb [aria-current="page"] {
    color: #555;
    font-weight: 600;
}

/* ================================================================= */
/* ESTILOS ESPECÍFICOS DE LA PÁGINA DE CATÁLOGO (Faltantes)          */
/* ================================================================= */

/* Comportamiento de scroll suave y accesibilidad */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

/* Breadcrumb específico del catálogo */
.breadcrumb {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.85rem 5%;
    background: #fff;
    font-size: 0.9rem;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 0.55rem;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: "/";
    margin-left: 0.55rem;
    color: #aaa;
}

/* Botones de filtro */
.filter-container {
    text-align: center;
    margin-bottom: 3rem;
}

.filter-btn {
    background: #fff;
    color: #1a4d2e;
    border: 2px solid #1a4d2e;
    padding: 0.75rem 1.5rem;
    margin: 0.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.filter-btn img {
    display: block;
    flex-shrink: 0;
}

.filter-btn:hover,
.filter-btn.active {
    background: #1a4d2e;
    color: #fff;
}

.filter-btn:focus-visible,
.cta-button:focus-visible,
.product-card:focus-visible {
    outline: 3px solid #daa520;
    outline-offset: 4px;
}

/* Secciones de categoría */
.category-section {
    margin-bottom: 4rem;
    scroll-margin-top: 100px;
}

.category-title {
    font-size: 2rem;
    color: #1a4d2e;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #f4c430;
    display: inline-block;
}

/* Encabezado de categoría con icono (usado en Legumbres) */
.category-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.category-heading .olive-icon {
    flex-shrink: 0;
    margin: 0;
}

.category-heading .olive-icon img {
    display: block;
}

.category-heading .category-title {
    margin: 0;
    white-space: nowrap;
}

/* Grilla y Tarjetas de Productos */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
}

.product-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-icon {
    font-size: 4.5rem;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.product-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card h3 {
    color: #1a4d2e;
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.product-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.product-card .view-details {
    color: #1a4d2e;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: auto;
}

.product-card .view-details::after {
    content: " →";
    transition: margin-left 0.3s;
}

.product-card:hover .view-details::after {
    margin-left: 0.5rem;
}

/* Nota informativa del catálogo */
.catalog-note {
    max-width: 1050px;
    margin: 0 auto 3rem;
    padding: 1.25rem 1.5rem;
    background: #f8f9fa;
    border-left: 4px solid #daa520;
    border-radius: 8px;
    color: #555;
    font-size: 0.95rem;
}

/* Sección de Estadísticas */
.stats {
    background: linear-gradient(135deg, #1a4d2e, #2e7d32);
    color: #fff;
    padding: 4rem 5%;
    max-width: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.stat-item .number {
    font-size: 3rem;
    font-weight: bold;
    color: #f4c430;
    display: block;
}

.stat-item .label {
    font-size: 1.05rem;
    margin-top: 0.5rem;
}

/* Sección CTA Final */
.cta-section {
    background: #f8f9fa;
    text-align: center;
}

.cta-section h2 {
    color: #1a4d2e;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.variety-card .nut-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.variety-card .flour-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}




/* Ajuste menor al footer existente */
footer p {
    margin-bottom: 0.5rem;
}

/* ================================================================= */
/* ESTILOS ESPECÍFICOS DE LA PÁGINA DE CATÁLOGO                      */
/* ================================================================= */
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

.filter-container { text-align: center; margin-bottom: 3rem; }
.filter-btn { 
    background: #fff; color: #1a4d2e; border: 2px solid #1a4d2e; 
    padding: 0.75rem 1.5rem; margin: 0.5rem; border-radius: 50px; 
    cursor: pointer; font-size: 1rem; font-weight: 600; 
    transition: all 0.3s; display: inline-flex; align-items: center; 
    justify-content: center; gap: 8px; white-space: nowrap; 
}
.filter-btn:hover, .filter-btn.active { background: #1a4d2e; color: #fff; }
.filter-btn:focus-visible, .cta-button:focus-visible, .product-card:focus-visible { 
    outline: 3px solid #daa520; outline-offset: 4px; 
}
.filter-btn img { display: block; flex-shrink: 0; }

.category-section { margin-bottom: 4rem; scroll-margin-top: 100px; }
.category-title { 
    font-size: 2rem; color: #1a4d2e; margin-bottom: 2rem; 
    padding-bottom: 0.5rem; border-bottom: 3px solid #f4c430; 
    display: inline-block; 
}
.category-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.category-heading .olive-icon { flex-shrink: 0; margin: 0; }
.category-heading .olive-icon img { display: block; }
.category-heading .category-title { margin: 0; white-space: nowrap; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; }
.product-card { 
    background: #fff; border-radius: 15px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); 
    overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; 
    text-decoration: none; color: inherit; display: flex; flex-direction: column; 
    border: 1px solid #eee; 
}
.product-card:hover { transform: translateY(-7px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); }
.product-icon { font-size: 4.5rem; text-align: center; padding: 2rem; background: linear-gradient(135deg, #f8f9fa, #e9ecef); }
.product-content { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.product-card h3 { color: #1a4d2e; font-size: 1.35rem; margin-bottom: 0.75rem; }
.product-card p { color: #666; font-size: 0.95rem; margin-bottom: 1rem; flex-grow: 1; }
.product-card .view-details { color: #1a4d2e; font-weight: 600; font-size: 0.95rem; margin-top: auto; }
.product-card .view-details::after { content: " →"; transition: margin-left 0.3s; }
.product-card:hover .view-details::after { margin-left: 0.5rem; }

.stats { background: linear-gradient(135deg, #1a4d2e, #2e7d32); color: #fff; padding: 4rem 5%; max-width: none; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; max-width: 1400px; margin: 0 auto; text-align: center; }
.stat-item .number { font-size: 3rem; font-weight: bold; color: #f4c430; display: block; }
.stat-item .label { font-size: 1.05rem; margin-top: 0.5rem; }

.cta-section { background: #f8f9fa; text-align: center; }
.cta-section h2 { color: #1a4d2e; font-size: 2.2rem; margin-bottom: 1rem; }
.cta-section p { color: #666; font-size: 1.1rem; margin-bottom: 2rem; max-width: 800px; margin-left: auto; margin-right: auto; }

@media (max-width: 768px) {
    .hero { padding: 4rem 6%; min-height: 420px; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1.1rem; }
    .section-title { font-size: 1.8rem; }
    .category-title { font-size: 1.5rem; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.25rem; }
    .filter-btn { padding: 0.65rem 1rem; font-size: 0.9rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================= */
/* MEDIA QUERIES FALTANTES (Responsive y Accesibilidad)              */
/* ================================================================= */

@media (max-width: 768px) {
    .hero {
        padding: 4rem 6%;
        min-height: 400px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.05rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .category-title {
        font-size: 1.5rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.25rem;
    }

    .filter-btn {
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    section {
        padding: 3.5rem 5%;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1rem;
    }

    .stat-item .number {
        font-size: 2.2rem;
    }

    .stat-item .label {
        font-size: 0.9rem;
    }
}

/* Accesibilidad: Respetar preferencia de movimiento reducido del usuario */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

footer {
    background: #0d2818;
    color: #fff;
    padding: 2rem 5%;
    text-align: center;
}

footer a {
    color: #f4c430;
    text-decoration: none;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-content,
    .specs-container {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1.8rem;
    }
}