/* Third Party Products Table Styles */
.third-party-table-wrapper {
    border-radius: 4px;
    overflow: visible;
}

.third-party-table-wrapper table {
    margin-bottom: 0;
}

.third-party-table-wrapper thead {
    background-color: #00B5D3;
}

.third-party-table-wrapper thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: #00B5D3;
    color: #FFF;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 2px solid #00B5D3;
    box-shadow: 0 1px 0 0 #dee2e6;
}

/* Product column (first column) – background by type */
.third-party-table-wrapper .product-cell {
    width: 250px;
}
.third-party-table-wrapper .product-cell--mineral {
    background-color: #E5F8FB;
}
.third-party-table-wrapper .product-cell--organic {
    background-color: #EFF9F2;
}
.third-party-table-wrapper .third-party-table-product-link {
    color: #00B5D3;
    text-decoration: underline;
}
.third-party-table-wrapper .third-party-table-product-link:hover {
    color: #002B46;
}

@media (max-width: 767px) {
    .third-party-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .third-party-table-wrapper table {
        min-width: 600px;
    }
}

/* Results action buttons */
.results-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.results-actions .calculate-button {
    color: #002B46;
    font-family: Inter;
    font-size: 14px;
}


.results-actions .calculate-button svg {
    margin-right: 8px;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.third-party-products-table-section {
    margin-bottom: 2rem;
}

.third-party-products-table-section .section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #002B46;
    margin-bottom: 1rem;
}

/* Mineral products section – toggle at top of results */
.mineral-products-section {
    margin-bottom: 80px;
}
.mineral-products-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem 0;
    color: #002B46;
    user-select: none;
    width: fit-content;
    gap:8px;
}
.mineral-products-toggle .section-title {
    margin-bottom: 0;
    font-size: 1.1rem;
}
.mineral-products-toggle-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}

.mineral-products-toggle-icon .mineral-products-chevron {
    transition: transform 0.2s ease;
}

.mineral-products-toggle[aria-expanded="true"] .mineral-products-chevron {
    transform: rotate(180deg);
}
.mineral-products-list-collapsible {
    padding-top: 1rem;
}

.nutrient-blend-hero {
    /* background: linear-gradient(135deg, #2c5f2d 0%, #1a3d1a 100%); */
    color: white;
    position: relative;
    max-height: 260px;
    overflow: hidden;
}


.nutrient-blend-calculator .accordion-content .checkbox-label{
    flex: unset;
}

.nutrient-blend-hero.banner-area .banner-bg-desktop,
.nutrient-blend-hero.banner-area .banner-bg-mobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: bottom center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
}

.nutrient-blend-hero.banner-area .banner-bg-desktop {
    display: block;
}

.nutrient-blend-hero.banner-area .banner-bg-mobile {
    display: none;
}

.nutrient-blend-hero.banner-area .bg-header-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0.3;
    z-index: 1;
}

.nutrient-blend-hero .container-hero-img {
    position: relative;
    z-index: 0;
}

.nutrient-blend-hero .banner-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 30px;
    min-height: 100%;
}

.nutrient-blend-hero .banner-content-image {
    height: 100%;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    align-self: stretch;
}

.nutrient-blend-hero .banner-content-image img {
    position: relative;
    bottom: 10px;
    max-height: 280px;
}

.nutrient-blend-hero h1.title {
    font-size: 64px;
    font-weight: 400;
    font-family: Demo;
}

.nutrient-blend-subtitle {
    background: #f8f8f8;
    width: 100%;
    min-height: 152px;
    align-items: center;
    display: flex;
    padding-top: 20px;
    padding-bottom: 40px;
}

.nutrient-blend-subtitle .sub-title {
    font-size: 32px;
    font-weight: 400;
    font-family: Inter;
    margin-bottom: 30px;
    color: #002B46;
}

.nutrient-blend-subtitle .add-to-home-screen {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: Inter;
    font-size: 18px;
    cursor: pointer;
    width: fit-content;
    color: #00B5D3;
}

.nutrient-blend-subtitle .add-to-home-screen span {
    text-decoration: underline;
}

.nutrient-blend-calculator .section-label {
    color: #002B46;
    font-family: Inter;
    font-size: 18px;
    font-weight: 500;
}

