/* ==============================================================
   FATECO PORTAL - ESTILOS CULTIVOS (Archive & Single)
   Vanilla CSS con Variables Premium e Interacciones Micro-dinámicas
   ============================================================== */

:root {
    --primary-blue: #1a2e44;
    --primary-orange: #f39204;
    --accent-red: #c52d3a;
    --accent-blue: #2a91a8;
    --accent-green: #22c55e;
    --dark-footer: #111827;
    --white: #ffffff;
    --gray-bg: #f8fafc;
}

.fateco-portal-wrapper {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--primary-blue);
    background-color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
    margin-top: 92px !important;
}

.fateco-portal-wrapper *, .fateco-portal-wrapper *::before, .fateco-portal-wrapper *::after {
    box-sizing: border-box;
}

/* --- Header --- */
.fateco-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--white);
    border-bottom: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.fateco-header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 24px;
}

.fateco-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.fateco-logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.fateco-logo-text {
    font-size: 1.5rem;
    font-weight: 950;
    color: var(--primary-blue);
    letter-spacing: -0.05em;
}

.fateco-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.fateco-nav-link {
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-blue);
    transition: color 0.2s;
}

.fateco-nav-link:hover, .fateco-nav-link.active {
    color: var(--primary-orange);
}

.fateco-search-bar {
    position: relative;
    display: none; /* Oculto en móviles y visible en desktop si es necesario */
}

@media (min-width: 1024px) {
    .fateco-search-bar { display: block; }
}

.fateco-search-bar input {
    height: 40px;
    width: 240px;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    padding: 0 16px 0 44px;
    font-size: 0.875rem;
    outline: none;
    transition: all 0.2s;
}

.fateco-search-bar input:focus {
    border-color: var(--primary-orange);
    background-color: var(--white);
    box-shadow: 0 0 0 2px rgba(243, 146, 4, 0.15);
}

.fateco-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

/* --- Hero Section - /cultivos --- */
.fateco-cultivos-hero {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 64px 24px;
    min-height: calc(100vh - 92px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .fateco-cultivos-hero { min-height: 800px; }
}

.fateco-hero-decor-bg {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 50%;
    z-index: 0;
    opacity: 0.4;
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
    pointer-events: none;
}

.fateco-hero-content-container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 10;
}

.fateco-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .fateco-hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

.fateco-hero-left {
    text-align: center;
}

@media (min-width: 1024px) {
    .fateco-hero-left { text-align: left; }
}

.fateco-hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 24px 0;
    color: var(--white);
}

@media (min-width: 768px) {
    .fateco-hero-title { font-size: 3.25rem; }
}

.fateco-hero-subtitle {
    font-size: 1.125rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0 auto 48px auto;
    max-width: 448px;
}

@media (min-width: 1024px) {
    .fateco-hero-subtitle { margin-left: 0; }
}

.fateco-crops-selector {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.fateco-crops-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

@media (min-width: 1024px) {
    .fateco-crops-row { justify-content: flex-start; gap: 24px; }
}

.fateco-crop-selector-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
}

.fateco-crop-label {
    color: var(--white) !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    pointer-events: none !important;
}

.fateco-crop-btn {
    position: relative;
    width: 112px !important;
    height: 112px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    cursor: pointer !important;
    background: transparent !important;
    padding: 0 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    opacity: 0.85 !important;
}

@media (min-width: 768px) {
    .fateco-crop-btn {
        width: 160px !important;
        height: 160px !important;
        border-width: 4px !important;
    }
}

.fateco-crop-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fateco-crop-btn-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.fateco-crop-btn-overlay span {
    color: var(--white);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

@media (min-width: 768px) {
    .fateco-crop-btn-overlay span { font-size: 12px; }
}

.fateco-crop-btn:hover {
    border-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.fateco-crop-btn.active {
    border-color: var(--primary-orange) !important;
    opacity: 1 !important;
    transform: scale(1.05) !important;
    box-shadow: 0 0 30px rgba(243, 146, 4, 0.6) !important;
}

@media (min-width: 768px) {
    .fateco-crop-btn.active { transform: scale(1.1); }
}

/* --- Glassmorphism Card --- */
.fateco-glass-card {
    background-color: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 2.5rem !important;
    padding: 24px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
}

@media (min-width: 768px) {
    .fateco-glass-card { padding: 40px !important; border-radius: 3rem !important; }
}

.fateco-glass-header {
    margin-bottom: 24px !important;
}

.fateco-glass-action-link {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background-color: var(--white) !important;
    color: var(--primary-blue) !important;
    padding: 20px 24px !important;
    border-radius: 0 !important;
    border-bottom-left-radius: 30px !important;
    border-top-right-radius: 50px !important;
    text-decoration: none !important;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.15) !important;
    transition: all 0.3s !important;
}

@media (min-width: 768px) {
    .fateco-glass-action-link {
        border-bottom-left-radius: 40px !important;
        border-top-right-radius: 60px !important;
    }
}

.fateco-glass-action-link:hover {
    background-color: var(--primary-orange) !important;
    color: var(--white) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 25px 30px -5px rgba(0,0,0,0.2) !important;
}

.fateco-glass-action-content {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
}

.fateco-leaf-icon-wrapper {
    background-color: rgba(243, 146, 4, 0.1) !important;
    color: var(--primary-orange) !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    transition: background-color 0.2s, color 0.2s !important;
}

@media (min-width: 768px) {
    .fateco-leaf-icon-wrapper {
        width: 48px !important;
        height: 48px !important;
        border-radius: 16px !important;
    }
}

.fateco-leaf-icon-wrapper svg {
    width: 20px !important;
    height: 20px !important;
    color: var(--primary-orange) !important;
    transition: color 0.2s !important;
}

@media (min-width: 768px) {
    .fateco-leaf-icon-wrapper svg {
        width: 24px !important;
        height: 24px !important;
    }
}

.fateco-glass-action-link:hover .fateco-leaf-icon-wrapper {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

.fateco-glass-action-link:hover .fateco-leaf-icon-wrapper svg {
    color: var(--white) !important;
}

.fateco-glass-title-wrapper {
    text-align: left !important;
}

.fateco-glass-pretitle {
    font-size: 10px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    color: #d97706 !important;
    margin: 0 0 2px 0 !important;
    transition: color 0.2s !important;
}

.fateco-glass-action-link:hover .fateco-glass-pretitle {
    color: rgba(255, 255, 255, 0.8) !important;
}

.fateco-glass-title {
    font-size: 1.125rem !important;
    font-weight: 900 !important;
    color: var(--primary-blue) !important;
    margin: 0 !important;
    transition: color 0.2s !important;
}

@media (min-width: 768px) {
    .fateco-glass-title { font-size: 1.25rem; }
}

.fateco-glass-action-link:hover .fateco-glass-title {
    color: var(--white) !important;
}

.fateco-arrow-right {
    width: 20px !important;
    height: 20px !important;
    stroke-width: 2 !important;
    transition: transform 0.3s !important;
    color: var(--primary-blue) !important;
}

@media (min-width: 768px) {
    .fateco-arrow-right {
        width: 24px !important;
        height: 24px !important;
    }
}

.fateco-glass-action-link:hover .fateco-arrow-right {
    transform: translateX(6px) !important;
    color: var(--white) !important;
}

.fateco-glass-divider-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
}

.fateco-glass-divider-line {
    flex-grow: 1;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
}

.fateco-glass-divider-text {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--primary-orange);
}

/* --- Dynamic Products List --- */
.fateco-glass-products-list {
    display: flex !important;
    flex-direction: column !important;
    max-height: 384px !important;
    overflow-y: auto !important;
    padding-right: 8px !important;
}

/* Custom Scrollbar matching Next.js exactly */
.fateco-glass-products-list::-webkit-scrollbar {
    width: 6px !important;
}
.fateco-glass-products-list::-webkit-scrollbar-track {
    background: transparent !important;
}
.fateco-glass-products-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 99px !important;
}

.fateco-glass-product-row {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 1rem !important;
    padding: 12px !important;
    transition: all 0.2s !important;
    text-decoration: none !important;
    color: var(--white) !important;
    margin-bottom: 12px !important;
}

@media (min-width: 768px) {
    .fateco-glass-product-row { padding: 16px !important; gap: 24px !important; border-radius: 1.5rem !important; }
}