.nutrient-blend-calculator .checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.nutrient-blend-calculator .form-section {
    margin-bottom: 40px;
}

.nutrient-blend-calculator .form-section.nutrients-section {
    margin-bottom: 0;
}

.nutrient-blend-calculator .form-section.organic-approved-filter-section {
    margin-top: 24px;
    margin-bottom: 42px;
}

/* Formula/ratio selection hidden – always use formula */
.nutrient-blend-calculator .select-type-section.hidden {
    display: none !important;
}

.nutrient-blend-calculator .label-icon-wrapper {
    /* margin-bottom: 12px; */
}

/* Tooltip Styles */
.tooltip-wrapper {
    position: relative;
    display: inline-flex;
    cursor: help;
}

.tooltip-icon {
    cursor: help;
    transition: opacity 0.2s ease;
}

.tooltip-icon:hover {
    opacity: 0.8;
}

.nutrient-blend-calculator .label-icon-wrapper {
    margin-bottom: 12px;
}

.tooltip-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #002B46;
    color: white;
    text-align: left;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-family: Inter;
    line-height: 1.5;
    white-space: normal;
    width: 280px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #002B46;
}

.tooltip-wrapper:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* RTL support for tooltip */
[dir="rtl"] .tooltip-text {
    text-align: right;
}

.nutrient-blend-calculator {
    margin-top: 40px;
    /* margin-bottom: 24px; */
}

.nutrient-blend-calculator .checkbox-label {
    border-radius: 4px;
    border: 1px solid #C9C9C9;
    height: 50px;
    align-items: center;
    display: flex;
    justify-content: center;
    cursor: pointer;
    flex: 0 0 100%;
}

.tools-disclaimer-block{
    margin-top: 44px;
    margin-bottom: 80px;
    max-width: 500px;
}

.nutrient-blend-calculator .checkbox-label input[type="radio"] {
    display: none;
}

.nutrient-blend-calculator .checkbox-label:has(input[type="radio"]:checked) {
    border: 1px solid #00B5D3;
    background: #E5F8FB;
}

.select-type-section .checkbox-label span {
    color: #002B46;
}

.nutrient-blend-calculator .nutrients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.nutrient-blend-calculator .nutrient-input {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    box-sizing: border-box;
    min-width: 0;
}

.nutrient-blend-calculator .nutrient-input input {
    border-radius: 4px;
    border: 1px solid #C9C9C9;
    height: 50px;
    padding: 15px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    order: 1;
    color: #002B46;
}

/* Remove number input arrows for all browsers */
.nutrient-blend-calculator .nutrient-input input[type="number"]::-webkit-inner-spin-button,
.nutrient-blend-calculator .nutrient-input input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.nutrient-blend-calculator .nutrient-input input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Mobile specific - ensure no arrows on mobile */
@media (max-width: 768px) {
    .nutrient-blend-calculator .nutrient-input input[type="number"]::-webkit-inner-spin-button,
    .nutrient-blend-calculator .nutrient-input input[type="number"]::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }
    
    .nutrient-blend-calculator .nutrient-input input[type="number"] {
        -moz-appearance: textfield;
        appearance: textfield;
    }
}

.nutrient-blend-calculator .nutrient-input label {
    margin: 0;
    font-weight: 500;
    font-size: 14px;
    order: 2;
    color: #002B46;
}

/* Feedstock Accordion Styles */
.feedstock-accordion {
    margin-top: 15px;
}

.feedstock-accordion .accordion-item {
    margin-bottom: 24px;
    overflow: hidden;
    border: unset !important;
}

.results-grid .match-quality-badge .quality-value{
    color: #002B46;
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%; 
}

.feedstock-accordion .accordion-header {
    padding: 20px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: Inter;
    color: #002B46;
    border-radius: 8px;
    background: rgba(0, 181, 211, 0.10);
    font-size: 24px;
    font-weight: 400;
    line-height: 19px;
}

.feedstock-accordion .accordion-header span:nth-child(3) {
    flex: 1;
}

/* Category split % input inside accordion header (Manures / Compost) – visible when accordion is expanded */
.feedstock-accordion .accordion-header .organic-category-split-in-header {
    flex-shrink: 0;
    display: none;
}

.feedstock-accordion .accordion-item.active .accordion-header .organic-category-split-in-header {
    display: inline-block;
}

.feedstock-accordion .accordion-header .organic-category-split-in-header .organic-percentage-input-wrap {
    position: relative;
    display: inline-block;
}

.feedstock-accordion .accordion-header .organic-category-split-in-header .organic-percentage-input {
    width: 105px;
    min-height: 50px;
    padding: 13px 28px 13px 12px;
    border: 2px solid #00B5D3;
    border-radius: 4px;
    font-size: 24px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    color: #002B46;
    background: white;
    text-align: left;
    -moz-appearance: textfield;
    appearance: textfield;
}

.feedstock-accordion .accordion-header .organic-category-split-in-header .organic-percentage-input:focus {
    outline: none;
    border-color: #00B5D3;
}

.feedstock-accordion .accordion-header .organic-category-split-in-header .organic-percentage-input.percentage-error {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.feedstock-accordion .accordion-header .organic-category-split-in-header.organic-category-split-in-header--greyed .organic-percentage-input {
    background-color: #fff;
    color: #D9D9D9;
    cursor: not-allowed;
    border-color: #D9D9D9;
}

.feedstock-accordion .accordion-header .organic-category-split-in-header.organic-category-split-in-header--greyed .organic-percentage-input-wrap .percentage-symbol {
    color: #D9D9D9;
}

.feedstock-accordion .accordion-header .organic-category-split-in-header .organic-percentage-input-wrap .percentage-symbol {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #002B46;
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-weight: 400;
}

.feedstock-accordion .accordion-header .organic-category-split-in-header .organic-percentage-input::-webkit-outer-spin-button,
.feedstock-accordion .accordion-header .organic-category-split-in-header .organic-percentage-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.feedstock-accordion .accordion-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.feedstock-accordion .accordion-icon svg {
    width: 14px;
    height: 14px;
    display: block;
}

.feedstock-accordion .accordion-icon-minus {
    display: none;
}

.feedstock-accordion .accordion-item.active .accordion-icon-plus {
    display: none;
}

.feedstock-accordion .accordion-item.active .accordion-icon-minus {
    display: flex;
}

.nutrient-blend-calculator .calculate-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.nutrient-blend-calculator .clear-all-button {
    background: none;
    border: none;
    border-bottom: 2px solid #00B5D3;
    color: #00B5D3;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
    padding: 0;
    cursor: pointer;
    align-self: flex-start;
    transition: opacity 0.2s ease;
}

.nutrient-blend-calculator .clear-all-button:hover {
    opacity: 0.8;
}

.nutrient-blend-calculator .calculate-button {
    height: 50px;
    padding: 10px;
    border-radius: 4px;
    background: #00B5D3;
    color: white;
    border: unset !important;
    width: 100%;
    font-family: Inter;
    font-size: 18px;
    transition: opacity 0.3s ease;
}

.nutrient-blend-calculator .calculate-button:disabled,
.nutrient-blend-calculator .calculate-button.disabled {
    background: #E4E4E4;
    color: #1D1B20;
    cursor: not-allowed;
    opacity: 0.6;
}

.feedstock-accordion .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.feedstock-accordion .accordion-item.active .accordion-content {
    max-height: 500px;
    transition: max-height 0.3s ease-in;
}

.feedstock-accordion .accordion-content .checkbox-label {
    border: unset !important;
    justify-content: start;
    position: relative;
    padding-left: 35px;
}

.feedstock-accordion .accordion-content .checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.feedstock-accordion .accordion-content .checkbox-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 1.02px solid #C9C9C9;
    background: transparent;
    transition: all 0.2s;
}

.feedstock-accordion .accordion-content .checkbox-label:has(input[type="checkbox"]:checked)::before {
    border: 1.02px solid #00B5D3;
    background: #00B5D3;
}