.fateco-glass-product-row:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
}

.fateco-glass-product-row .prod-img-box {
    width: 64px;
    height: 64px;
    background-color: var(--white);
    border-radius: 12px;
    padding: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .fateco-glass-product-row .prod-img-box { width: 80px; height: 80px; }
}

.fateco-glass-product-row .prod-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.fateco-glass-product-row .prod-info-box {
    flex-grow: 1;
    min-width: 0;
    text-align: left;
}

.fateco-glass-product-row .prod-badge {
    display: inline-block;
    color: var(--white);
    font-size: 8px;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .fateco-glass-product-row .prod-badge { font-size: 9px; padding: 4px 8px; }
}

.fateco-glass-product-row .prod-name {
    font-size: 0.875rem;
    font-weight: 900;
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
}

.fateco-glass-product-row:hover .prod-name {
    color: var(--primary-orange);
}

@media (min-width: 768px) {
    .fateco-glass-product-row .prod-name { font-size: 1.125rem; }
}

.fateco-glass-product-row .prod-tech {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fateco-glass-product-row .prod-arrow {
    width: 32px !important;
    height: 32px !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--white) !important;
    flex-shrink: 0 !important;
    transition: all 0.2s !important;
}

@media (min-width: 768px) {
    .fateco-glass-product-row .prod-arrow {
        width: 40px !important;
        height: 40px !important;
    }
}

.fateco-glass-product-row .prod-arrow svg {
    width: 16px !important;
    height: 16px !important;
    stroke-width: 2 !important;
}

@media (min-width: 768px) {
    .fateco-glass-product-row .prod-arrow svg {
        width: 20px !important;
        height: 20px !important;
    }
}

.fateco-glass-product-row:hover .prod-arrow {
    background-color: var(--primary-orange) !important;
}

.fateco-glass-footer {
    margin-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-top: 32px;
    text-align: center;
}

.fateco-full-portfolio-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background-color: var(--primary-orange) !important;
    color: var(--white) !important;
    font-size: 0.875rem !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    padding: 14px 32px !important;
    border-radius: 0 !important;
    border-bottom-left-radius: 30px !important;
    border-top-right-radius: 50px !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.2s !important;
    width: 100% !important;
}

@media (min-width: 640px) {
    .fateco-full-portfolio-btn {
        width: auto !important;
    }
}

.fateco-full-portfolio-btn:hover {
    background-color: #ea580c !important;
}

.btn-arrow {
    width: 16px !important;
    height: 16px !important;
    stroke-width: 2.5 !important;
    transition: transform 0.2s !important;
}

.fateco-full-portfolio-btn:hover .btn-arrow {
    transform: translateX(4px) !important;
}

/* --- Detail page /cultivos/[slug] --- */
.fateco-crop-detail-hero {
    position: relative;
    height: 300px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 32px 24px 32px 24px;
}

@media (min-width: 768px) {
    .fateco-crop-detail-hero { height: 500px; padding-bottom: 64px; }
}

.fateco-crop-detail-hero-content {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 10;
}

.fateco-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 24px;
    transition: color 0.2s;
}

.fateco-back-link:hover {
    color: var(--white);
}

.back-arrow {
    font-size: 18px;
    transition: transform 0.2s;
}

.fateco-back-link:hover .back-arrow {
    transform: translateX(-4px);
}

.fateco-crop-detail-title {
    font-size: 1.875rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin: 0 0 8px 0;
    color: var(--white);
}

@media (min-width: 768px) {
    .fateco-crop-detail-title { font-size: 3.75rem; }
}

.fateco-crop-detail-subtitle {
    font-size: 1.125rem;
    color: var(--white);
    margin: 0 0 24px 0;
    font-weight: 700;
}

.fateco-crop-detail-hero-btn {
    height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    border-radius: 0 !important;
    border-bottom-left-radius: 30px !important;
    border-top-right-radius: 50px !important;
    background-color: var(--primary-orange) !important;
    color: var(--white) !important;
    font-size: 0.75rem !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    border: none !important;
    padding: 0 32px !important;
    cursor: pointer !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.2s !important;
    text-decoration: none !important;
}