.feedstock-accordion .accordion-content .checkbox-label::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 9px;
    height: 7px;
    opacity: 0;
    transition: opacity 0.2s;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='7' viewBox='0 0 9 7' fill='none'%3E%3Cpath d='M0.741699 3.70897L2.96715 5.93443L8.15988 0.741699' stroke='white' stroke-width='1.48364' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.feedstock-accordion .accordion-content .checkbox-label:has(input[type="checkbox"]:checked)::after {
    opacity: 1;
}

.feedstock-accordion .accordion-content .checkbox-group {
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    background: rgb(253 253 253);
    gap: 10px;
    /* padding-right: 0; */
}

/* Organic agriculture filter – aligned with feedstock checkbox styling, no panel shadow */
.nutrient-blend-calculator .organic-approved-checkbox-group {
    /* padding: 16px 20px; */
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.nutrient-blend-calculator .organic-approved-filter-section .checkbox-label {
    border: unset !important;
    background: transparent !important;
    height: auto !important;
    min-height: 0;
    display: flex !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    gap: 10px;
    position: relative;
    padding-inline-start: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    flex: none !important;
    border-radius: 0;
    cursor: pointer;
}

.nutrient-blend-calculator .organic-approved-filter-section .checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
    margin: 0;
}

.nutrient-blend-calculator .organic-approved-filter-section .checkbox-label::before {
    content: '';
    position: relative;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 1.02px solid #00B5D3;
    background: transparent;
    transition: border-color 0.2s, background-color 0.2s;
    box-sizing: border-box;
}

.nutrient-blend-calculator .organic-approved-filter-section .checkbox-label:has(input[type="checkbox"]:checked)::before {
    border: 1.02px solid #00B5D3;
    background: #00B5D3;
}

.nutrient-blend-calculator .organic-approved-filter-section .checkbox-label::after {
    content: '';
    position: absolute;
    inset-inline-start: 5.5px;
    /* vertically center tick inside the 20px box (aligned to top of text) */
    top: 10px;
    transform: translateY(-50%);
    width: 9px;
    height: 7px;
    opacity: 0;
    transition: opacity 0.2s;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='7' viewBox='0 0 9 7' fill='none'%3E%3Cpath d='M0.741699 3.70897L2.96715 5.93443L8.15988 0.741699' stroke='white' stroke-width='1.48364' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
}

.nutrient-blend-calculator .organic-approved-filter-section .checkbox-label:has(input[type="checkbox"]:checked)::after {
    opacity: 1;
}

.nutrient-blend-calculator .organic-approved-filter-section .checkbox-label span {
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #002B46;
    line-height: 1.45;
    text-align: start;
    flex: 1 1 auto;
    min-width: 0;
}

/* Category split (Manures % / Compost %) – shown when both sections have a checked item */
.organic-category-split {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.organic-category-split-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.organic-category-split-label {
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #002B46;
}

.organic-category-split .organic-percentage-input-wrap {
    position: relative;
    display: inline-block;
}

.organic-category-split .organic-percentage-input {
    width: 105px;
    min-height: 50px;
    padding: 13px 28px 13px 12px;
    border: 1px solid #C9C9C9;
    border-radius: 4px;
    font-size: 18px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    color: #002B46;
    background: white;
    text-align: left;
    -moz-appearance: textfield;
    appearance: textfield;
}

.organic-category-split .organic-percentage-input:focus {
    outline: none;
    border-color: #00B5D3;
}

.organic-category-split .organic-percentage-input.percentage-error {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.organic-category-split .organic-percentage-input-wrap .percentage-symbol {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: rgba(0, 43, 70, 0.50);
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-weight: 400;
}

.organic-category-split .organic-percentage-input::-webkit-outer-spin-button,
.organic-category-split .organic-percentage-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Organic feedstock row: label (e.g. Cow manure) and percentage input on same row, space-between */
.organic-feedstock-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
}

.organic-feedstock-row--custom {
    flex-wrap: wrap;
}
.organic-feedstock-row--custom .tooltip-wrapper--inline {
    display: inline-flex;
    margin-right: auto;
    vertical-align: middle;
}
.custom-feedstock-nutrients {
    margin-top: 0;
    padding: 20px 0 16px;
    width: 100%;
}

.custom-feedstock-npk-instruction {
    color: #002846;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
    margin: 0 0 24px 0;
    width: 100%;
}

.custom-feedstock-nutrients .nutrient-required-asterisk {
    color: #dc3545;
    font-weight: 400;
}

/* Visually hidden; kept for screen readers when validation message is toggled */
.nutrient-blend-calculator .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Reuse same grid and input styles as top "Define Nutrients rates" (.nutrient-blend-calculator .nutrients-grid) */
.custom-feedstock-nutrients .nutrients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.custom-feedstock-nutrients .nutrient-input {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    box-sizing: border-box;
    min-width: 0;
}
.custom-feedstock-nutrients .nutrient-input input {
    border-radius: 4px;
    border: 1px solid #C9C9C9;
    height: 50px;
    padding: 15px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    order: 1;
    color: #002B46;
}
.custom-feedstock-nutrients .nutrient-input input:focus {
    outline: none;
    border-color: #00B5D3;
}
.custom-feedstock-nutrients .nutrient-input label {
    margin: 0;
    font-weight: 500;
    font-size: 14px;
    order: 2;
    color: #002B46;
}

/* Percentage Input Styles */
.percentage-input-wrapper {
    flex-shrink: 0;
    margin: 0;
}

.organic-percentage-input-wrap {
    position: relative;
    display: inline-block;
}

.percentage-input-wrapper .organic-percentage-input {
    width: 105px;
    min-height: 50px;
    padding: 13px 28px 13px 12px;
    border: 1px solid #C9C9C9;
    border-radius: 4px;
    font-size: 18px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    color: #002B46;
    background: white;
    text-align: left;
    -moz-appearance: textfield;
    appearance: textfield;
}
.percentage-input-wrapper .organic-percentage-input::-webkit-outer-spin-button,
.percentage-input-wrapper .organic-percentage-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.percentage-input-wrapper .organic-percentage-input:focus {
    outline: none;
    border-color: #00B5D3;
}

.percentage-input-wrapper .organic-percentage-input.percentage-error {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.percentage-input-wrapper.percentage-input-wrapper--greyed .organic-percentage-input {
    background-color: #fff;
    color: #D9D9D9;
    cursor: not-allowed;
    border-color: #D9D9D9;
}

.percentage-input-wrapper.percentage-input-wrapper--greyed .percentage-symbol {
    color: #D9D9D9;
}

.percentage-input-wrapper .organic-percentage-input-wrap .percentage-symbol {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #C9C9C9;
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-weight: 400;
}

.organic-percentage-total-error {
    color: #dc3545;
    font-size: 14px;
    font-weight: 500;
    margin: 8px 0 0 0;
}

/* Results Section Styles */
.results-section {
    padding: 40px 0;
    background: #f5f5f5;
}

.results-section .results-main-title {
    font-family: Inter;
    font-size: 32px;
    font-weight: 400;
    color: #002B46;
    margin-bottom: 12px;
}

.results-section .results-main-title .results-count {
    font-size: 24px;
}

.results-section .results-subtitle {
    font-family: Inter;
    font-size: 18px;
    color: #002B46;
    margin-bottom: 24px;
}

.results-section .results-container {
    margin-top: 30px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.results-grid .result-option-card {
    background: white;
    border-radius: 6px;
    border: 1px solid #C9C9C9;
    padding: 24px;
    box-sizing: border-box;
    height: fit-content;
}

/* Ingredient Item Styles */
.ingredient-item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(201, 201, 201, 0.30);
    border-top: 1px solid rgba(201, 201, 201, 0.30);
    padding: 8px 0;
}

.ingredient-thumbnail {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
}

.ingredient-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.ingredient-thumbnail svg {
    width: 60px;
    height: 60px;
    display: block;
}

.ingredient-thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
}

.ingredient-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 176px;
    margin: 0 auto;
}

.ingredient-name-link,
.ingredient-name {
    color: #002B46;
    text-decoration: none;
}

.ingredient-name-link {
    text-decoration: underline;
    color: #00B5D3;
}

.ingredient-name-link {
    text-decoration: underline;
    color: #00B5D3;
}

.ingredient-percentage{
    color: #002B46;
}

.results-grid .option-number {
    font-family: Inter;
    font-size: 18px;
    font-weight: 500;
    color: #002B46;
    margin-bottom: 24px;
}