@media (min-width: 768px) {
    .fateco-crop-detail-hero-btn { height: 56px; padding: 0 44px; font-size: 0.875rem; border-bottom-left-radius: 30px !important; border-top-right-radius: 50px !important; }
}

.fateco-crop-detail-hero-btn:hover {
    background-color: #ea580c !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -3px rgba(0, 0, 0, 0.4) !important;
}

/* Detail page structure */
.fateco-crop-detail-body {
    padding: 48px 24px;
}

@media (min-width: 768px) {
    .fateco-crop-detail-body { padding: 80px 24px; }
}

.fateco-crop-detail-container {
    max-width: 1280px;
    margin: 0 auto;
}

.fateco-crop-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 1024px) {
    .fateco-crop-detail-grid {
        grid-template-columns: 7fr 5fr;
        gap: 64px;
    }
}

.fateco-crop-description {
    font-size: 1rem;
    font-weight: 300;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .fateco-crop-description { font-size: 1.125rem; margin-bottom: 48px; }
}

.text-highlight,
.fateco-crop-description strong,
.fateco-crop-description b {
    font-weight: 700;
    color: var(--primary-orange);
}

.fateco-challenges-card {
    background-color: #f9fafb;
    border: 1px solid #f1f5f9;
    border-radius: 2.5rem;
    padding: 24px;
}

@media (min-width: 768px) {
    .fateco-challenges-card { padding: 40px; border-radius: 3rem; }
}

.fateco-challenges-card h3 {
    font-size: 1.25rem;
    font-weight: 900;
    margin: 0 0 24px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-blue);
}

@media (min-width: 768px) {
    .fateco-challenges-card h3 { font-size: 1.5rem; }
}

.icon-shield {
    color: var(--primary-orange);
    font-size: 24px;
}

.fateco-challenges-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .fateco-challenges-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

.fateco-challenge-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.icon-check {
    color: var(--accent-green);
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}

.fateco-challenge-item span {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .fateco-challenge-item span { font-size: 1rem; }
}

/* Sticky Right Column */
.fateco-crop-detail-right {
    position: relative;
}

@media (min-width: 1024px) {
    .fateco-sticky-aside {
        position: sticky;
        top: 128px;
    }
}

.fateco-advice-card {
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 2.5rem;
    padding: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .fateco-advice-card { padding: 40px; border-radius: 3rem; }
}

.card-blur-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 128px;
    height: 128px;
    background-color: rgba(243, 146, 4, 0.2);
    border-radius: 50%;
    filter: blur(24px);
    transform: translate(25%, -25%);
}

.fateco-advice-card h3 {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--primary-orange);
    margin: 0 0 16px 0;
    position: relative;
    z-index: 10;
}

@media (min-width: 768px) {
    .fateco-advice-card h3 { font-size: 1.5rem; margin-bottom: 24px; }
}

.fateco-advice-card p {
    font-size: 0.875rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0 0 32px 0;
    position: relative;
    z-index: 10;
}

@media (min-width: 768px) {
    .fateco-advice-card p { font-size: 1rem; margin-bottom: 40px; }
}

.fateco-wa-btn-expert {
    display: flex !important;
    height: 56px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    background-color: #25D366 !important;
    color: var(--white) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    border-bottom-left-radius: 30px !important;
    border-top-right-radius: 50px !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.2s !important;
    position: relative !important;
    z-index: 10 !important;
}

.fateco-wa-btn-expert:hover {
    background-color: #128C7E !important;
}

.icon-wa {
    font-size: 20px;
}

/* --- Fitosanitarias (Fenograma) --- */
.fateco-fitosanitarias-section {
    padding: 0 24px 64px 24px;
}

@media (min-width: 768px) {
    .fateco-fitosanitarias-section { padding-bottom: 96px; }
}

.fateco-fitosanitarias-container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin: 0 0 12px 0;
}

@media (min-width: 768px) {
    .section-header h2 { font-size: 2.25rem; }
}

.section-header p {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 300;
    margin: 0;
}

@media (min-width: 768px) {
    .section-header p { font-size: 1.125rem; }
}