.results-grid .match-quality-badge {
    padding: 20px 20px;
    font-family: Inter;
    font-size: 16px;
    font-weight: 500;
    color: #002B46;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 6px;
    background: #E5F7FA;
}

.formula-section .section-title {
    color: #002B46;
    font-family: Inter;
    font-size: 18px;
    font-weight: 500;
    margin-top: 24px;
}

.formula-section .formula-table {
    width: 100%;
    border-collapse: collapse;
}

.formula-section .formula-table th {
    color: #002B46;
    font-family: Inter;
    font-size: 12px;
    font-weight: 500;
    padding-bottom: 12px;
}

.formula-section .formula-table tr:not(:first-child) {
    border-top: 1px solid #D9D9D9;
}

.formula-section .formula-table thead tr {
    border-bottom: 1px solid #D9D9D9;
}


.formula-section .formula-table tr td {
    color: #002B46;
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    padding-top: 16px;
    padding-bottom: 16px;
}

@media (max-width: 991px) {
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .nutrient-blend-calculator .nutrients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .custom-feedstock-nutrients .nutrients-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    .custom-feedstock-nutrients {
        padding-bottom: 16px;
    }

    .custom-feedstock-npk-instruction {
        margin-bottom: 16px;
    }

    .nutrient-blend-hero.banner-area .banner-bg-desktop {
        display: none;
    }

    .nutrient-blend-hero.banner-area .banner-bg-mobile {
        display: block;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }
}

/*--------------- People area css start ---------------*/

.people__area .section-title {
    text-align: center;
    margin-bottom: 24px;
}

.people__area .section-title h2 {
    font-size: 48px;
    font-weight: 400;
    margin: 0;
    color: #002c45;
    font-family: "Demo";
}

@media (min-width: 1200px) and (max-width: 1449px) {
    .people_slider {
        padding: 0 70px;
    }
}

.people_slider {
    margin: 46px auto;
    margin-bottom: 40px;
}

.people_slider.slick-initialized.slick-slider button {
    position: absolute;
    left: 0;
    top: 30%;
    font-size: 29px !important;
    color: #00b5d3 !important;
    background: transparent !important;
    border: 0;
}

.people_slider.slick-initialized.slick-slider button.slick-next {
    left: auto;
    right: 0;
}

.people_slider.slick-initialized.slick-slider button i {
    font-weight: 200;
}

.p_img {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    display: block;
    border-radius: 50%;
}

.p_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.signle_p_slide {
    text-align: center;
}

.signle_p_slide h4 {
    font-size: 16px;
    font-weight: 700;
    font-family: "Inter", sans-serif;
    margin-bottom: 0;
    margin-top: 11px;
    padding: 0 14px;
    line-height: 1.56;
}

@media (max-width: 768px) {
    .signle_p_slide h4 {
        padding: unset;
    }
}

.signle_p_slide h4 span {
    display: block;
    font-weight: 400;
    color: #698291;
    margin-top: 8px;
}

.people__area .owl-dots {
    display: none;
}

.people__area .owl-nav button {
    position: absolute;
    left: -100px;
    top: 50%;
    transform: translateY(-50%);
}

.people__area .owl-nav button i {
    font-size: 32px;
    color: #50b2cf;
}

.people__area .owl-nav button.owl-next {
    left: auto;
    right: -100px;
}

.view_all_btn p {
    color: #002b46;
    font-size: 18px;
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.56;
    letter-spacing: normal;
}

.people__area {
    background: #f8f8f8;
    padding: 70px 0;
}

.people__area p {
    font-family: Inter;
    font-size: 18px;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.56;
    letter-spacing: normal;
    color: #002c45;
    display: flex;
    justify-content: center;
    align-items: center;
    word-break: break-word;
    margin-top: 6px;
}

.people__area .view_all_btn {
    padding-top: 40px;
}

.people__area .view_all_btn p {
    font-family: Inter;
    font-size: 18px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.56;
    letter-spacing: normal;
    text-align: center;
    color: #002c45;
}