.fateco-tabs-card {
    width: 100%;
    overflow: hidden;
    border-radius: 2rem;
    border: 1px solid #e2e8f0;
    background-color: var(--white);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.fateco-tabs-header {
    display: flex;
    flex-wrap: wrap;
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.tab-btn {
    flex-grow: 1;
    border: none;
    background: transparent;
    padding: 16px 20px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

@media (min-width: 768px) {
    .tab-btn { padding: 20px 24px; font-size: 0.875rem; }
}

.tab-btn.active {
    color: var(--primary-blue);
    background-color: var(--white);
    border-bottom: 2px solid var(--primary-blue);
    font-weight: 700;
}

.fateco-tabs-content {
    min-height: 280px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .fateco-tabs-content { min-height: 360px; padding: 40px; }
}

.tab-pane {
    width: 100%;
    max-width: 768px;
}

.pane-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0 0 8px 0;
}

.pane-desc {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

/* --- Recommended Products Single Crop --- */
.fateco-recommended-products-section {
    background-color: #f8fafc;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    padding: 80px 24px;
}

.fateco-recommended-products-container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header-flex {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 64px;
}

@media (min-width: 768px) {
    .section-header-flex { flex-direction: row; align-items: flex-end; }
}

.section-header-flex h2 {
    font-size: 2.25rem;
    font-weight: 900;
    margin: 0 0 12px 0;
    letter-spacing: -0.02em;
}

.section-header-flex p {
    font-size: 1rem;
    color: #6b7280;
    margin: 0;
}

.view-shop-link {
    font-size: 1rem;
    font-weight: 900;
    color: var(--primary-orange);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
}

.view-shop-link:hover {
    transform: translateX(4px);
}

.arrow-right {
    font-size: 18px;
}

.fateco-products-cards-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
    width: 100% !important;
}

@media (min-width: 768px) {
    .fateco-products-cards-grid { grid-template-columns: repeat(3, 1fr) !important; }
}

.fateco-product-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    background-color: #ffffff !important;
    border-radius: 10px !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2) !important;
    width: 100% !important;
    max-width: 310px !important;
    height: 438px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-decoration: none !important;
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s !important;
    overflow: hidden;
}

.fateco-product-card:hover {
    transform: none !important; /* No translation on homepage */
    box-shadow: 0 4px 24px rgba(53, 92, 170, 0.1) !important;
}

/* Image wrapper and zoom effect matching homepage */
.fateco-product-card .card-img-wrapper {
    width: 100% !important;
    max-width: 290px !important;
    height: 290px !important;
    margin: 10px auto 0 auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border-radius: 0 !important;
}

.fateco-product-card .card-img-wrapper img {
    width: 100% !important;
    max-width: 290px !important;
    height: 100% !important;
    max-height: 290px !important;
    object-fit: contain !important;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    transform: scale(1) !important;
}

.fateco-product-card:hover .card-img-wrapper img {
    transform: scale(1.1) !important;
}

/* Card Body container spacing */
.fateco-product-card .card-body {
    padding: 0 10px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
}

/* Category Badge typography & borders */
.fateco-product-card .category-badge {
    display: inline-block !important;
    width: auto !important;
    padding: 4px 8px !important;
    border-radius: 5px !important;
    text-transform: uppercase !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    text-align: center !important;
    margin-top: 10px !important;
    margin-bottom: 8px !important;
}

/* Category Color Overrides */
.fateco-product-card .category-badge.badge-insecticidas {
    background-color: #2288A0 !important;
}
.fateco-product-card .category-badge.badge-herbicidas {
    background-color: #CA2738 !important;
}
.fateco-product-card .category-badge.badge-fungicidas {
    background-color: #278F52 !important;
}
.fateco-product-card .category-badge.badge-coadyudante,
.fateco-product-card .category-badge.badge-especiales {
    background-color: #972272 !important;
}

/* Product Title font-sizes and hover overrides */
.fateco-product-card h3 {
    font-family: 'Inter', sans-serif !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    color: #000000 !important;
    line-height: 24px !important;
    margin-top: 8px !important;
    margin-bottom: 16px !important;
    text-align: center !important;
    text-transform: none !important;
    transition: color 0.2s !important;
}

/* Subtitle / Active Ingredient */
.fateco-product-card .tech-name {
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #333333 !important;
    line-height: 18px !important;
    text-transform: uppercase !important;
    text-align: center !important;
    margin-bottom: 10px !important;
}

.card-detail-btn {
    display: none !important;
}

/* --- Footer --- */
.fateco-footer {
    background-color: var(--dark-footer);
    color: #9ca3af;
    padding: 64px 24px;
}

.fateco-footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.fateco-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .fateco-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .fateco-footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.logo-col p {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-top: 16px;
    max-width: 320px;
}

.fateco-footer-logo {
    font-size: 1.5rem;
    font-weight: 950;
    color: var(--white);
}

.fateco-footer-col h4 {
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 16px 0;
}

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

.fateco-footer-col li {
    margin-bottom: 12px;
}

.fateco-footer-col a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.fateco-footer-col a:hover {
    color: var(--white);
}

.fateco-footer-bottom {
    border-top: 1px solid #1f2937;
    padding-top: 32px;
    text-align: center;
}

.fateco-footer-bottom p {
    font-size: 0.875rem;
    margin: 0;
    color: #4b5563;
}

/* --- Timeline (Fitosanitarias Tabs Content) --- */
.fateco-timeline {
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.timeline-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    position: relative;
}

.timeline-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 40px;
    bottom: -16px;
    width: 2px;
    background-color: #e2e8f0;
}

.step-badge, .step-badge-insect, .step-badge-fungus {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
    font-size: 0.875rem;
}

.step-badge {
    background-color: var(--accent-green);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.3);
}

.step-badge-insect {
    background-color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(42, 145, 168, 0.3);
}

.step-badge-fungus {
    background-color: var(--primary-orange);
    box-shadow: 0 0 10px rgba(243, 146, 4, 0.3);
}

.step-content {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 16px 20px;
    flex-grow: 1;
}

.step-content h4 {
    margin: 0 0 8px 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.step-content p {
    margin: 0;
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.5;
}

/* Specific SVG Sizing & Coloring to prevent theme conflicts */
.fateco-portal-wrapper svg.fateco-challenge-shield-icon {
    width: 28px !important;
    height: 28px !important;
    stroke: #f39204 !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

.fateco-portal-wrapper svg.fateco-challenge-check-icon {
    width: 20px !important;
    height: 20px !important;
    stroke: #22c55e !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

.fateco-portal-wrapper svg.fateco-back-arrow-icon {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

.fateco-portal-wrapper svg.fateco-next-arrow-icon {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

@media (min-width: 768px) {
    .fateco-portal-wrapper .fateco-crop-detail-hero-btn svg.fateco-next-arrow-icon {
        width: 20px !important;
        height: 20px !important;
    }
}

.fateco-portal-wrapper svg.fateco-whatsapp-icon {
    width: 20px !important;
    height: 20px !important;
    fill: currentColor !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

.fateco-portal-wrapper svg.fateco-leaf-icon {
    width: 20px !important;
    height: 20px !important;
    stroke: currentColor !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

@media (min-width: 768px) {
    .fateco-portal-wrapper svg.fateco-leaf-icon {
        width: 24px !important;
        height: 24px !important;
    }
}

.fateco-portal-wrapper svg.fateco-arrow-right {
    width: 20px !important;
    height: 20px !important;
    stroke: currentColor !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

@media (min-width: 768px) {
    .fateco-portal-wrapper svg.fateco-arrow-right {
        width: 24px !important;
        height: 24px !important;
    }
}

.fateco-portal-wrapper svg.btn-arrow {
    width: 16px !important;
    height: 16px !important;
    stroke: currentColor !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

.fateco-portal-wrapper svg.fateco-prod-arrow-icon {
    width: 16px !important;
    height: 16px !important;
    stroke: currentColor !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

@media (min-width: 768px) {
    .fateco-portal-wrapper svg.fateco-prod-arrow-icon {
        width: 20px !important;
        height: 20px !important;
    }
}

/* Eliminate white gap at the bottom of the cultivos archive page */
.fateco-portal-wrapper.fateco-cultivos-archive {
    background-color: var(--primary-blue) !important;
    min-height: auto !important;
}