.people__area .site-btn {
    background: transparent;
    color: #00b5d0;
    font-size: 18px;
    transition: 0.3s;
    height: 50px;
    display: inline-block;
    line-height: 50px;
    width: auto;
    text-align: center;
    border: 1px solid #00b5d3;
    border-radius: 5px;
    padding: 0 20px;
}

@media only screen and (min-width: 320px) and (max-width: 767px) {
    .people__area {
        padding-top: 30px;
        padding-bottom: 30px;
        margin-bottom: 0;
    }

    .people__area .section-title {
        text-align: left;
        margin-bottom: 16px;
    }

    .people__area .section-title p {
        margin-bottom: 24px;
        font-family: Inter;
        font-size: 16px;
        font-weight: bold;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.56;
        letter-spacing: normal;
        text-align: left;
        color: #002c45;
        justify-content: left;
    }

    .people__area .section-title h2 {
        margin-bottom: 8px;
        line-height: normal;
        font-size: 28px;
        text-align: left;
    }

    .people__area .row.mt-30 {
        margin-top: 0;
    }

    .people__area .row.mt-70 {
        margin-top: 0px;
    }

    .people_slider {
        display: flex;
        justify-content: flex-start;
        column-gap: 40px;
        margin: 0;
        overflow-y: hidden;
        overflow-x: scroll;
        width: calc(100% + 40px);
        padding-left: 20px;
        margin-left: -20px !important;
        margin-bottom: 72px !important;
        margin-top: 0px !important;
        padding-right: 20px;
    }

    .people_slider::-webkit-scrollbar {
        display: none;
    }

    /* Hide scrollbar for IE, Edge and Firefox */
    .people_slider {
        -ms-overflow-style: none;
        /* IE and Edge */
        scrollbar-width: none;
        /* Firefox */
    }

    .signle_p_slide h4 span {
        opacity: 0.5;
        font-family: Inter;
        font-size: 16px;
        font-weight: bold;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.56;
        letter-spacing: normal;
        text-align: center;
        color: #002c45;
    }

    .people__area a.site-btn.borderd-btn {
        display: inline-block;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .p_img {
        width: 100px;
        height: 100px;
        margin: 0 auto;
        display: block;
        border-radius: 50%;
    }

    .view_all_btn {
        padding-top: 10px;
    }

    .site-btn.borderd-btn {
        display: inline-block;
        width: 100%;
        margin-top: 10px;
    }

    .people__area .view_all_btn p {
        margin-top: -39px;
        margin-bottom: 6px;
    }
}

.people_slider.slick-initialized.slick-slider button i.fa-angle-left:before,
.people_slider.slick-initialized.slick-slider button i.fa-angle-right:before {
    font-size: 64px;
}

.people_slider.slick-initialized.slick-slider button.slick-next.slick-arrow {
    transform: translate(80px, -27px);
}

.people_slider.slick-initialized.slick-slider button.slick-prev.slick-arrow {
    transform: translate(-80px, -28px);
}

@media (max-width: 1300px) {
    .people_slider.slick-initialized.slick-slider button.slick-next.slick-arrow {
        transform: translate(30px, -23px);
    }

    .people_slider.slick-initialized.slick-slider button.slick-prev.slick-arrow {
        transform: translate(-30px, -23px);
    }
}

/*--------------- People area css end ---------------*/

/* Resources Carousel */

.product_resource_slider {
    overflow-x: hidden;
    position: unset !important;
}

.product_resource_slider .slick-track {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: auto;
}

.product_resource_slider .slick-slide {
    width: 282px !important;
    margin: 0 12px 0 12px;
}

.product_resource_slider h4 {
    opacity: 1;
    font-family: Inter;
    font-size: 18px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.39;
    letter-spacing: normal;
    text-align: left;
    color: #00b5d3;
    margin-bottom: 8px;
}

.product_resource_slider p {
    font-family: Inter;
    font-size: 18px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.56;
    letter-spacing: normal;
    text-align: left;
    color: #002c45;
}

.product_resource_slider img {
    width: 282px;
    height: 159px;
    border-radius: 5px;
    margin-bottom: 16px;
    object-fit: cover;
}

.section-resources .title-section-Demo {
    text-align: center;
    margin-bottom: 70px;
}

.section-resources {
    margin-bottom: 120px;
    margin-top: 60px;
}

/*    ARROWS*/

.product_resource_slider button.slick-arrow i {
    font-weight: 500;
    font-size: 42px;
}

.product_resource_slider .slick-arrow {
    background-color: unset !important;
    border: unset;
    color: #00b5d3;
    position: absolute;
}

.product_resource_slider .slick-arrow.slick-prev {
    left: -34px;
    top: 180px;
}

.product_resource_slider .slick-arrow.slick-next {
    right: -34px;
    top: 180px;
}

.product_resource_slider .fal::before {
    font-size: 55px;
    font-weight: 200;
    height: auto;
    padding-top: 12px;
}

/*    ICONS  */

.product_resource_slider .all-resources-playit {
    position: absolute;
    transition: 0.25s all !important;
    width: 60px !important;
    height: 70px !important;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.product_resource_slider .single_hub_blk i {
    height: 24px;
    width: 24px;
    display: inline-block;
}

.product_resource_slider .single_hub_blk i:before {
    width: 24px;
    height: 24px;
    content: '';
    display: inline-block;
    vertical-align: middle;
    background-repeat: no-repeat;
}

.icon-article:before,
.icon-testimonial:before {
    transform: translate(0px, -3px);
}

.icon-podcast:before {
    transform: translate(0, -4px);
}

.product_resource_slider .single_hub_blk .icon-ebook {
    width: 25px;
}

.icon-ebook:before {
    width: 25px !important;
    transform: translate(-2px, -3px);
}

.product_resource_slider .single_hub_blk .icon-event {
    width: 21px;
}

.icon-event:before {
    width: 18px !important;
    height: 20px !important;
    transform: translate(0px, -4px);
}

.icon-video:before {
    width: 20px !important;
    height: 20px !important;
    transform: translateY(-3px);
}

.icon-category:before,
.icon-tag_results:before {
    width: 23px !important;
    height: 31px !important;
    transform: translate(-1px, -3px);
}

.icon-trial:before {
    width: 18px !important;
    height: 18px !important;
    transform: translate(2px, -2px);
}

.icon-news:before {
    width: 22px !important;
    height: 18px !important;
    transform: translate(0px, -3px);
}

.icon-crop:before,
.icon-crop_category:before,
.icon-guide:before {
    width: 20px !important;
}

.product_resource_slider .single_hub_blk .icon-digital_tools:before {
    background-image: url('../../../converter-page/assets/tools-icon.svg');
    background-size: contain;
    width: 24px !important;
    height: 24px !important;
    vertical-align: middle;
}

/*END ICONS*/
@media (max-width: 768px) {
    .nutrient-blend-hero h1.title {
        font-size: 22px;
    }

    .nutrient-blend-hero .banner-content-image img {
        bottom: -5px;
        max-height: 156px;
        margin-top: -10px;
    }

    .nutrient-blend-subtitle .sub-title {
        font-size: 16px;
    }

    .nutrient-blend-calculator {
        margin-bottom: 0px;
    }

    .nutrient-blend-calculator {
        margin-top: 24px;
    }

    .nutrient-blend-calculator .form-section{
        margin-bottom: 24px;
    }

    .nutrient-blend-calculator .form-section.nutrients-section {
        margin-bottom: 0;
    }

    .nutrient-blend-calculator .form-section.organic-approved-filter-section {
        margin-top: 24px;
        margin-bottom: 42px;
    }

    .product_resource_slider .slick-slide>div {
        height: 100%;
    }

    .product_resource_slider .slick-track {
        justify-content: unset;
        margin-left: -50px;
        align-items: normal;
    }

    .section-resources .title-section-Demo {
        font-size: 28px;
        text-align: left;
        margin-bottom: 24px;
    }

    .section-resources {
        margin-top: 60px;
        margin-bottom: 60px;
    }

    .product_resource_slider img {
        width: 246px;
        height: 139px;
    }

    .product_resource_slider .slick-slide {
        width: 246px !important;
        margin: 0 18px 0 0;
        height: inherit !important;
        border-bottom: 1px solid rgb(0 43 70 / 20%);
    }
}

/* End Resources Carousel*/