/* ============================================
   HERRAMIENTA DE LÚPULOS - ENCERVEZATE.COM
   Versión 1.5.3 - Plugin WordPress
   ============================================ */
/* ============================================
   OVERRIDE PIXWELL - ESTILOS FORZADOS
   ============================================ */

/* ----- CARDS PRINCIPALES ----- */
.el-calculator-wrapper .recipe-data-card,
.el-calculator-wrapper .aging-section,
.el-calculator-wrapper .additions-card,
.el-calculator-wrapper .results-card,
.el-calculator-wrapper .search-card,
.el-calculator-wrapper .filters-card {
    background: #ffffff !important;
    border: 1px solid #e8e8ed !important;
    border-radius: 14px !important;
    padding: 1.5rem !important;
    margin-bottom: 1.25rem !important;
    box-shadow: none !important;
}

/* ----- TÍTULOS DE CARDS ----- */
.el-calculator-wrapper .recipe-data-card h3,
.el-calculator-wrapper .additions-card h3,
.el-calculator-wrapper .results-card h3 {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #1d1d1f !important;
    margin: 0 0 1.25rem 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

.calculator-title-section{
	justify-content: center;
	display: grid;
}

.calculator-subtitle {
	margin-bottom: 40px;	
}

/* ----- FORM GRID ----- */
.el-calculator-wrapper .form-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 1.25rem !important;
}

.el-calculator-wrapper .form-group {
    display: flex !important;
    flex-direction: column !important;
}

.el-calculator-wrapper .form-group label {
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    margin-bottom: 0.5rem !important;
    color: #424245 !important;
}

/* ----- INPUTS Y SELECTS GENERALES ----- */
.el-calculator-wrapper input[type="number"],
.el-calculator-wrapper input[type="text"],
.el-calculator-wrapper select,
.el-calculator-wrapper .form-group input,
.el-calculator-wrapper .form-group select {
    padding: 0.75rem 1rem !important;
    border: 1px solid #e8e8ed !important;
    border-radius: 8px !important;
    font-size: 0.95rem !important;
    font-family: inherit !important;
    background: #fafafa !important;
    color: #1d1d1f !important;
    height: auto !important;
    line-height: 1.4 !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    transition: all 0.2s ease !important;
}

.el-calculator-wrapper input:hover,
.el-calculator-wrapper select:hover {
    border-color: #d2d2d7 !important;
}

.el-calculator-wrapper input:focus,
.el-calculator-wrapper select:focus {
    outline: none !important;
    border-color: #d4a012 !important;
    background: white !important;
    box-shadow: 0 0 0 3px #f5e6c8 !important;
}

/* Flecha personalizada para selects */
.el-calculator-wrapper select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236e6e73' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 12px !important;
    padding-right: 2.5rem !important;
}

/* ----- SECCIÓN AGING (ENVEJECIMIENTO) ----- */
.el-calculator-wrapper .aging-section {
    padding: 1rem 1.25rem !important;
}

.el-calculator-wrapper .aging-header {
    display: flex !important;
    align-items: baseline !important;
    gap: 0.75rem !important;
    margin-bottom: 0.75rem !important;
}

.el-calculator-wrapper .aging-title {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #1d1d1f !important;
}

.el-calculator-wrapper .aging-hint {
    font-size: 0.7rem !important;
    color: #86868b !important;
}

.el-calculator-wrapper .aging-row {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    flex-wrap: wrap !important;
}

.el-calculator-wrapper .aging-field {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.2rem !important;
}

.el-calculator-wrapper .aging-field label {
    font-size: 0.65rem !important;
    color: #6e6e73 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    font-weight: 500 !important;
}

.el-calculator-wrapper .aging-field input,
.el-calculator-wrapper .aging-field select {
    padding: 0.4rem 0.5rem !important;
    border: 1px solid #e8e8ed !important;
    border-radius: 6px !important;
    font-size: 0.8rem !important;
    background: #fafafa !important;
    min-width: 0 !important;
}

.el-calculator-wrapper .aging-field input {
    width: 60px !important;
}

.el-calculator-wrapper .aging-field select {
    width: 100px !important;
}

.el-calculator-wrapper .aging-field-hop select {
    width: 140px !important;
}

.el-calculator-wrapper .aging-field-small input {
    width: 50px !important;
}

.el-calculator-wrapper .aging-result-group {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-left: auto !important;
}

.el-calculator-wrapper .aging-result-inline {
    display: flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    padding: 0.35rem 0.6rem !important;
    background: #fafafa !important;
    border-radius: 6px !important;
    border: 1px solid #e8e8ed !important;
}

.el-calculator-wrapper .aging-arrow {
    color: #86868b !important;
    font-size: 0.8rem !important;
}

.el-calculator-wrapper .aging-result-value {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #2e7d32 !important;
}

.el-calculator-wrapper .aging-result-unit {
    font-size: 0.75rem !important;
    color: #6e6e73 !important;
}

.el-calculator-wrapper .aging-degradation-badge {
    font-size: 0.6rem !important;
    padding: 0.1rem 0.35rem !important;
    border-radius: 4px !important;
    margin-left: 0.2rem !important;
    font-weight: 500 !important;
}

.el-calculator-wrapper .aging-degradation-badge:empty {
    display: none !important;
}

.el-calculator-wrapper .aging-degradation-badge.degradation-low {
    background: #dcfce7 !important;
    color: #166534 !important;
}

.el-calculator-wrapper .aging-degradation-badge.degradation-medium {
    background: #fef3c7 !important;
    color: #92400e !important;
}

.el-calculator-wrapper .aging-degradation-badge.degradation-high {
    background: #fee2e2 !important;
    color: #991b1b !important;
}

    .el-calculator-wrapper .btn-copy-minimal {
        padding: 0rem 0.85rem !important;
        border: 1px solid #e8e8ed !important;
        border-radius: 6px !important;
        background: white !important;
        color: #6e6e73 !important;
        font-size: 0.75rem !important;
        font-weight: 500 !important;
        cursor: pointer !important;
    }

.el-calculator-wrapper .btn-copy-minimal:hover {
    border-color: #d4a012 !important;
    color: #b8860b !important;
}

/* ----- TABLA DE ADICIONES ----- */


.el-calculator-wrapper .additions-table {
    width: 100% !important;
    border-collapse: collapse !important;
    border: none !important;
}

/* Header de tabla SIN fondo negro */
.el-calculator-wrapper .additions-table thead,
.el-calculator-wrapper .additions-table thead tr,
.el-calculator-wrapper .additions-table thead th,
.el-calculator-wrapper table.additions-table thead,
.el-calculator-wrapper table.additions-table thead tr,
.el-calculator-wrapper table.additions-table thead th {
    background: transparent !important;
    background-color: transparent !important;
    color: #6e6e73 !important;
    border: none !important;
    border-bottom: 1px solid #e8e8ed !important;
    border-left: none !important;
    border-right: none !important;
    font-size: 0.7rem !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    padding: 0.75rem 0.5rem !important;
    text-align: left !important;
}

/* Celdas de la tabla - SIN bordes laterales */
.el-calculator-wrapper .additions-table td,
.el-calculator-wrapper .additions-table th,
.el-calculator-wrapper .additions-table tr td,
.el-calculator-wrapper .additions-table tr th,
.el-calculator-wrapper .additions-table tbody td,
.el-calculator-wrapper .additions-table tbody th {
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
}

.el-calculator-wrapper .additions-table tbody tr {
    border: none !important;
    border-left: none !important;
    border-right: none !important;
}

.el-calculator-wrapper .additions-table tbody tr td {
    padding: 0.75rem 0.5rem !important;
    border-top: none !important;
    border-bottom: 1px solid #f5f5f7 !important;
    border-left: none !important;
    border-right: none !important;
    vertical-align: middle !important;
    background: transparent !important;
}

.el-calculator-wrapper .additions-table tbody tr:last-child td {
    border-bottom: none !important;
}

.el-calculator-wrapper .additions-table tbody tr:hover {
    background: #fafafa !important;
}

/* Quitar cualquier borde de la tabla container */
.el-calculator-wrapper .additions-table-container {
    border: none !important;
    border-left: none !important;
}

.el-calculator-wrapper .additions-table,
.el-calculator-wrapper table.additions-table {
    border: none !important;
    border-left: none !important;
    border-collapse: collapse !important;
}

/* Inputs en la tabla */
.el-calculator-wrapper .additions-table input,
.el-calculator-wrapper .additions-table select,
.el-calculator-wrapper .additions-table td input,
.el-calculator-wrapper .additions-table td select {
    width: 100% !important;
    min-width: 80px !important;
    padding: 0.5rem 0.65rem !important;
    border: 1px solid #e8e8ed !important;
    border-radius: 8px !important;
    font-size: 0.9rem !important;
    background: white !important;
    color: #1d1d1f !important;
    height: auto !important;
}

.el-calculator-wrapper .additions-table td:first-child select,
.el-calculator-wrapper .additions-table .hop-select {
    min-width: 150px !important;
}

/* Valor IBU */
.el-calculator-wrapper .additions-table .ibu-value {
    font-weight: 600 !important;
    color: #2e7d32 !important;
    font-size: 1rem !important;
    background: transparent !important;
}

/* Botón eliminar */
.el-calculator-wrapper .additions-table .btn-remove {
    background: #fee2e2 !important;
    color: #dc2626 !important;
    border: 1px solid #fecaca !important;
    border-radius: 8px !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}

.el-calculator-wrapper .additions-table .btn-remove:hover {
    background: #fecaca !important;
    border-color: #f87171 !important;
}

/* Time/Temp input groups */
.el-calculator-wrapper .time-input-group,
.el-calculator-wrapper .temp-input-group {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.el-calculator-wrapper .time-input-group input,
.el-calculator-wrapper .temp-input-group input {
    width: 60px !important;
    min-width: 60px !important;
    text-align: center !important;
}

.el-calculator-wrapper .time-unit,
.el-calculator-wrapper .temp-unit {
    font-size: 0.8rem !important;
    color: #86868b !important;
    white-space: nowrap !important;
}

/* ----- BOTÓN AÑADIR LÚPULO (más pequeño) ----- */
.el-calculator-wrapper .btn-add-hop {
    padding: 0.5rem 1rem !important;
    border: 1px solid #e8e8ed !important;
    border-radius: 8px !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    background: white !important;
    color: #6e6e73 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
}

.el-calculator-wrapper .btn-add-hop:hover {
    border-color: #d4a012 !important;
    color: #b8860b !important;
}

/* ----- RESULTADOS ----- */
.el-calculator-wrapper .results-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.75rem !important;
    margin-bottom: 1rem !important;
}

.el-calculator-wrapper .result-box {
    background: white !important;
    padding: 1rem 0.75rem !important;
    border-radius: 10px !important;
    text-align: center !important;
    border: 1px solid #e8e8ed !important;
}

.el-calculator-wrapper .result-box.highlight {
    border: 2px solid #2e7d32 !important;
}

.el-calculator-wrapper .result-label {
    display: block !important;
    font-size: 0.7rem !important;
    font-weight: 500 !important;
    margin-bottom: 0.25rem !important;
    color: #6e6e73 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
}

.el-calculator-wrapper .result-value {
    display: block !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: #1d1d1f !important;
}

.el-calculator-wrapper .result-box.highlight .result-value {
    color: #2e7d32 !important;
}

/* Colores amargor percibido */
.el-calculator-wrapper .result-box.bitterness-bajo {
    border: 2px solid #d4e4bc !important;
}

.el-calculator-wrapper .result-box.bitterness-medio {
    border: 2px solid #c5d94a !important;
}

.el-calculator-wrapper .result-box.bitterness-alto {
    border: 2px solid #9bcf00 !important;
}

.el-calculator-wrapper .result-box.bitterness-muy-alto {
    border: 2px solid #7cb518 !important;
}

/* ----- GRÁFICO ----- */
.el-calculator-wrapper .chart-container {
    max-width: 500px !important;
    margin: 1rem auto 0 !important;
    background: white !important;
    padding: 1rem !important;
    border-radius: 10px !important;
    border: 1px solid #e8e8ed !important;
    display: none !important;
}

/* ============================================
   FIN OVERRIDE PIXWELL
   ============================================ */


/* ============================================
   VARIABLES
   ============================================ */

:root {
    --el-primary: #2e7d32;
    --el-primary-dark: #1b5e20;
    --el-primary-light: #4caf50;
    --el-gold: #d4a012;
    --el-gold-light: #f5e6c8;
    --el-gold-dark: #b8860b;
    --el-gray-50: #fafafa;
    --el-gray-100: #f5f5f7;
    --el-gray-200: #e8e8ed;
    --el-gray-300: #d2d2d7;
    --el-gray-400: #86868b;
    --el-gray-500: #6e6e73;
    --el-gray-600: #424245;
    --el-gray-900: #1d1d1f;
    --el-border: #e8e8ed;
    --el-border-hover: #d2d2d7;
    --el-radius: 6px;
    --el-radius-lg: 12px;
    --el-transition: all 0.2s ease;
}

/* ============================================
   WRAPPER PRINCIPAL
   ============================================ */

.el-calculator-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

.el-calculator-wrapper *,
.el-calculator-wrapper *::before,
.el-calculator-wrapper *::after {
    box-sizing: border-box;
}

/* ============================================
   TÍTULO WORDPRESS
   ============================================ */

.el-calculator-wrapper .wp-title-section {
    text-align: center;
    margin-bottom: 2rem;
}

.el-calculator-wrapper .wp-title-section h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 0.5rem 0;
}

.el-calculator-wrapper .wp-title-section p {
    font-size: 1rem;
    color: #6e6e73;
    margin-bottom: 30px;
}

/* ============================================
   NAVEGACIÓN TABS
   ============================================ */

.el-calculator-wrapper .tool-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.el-calculator-wrapper .tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.1rem;
    background: #ffffff;
    border: 1px solid #e8e8ed;
    border-radius: 6px;
    color: #6e6e73;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.el-calculator-wrapper .tab-btn:hover {
    border-color: #d4a012;
    color: #1d1d1f;
}

.el-calculator-wrapper .tab-btn.active {
    border-color: #d4a012;
    border-width: 2px;
    color: #1d1d1f;
    background: #ffffff;
}

/* ============================================
   MÓDULOS (SECCIONES)
   ============================================ */

.el-calculator-wrapper .module {
    display: none;
    animation: elFadeIn 0.3s ease;
}

.el-calculator-wrapper .module.active {
    display: block;
}

@keyframes elFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.el-calculator-wrapper .module-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.el-calculator-wrapper .module-header h2 {
    font-size: 1.4rem;
    color: #1d1d1f;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.el-calculator-wrapper .module-header p {
    color: #6e6e73;
    font-size: 0.9rem;
    margin: 0;
}

/* ============================================
   CARDS GENERALES
   ============================================ */

.el-calculator-wrapper .recipe-data-card,
.el-calculator-wrapper .additions-card,
.el-calculator-wrapper .results-card,
.el-calculator-wrapper .search-card,
.el-calculator-wrapper .filters-card {
    background: #ffffff;
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid #e8e8ed;
    margin-bottom: 1.25rem;
}

.el-calculator-wrapper .recipe-data-card h3,
.el-calculator-wrapper .additions-card h3,
.el-calculator-wrapper .results-card h3,
.el-calculator-wrapper .search-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 1rem 0;
}

.el-calculator-wrapper .card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.el-calculator-wrapper .card-header-flex h3 {
    margin: 0;
}

/* ============================================
   FORMULARIOS - INPUTS Y SELECTS BASE
   ============================================ */

.el-calculator-wrapper input[type="number"],
.el-calculator-wrapper input[type="text"],
.el-calculator-wrapper select {
    padding: 0.5rem 0.65rem;
    border: 1px solid #d2d2d7;
    border-radius: 6px;
    font-size: 0.875rem;
    font-family: inherit;
    background-color: #ffffff;
    color: #1d1d1f;
    transition: all 0.2s ease;
    height: 38px;
    line-height: 1.4;
}

.el-calculator-wrapper input[type="number"]:hover,
.el-calculator-wrapper select:hover {
    border-color: #b0b0b5;
}

.el-calculator-wrapper input[type="number"]:focus,
.el-calculator-wrapper select:focus {
    outline: none;
    border-color: #d4a012;
    box-shadow: 0 0 0 2px rgba(212, 160, 18, 0.15);
}

.el-calculator-wrapper select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23424245' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.6rem center;
    background-size: 10px;
    padding-right: 2rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* ============================================
   FORM GRID
   ============================================ */

.el-calculator-wrapper .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.el-calculator-wrapper .form-group {
    display: flex;
    flex-direction: column;
}

.el-calculator-wrapper .form-group label {
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
    color: #424245;
}

.el-calculator-wrapper .form-group input,
.el-calculator-wrapper .form-group select {
    width: 100%;
}

/* ============================================
   BOTONES
   ============================================ */

.el-calculator-wrapper .btn-add-hop {
    padding: 0.5rem 1rem;
    border: 1px solid #e8e8ed;
    border-radius: 6px;
    background: #ffffff;
    color: #6e6e73;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.el-calculator-wrapper .btn-add-hop:hover {
    border-color: #d4a012;
    color: #b8860b;
}

.el-calculator-wrapper .btn-remove {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
    border-radius: 6px;
    width: 34px;
    height: 34px;
    min-width: 34px;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    line-height: 1;
}

.el-calculator-wrapper .btn-remove:hover {
    background: #fecaca;
    border-color: #f87171;
    color: #b91c1c;
}

/* ============================================
   TABLA DE ADICIONES
   ============================================ */

.el-calculator-wrapper .additions-table-container {
    overflow-x: auto;
    margin-top: 0.5rem;
}

.el-calculator-wrapper .additions-table {
    width: 100%;
    border-collapse: collapse;
}

.el-calculator-wrapper .additions-table thead th {
    background: transparent;
    color: #86868b;
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 0.5rem 0.4rem;
    border-bottom: 1px solid #e8e8ed;
    text-align: left;
}

.el-calculator-wrapper .additions-table tbody tr {
    background: transparent;
}

.el-calculator-wrapper .additions-table tbody tr:hover {
    background: #fafafa;
}

.el-calculator-wrapper .additions-table tbody td {
    padding: 0.5rem 0.4rem;
    border-bottom: 1px solid #f5f5f7;
    vertical-align: middle;
}

.el-calculator-wrapper .additions-table tbody td select,
.el-calculator-wrapper .additions-table tbody td input[type="number"] {
    height: 36px;
    padding: 0.4rem 0.5rem;
    font-size: 0.85rem;
}

.el-calculator-wrapper .additions-table tbody td select {
    min-width: 120px;
}

.el-calculator-wrapper .additions-table tbody td input[type="number"] {
    width: 65px;
    text-align: center;
}

.el-calculator-wrapper .time-input-group,
.el-calculator-wrapper .temp-input-group {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.el-calculator-wrapper .time-input-group input,
.el-calculator-wrapper .temp-input-group input {
    width: 55px;
}

.el-calculator-wrapper .time-unit,
.el-calculator-wrapper .temp-unit {
    font-size: 0.75rem;
    color: #86868b;
    white-space: nowrap;
}

.el-calculator-wrapper .ibu-value {
    font-weight: 600;
    color: #2e7d32;
    font-size: 0.95rem;
}

/* ============================================
   SECCIÓN ENVEJECIMIENTO
   ============================================ */

.el-calculator-wrapper .aging-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem 1.15rem;
    margin-bottom: 1.25rem;
    border: 1px solid #e8e8ed;
}

.el-calculator-wrapper .aging-header {
    display: flex;
    align-items: baseline;
    gap: 0.65rem;
    margin-bottom: 0.65rem;
}

.el-calculator-wrapper .aging-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1d1d1f;
}

.el-calculator-wrapper .aging-hint {
    font-size: 0.65rem;
    color: #86868b;
}

.el-calculator-wrapper .aging-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.el-calculator-wrapper .aging-field {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.el-calculator-wrapper .aging-field label {
    font-size: 0.6rem;
    color: #6e6e73;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 500;
}

.el-calculator-wrapper .aging-field input {
    width: 65px;
}

.el-calculator-wrapper .aging-field select {
    width: 110px;
}

.el-calculator-wrapper .aging-field-hop select {
    width: 140px;
}

.el-calculator-wrapper .aging-result-group {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: auto;
}

.el-calculator-wrapper .aging-result-inline {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.4rem 0.6rem;
    background: #fafafa;
    border-radius: 6px;
    border: 1px solid #e8e8ed;
}

.el-calculator-wrapper .aging-arrow {
    color: #86868b;
    font-size: 0.8rem;
}

.el-calculator-wrapper .aging-result-value {
    font-size: 1rem;
    font-weight: 600;
    color: #2e7d32;
}

.el-calculator-wrapper .aging-result-unit {
    font-size: 0.7rem;
    color: #6e6e73;
}

.el-calculator-wrapper .aging-degradation-badge {
    font-size: 0.6rem;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    margin-left: 0.2rem;
    font-weight: 500;
}

.el-calculator-wrapper .aging-degradation-badge:empty {
    display: none;
}

.el-calculator-wrapper .aging-degradation-badge.degradation-low {
    background: #dcfce7;
    color: #166534;
}

.el-calculator-wrapper .aging-degradation-badge.degradation-medium {
    background: #fef3c7;
    color: #92400e;
}

.el-calculator-wrapper .aging-degradation-badge.degradation-high {
    background: #fee2e2;
    color: #991b1b;
}

.el-calculator-wrapper .btn-copy-minimal {
    padding: 0.4rem 0.7rem;
    border: 1px solid #e8e8ed;
    border-radius: 6px;
    background: #ffffff;
    color: #6e6e73;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.el-calculator-wrapper .btn-copy-minimal:hover {
    border-color: #d4a012;
    color: #b8860b;
}

.el-calculator-wrapper .btn-copy-minimal.copied {
    background: #2e7d32;
    border-color: #2e7d32;
    color: #ffffff;
}

/* ============================================
   RESULTADOS
   ============================================ */

.el-calculator-wrapper .results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.el-calculator-wrapper .result-box {
    background: #ffffff;
    padding: 0.9rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e8e8ed;
}

.el-calculator-wrapper .result-box.highlight {
    border: 2px solid #2e7d32;
}

.el-calculator-wrapper .result-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: #6e6e73;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.el-calculator-wrapper .result-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    color: #1d1d1f;
}

.el-calculator-wrapper .result-box.highlight .result-value {
    color: #2e7d32;
}

.el-calculator-wrapper .result-box.bitterness-bajo { border: 2px solid #d4e4bc; }
.el-calculator-wrapper .result-box.bitterness-medio { border: 2px solid #c5d94a; }
.el-calculator-wrapper .result-box.bitterness-alto { border: 2px solid #9bcf00; }
.el-calculator-wrapper .result-box.bitterness-muy-alto { border: 2px solid #7cb518; }

.el-calculator-wrapper .chart-container {
    max-width: 480px;
    margin: 1rem auto 0;
    background: #ffffff;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e8e8ed;
    display: none;
}

/* ============================================
   SUSTITUTOS & ESTILOS
   ============================================ */

.el-calculator-wrapper .mode-toggle {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-bottom: 1.5rem;
}

.el-calculator-wrapper .mode-btn {
    padding: 0.55rem 1.1rem;
    border: 1px solid #e8e8ed;
    background: #ffffff;
    color: #6e6e73;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.el-calculator-wrapper .mode-btn:hover {
    border-color: #d4a012;
    color: #1d1d1f;
}

.el-calculator-wrapper .mode-btn.active {
    border-color: #2e7d32;
    color: #2e7d32;
    border-width: 2px;
}

.el-calculator-wrapper .mode-container {
    display: none;
}

.el-calculator-wrapper .mode-container.active {
    display: block;
}

.el-calculator-wrapper .search-input-single {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.el-calculator-wrapper .search-input-single select {
    width: 100%;
    max-width: 380px;
}

.el-calculator-wrapper .substitutes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0.9rem;
    margin-top: 1.25rem;
}

.el-calculator-wrapper .substitute-card {
    background: #ffffff;
    padding: 1.1rem;
    border-radius: 10px;
    border: 1px solid #e8e8ed;
    cursor: pointer;
    transition: all 0.2s ease;
}

.el-calculator-wrapper .substitute-card:hover {
    border-color: #d4a012;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.el-calculator-wrapper .substitute-card h4 {
    font-size: 0.95rem;
    color: #1d1d1f;
    margin: 0 0 0.4rem 0;
}

.el-calculator-wrapper .similarity-badge {
    background: #2e7d32;
    color: #ffffff;
    padding: 0.15rem 0.45rem;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 600;
    margin-left: 0.4rem;
}

.el-calculator-wrapper .substitute-card p {
    margin: 0.2rem 0;
    color: #6e6e73;
    font-size: 0.8rem;
}

.el-calculator-wrapper .placeholder-text {
    text-align: center;
    color: #86868b;
    font-style: italic;
    padding: 1.75rem;
}

/* ============================================
   ESTILOS BJCP
   ============================================ */

.el-calculator-wrapper .style-recommendation-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid #e8e8ed;
    margin-top: 1.25rem;
}

.el-calculator-wrapper .style-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.9rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid #e8e8ed;
}

.el-calculator-wrapper .style-header h3 {
    margin: 0;
    font-size: 1.15rem;
    color: #1d1d1f;
}

.el-calculator-wrapper .bjcp-badge {
    background: #1d1d1f;
    color: #ffffff;
    padding: 0.2rem 0.65rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.el-calculator-wrapper .style-profile {
    background: #fafafa;
    border-radius: 8px;
    padding: 0.9rem;
    margin-bottom: 0.9rem;
}

.el-calculator-wrapper .profile-row {
    display: flex;
    gap: 1.75rem;
    margin-bottom: 0.65rem;
    flex-wrap: wrap;
}

.el-calculator-wrapper .profile-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.el-calculator-wrapper .profile-label {
    font-size: 0.65rem;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.el-calculator-wrapper .profile-value {
    font-size: 0.9rem;
    color: #1d1d1f;
    font-weight: 500;
}

.el-calculator-wrapper .intensity-bars {
    font-family: monospace;
    color: #2e7d32;
    letter-spacing: -1px;
}

.el-calculator-wrapper .profile-description {
    font-size: 0.85rem;
    color: #6e6e73;
    line-height: 1.5;
    margin: 0;
    padding-top: 0.65rem;
    border-top: 1px solid #e8e8ed;
}

.el-calculator-wrapper .hop-recommendations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.9rem;
    margin-bottom: 0.9rem;
}

.el-calculator-wrapper .hop-category {
    background: #fafafa;
    border-radius: 8px;
    padding: 0.9rem;
}

.el-calculator-wrapper .hop-category h4 {
    margin: 0 0 0.65rem 0;
    font-size: 0.85rem;
    color: #1d1d1f;
}

.el-calculator-wrapper .hop-category .timing {
    font-size: 0.7rem;
    color: #86868b;
    font-weight: 400;
}

.el-calculator-wrapper .hop-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.el-calculator-wrapper .hop-tag {
    background: #1d1d1f;
    color: #ffffff;
    padding: 0.3rem 0.65rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.el-calculator-wrapper .hop-tag:hover {
    background: #2e7d32;
}

.el-calculator-wrapper .hop-tag.hop-external {
    background: #d2d2d7;
    color: #424245;
    cursor: default;
}

.el-calculator-wrapper .no-hops {
    color: #86868b;
    font-style: italic;
    font-size: 0.8rem;
}

.el-calculator-wrapper .style-tips {
    background: #fafafa;
    border-radius: 8px;
    padding: 0.9rem;
}

.el-calculator-wrapper .style-tips h4 {
    margin: 0 0 0.65rem 0;
    font-size: 0.85rem;
}

.el-calculator-wrapper .style-tips ul {
    margin: 0;
    padding-left: 1.15rem;
}

.el-calculator-wrapper .style-tips li {
    color: #6e6e73;
    font-size: 0.8rem;
    margin-bottom: 0.35rem;
    line-height: 1.4;
}

/* ============================================
   COMPARADOR
   ============================================ */

.el-calculator-wrapper .comparador-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.el-calculator-wrapper .comparator-selectors {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.65rem;
}

.el-calculator-wrapper .hop-compare-select {
    width: 100%;
}

/* COMPARATOR CHART - RESPONSIVE FIX */
.el-calculator-wrapper .comparator-chart-section {
    background: #ffffff;
    padding: 1.15rem;
    border-radius: 12px;
    border: 1px solid #e8e8ed;
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
    overflow: hidden;
}

.el-calculator-wrapper .comparator-chart-section canvas {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
}

.el-calculator-wrapper .comparison-results {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e8e8ed;
    overflow: hidden;
}

.el-calculator-wrapper .comparison-placeholder {
    padding: 1.75rem;
    text-align: center;
    color: #86868b;
    margin: 0;
}

.el-calculator-wrapper .comparison-table-scroll {
    overflow-x: auto;
}

.el-calculator-wrapper .comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.el-calculator-wrapper .comparison-table th {
    background: #1d1d1f;
    color: #ffffff;
    padding: 0.55rem 0.65rem;
    text-align: center;
    font-weight: 500;
    font-size: 0.8rem;
}

.el-calculator-wrapper .comparison-table th:first-child {
    text-align: left;
    background: #424245;
}

.el-calculator-wrapper .comparison-table td {
    padding: 0.5rem 0.55rem;
    border-bottom: 1px solid #e8e8ed;
    text-align: center;
    font-size: 0.8rem;
}

.el-calculator-wrapper .comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: #6e6e73;
    background: #fafafa;
    font-size: 0.75rem;
}

.el-calculator-wrapper .comparison-table .highlight-row {
    background: rgba(46, 125, 50, 0.05);
}

.el-calculator-wrapper .comparison-table td strong {
    color: #2e7d32;
}

.el-calculator-wrapper .comparison-table .descriptors {
    font-size: 0.7rem;
    color: #86868b;
    font-style: italic;
}

.el-calculator-wrapper .comparison-oils-section {
    padding: 1.15rem;
}

.el-calculator-wrapper .comparison-oils-section h4 {
    font-size: 0.95rem;
    margin: 0 0 0.9rem 0;
}

.el-calculator-wrapper .comparison-legend {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 0.9rem;
    padding: 0.45rem;
    background: #fafafa;
    border-radius: 6px;
    flex-wrap: wrap;
}

.el-calculator-wrapper .legend-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.el-calculator-wrapper .legend-color {
    width: 11px;
    height: 11px;
    border-radius: 3px;
}

.el-calculator-wrapper .comparison-oils-grid {
    display: flex;
    flex-direction: column;
}

.el-calculator-wrapper .comparison-oil-row {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 0.9rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid #f5f5f7;
    align-items: center;
}

.el-calculator-wrapper .comparison-oil-row:last-child {
    border-bottom: none;
}

.el-calculator-wrapper .comparison-oil-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.el-calculator-wrapper .comparison-oil-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #1d1d1f;
}

.el-calculator-wrapper .comparison-oil-desc {
    font-size: 0.65rem;
    color: #86868b;
    font-style: italic;
}

.el-calculator-wrapper .comparison-oil-bars {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.el-calculator-wrapper .comparison-oil-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.el-calculator-wrapper .comparison-oil-bar-container {
    flex: 1;
    height: 7px;
    background: #f5f5f7;
    border-radius: 4px;
    overflow: hidden;
}

.el-calculator-wrapper .comparison-oil-bar {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.el-calculator-wrapper .comparison-oil-value {
    font-size: 0.7rem;
    font-weight: 500;
    color: #6e6e73;
    min-width: 45px;
    text-align: right;
}

/* ============================================
   BANCO DE LÚPULOS
   ============================================ */

.el-calculator-wrapper .banco-container {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.el-calculator-wrapper .filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.9rem;
}

.el-calculator-wrapper .filter-group {
    display: flex;
    flex-direction: column;
}

.el-calculator-wrapper .filter-group label {
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
    color: #424245;
}

.el-calculator-wrapper .btn-reset {
    padding: 0.45rem 0.9rem;
    border: 1px solid #e8e8ed;
    border-radius: 6px;
    background: #ffffff;
    color: #6e6e73;
    font-size: 0.8rem;
    cursor: pointer;
    margin-top: 0.45rem;
    align-self: flex-start;
    transition: all 0.2s ease;
}

.el-calculator-wrapper .btn-reset:hover {
    background: #fafafa;
}

.el-calculator-wrapper .hops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.9rem;
    margin-top: 0.9rem;
}

.el-calculator-wrapper .hop-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #e8e8ed;
}

.el-calculator-wrapper .hop-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    border-color: #d4a012;
}

.el-calculator-wrapper .hop-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.45rem;
    margin-bottom: 0.45rem;
}

.el-calculator-wrapper .hop-card h3 {
    font-size: 1rem;
    color: #1d1d1f;
    margin: 0;
}

.el-calculator-wrapper .hop-card .origin-badge {
    background: #2e7d32;
    color: #ffffff;
    padding: 0.15rem 0.5rem;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 500;
    white-space: nowrap;
}

.el-calculator-wrapper .hop-card-descriptors {
    font-size: 0.75rem;
    color: #86868b;
    font-style: italic;
    margin-bottom: 0.65rem;
}

.el-calculator-wrapper .hop-card-stats {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.el-calculator-wrapper .hop-stat {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

.el-calculator-wrapper .hop-stat strong {
    color: #424245;
    font-weight: 500;
}

.el-calculator-wrapper .hop-stat span {
    color: #2e7d32;
    font-weight: 600;
}

.el-calculator-wrapper .no-results {
    text-align: center;
    padding: 1.75rem;
    color: #6e6e73;
    grid-column: 1 / -1;
}

/* ============================================
   MODAL
   ============================================ */

.el-calculator-wrapper .modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
}

.el-calculator-wrapper .modal-content {
    background-color: #ffffff;
    margin: 3% auto;
    padding: 0;
    border-radius: 12px;
    max-width: 820px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
}

.el-calculator-wrapper .modal .close {
    position: absolute;
    top: 0.65rem;
    right: 0.9rem;
    font-size: 1.6rem;
    font-weight: 300;
    color: #86868b;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
}

.el-calculator-wrapper .modal .close:hover {
    color: #1d1d1f;
}

.el-calculator-wrapper .modal-header-hop {
    padding: 1.15rem 1.35rem;
    border-bottom: 1px solid #e8e8ed;
}

.el-calculator-wrapper .modal-header-info h2 {
    font-size: 1.3rem;
    color: #1d1d1f;
    margin: 0 0 0.45rem 0;
}

.el-calculator-wrapper .modal-badges {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.el-calculator-wrapper .badge-origin,
.el-calculator-wrapper .badge-purpose {
    padding: 0.2rem 0.55rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 500;
}

.el-calculator-wrapper .badge-origin {
    background: #2e7d32;
    color: #ffffff;
}

.el-calculator-wrapper .badge-purpose {
    background: #d4a012;
    color: #ffffff;
}

.el-calculator-wrapper .modal-body-hop {
    padding: 1.15rem 1.35rem;
    max-height: 68vh;
    overflow-y: auto;
}

.el-calculator-wrapper .modal-top-section {
    display: flex;
    gap: 1.35rem;
    margin-bottom: 1.15rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid #e8e8ed;
}

.el-calculator-wrapper .modal-chart-centered {
    flex-shrink: 0;
    width: 260px;
    height: 240px;
}

.el-calculator-wrapper .modal-chart-centered canvas {
    max-width: 100%;
    max-height: 100%;
}

.el-calculator-wrapper .modal-description-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.el-calculator-wrapper .hop-description {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #6e6e73;
    margin: 0;
}

.el-calculator-wrapper .hop-notes {
    font-size: 0.75rem;
    color: #86868b;
    font-style: italic;
    margin: 0;
}

.el-calculator-wrapper .usage-badges {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.el-calculator-wrapper .usage-tag {
    padding: 0.15rem 0.45rem;
    border-radius: 5px;
    font-size: 0.6rem;
    font-weight: 600;
    background: #dcfce7;
    color: #166534;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.el-calculator-wrapper .modal-data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
    margin-bottom: 1.15rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid #e8e8ed;
}

.el-calculator-wrapper .modal-section-compact h4 {
    font-size: 0.8rem;
    color: #1d1d1f;
    margin: 0 0 0.55rem 0;
}

.el-calculator-wrapper .components-compact,
.el-calculator-wrapper .oils-compact {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.el-calculator-wrapper .comp-item,
.el-calculator-wrapper .oil-item {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.el-calculator-wrapper .comp-header,
.el-calculator-wrapper .oil-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.el-calculator-wrapper .comp-label,
.el-calculator-wrapper .oil-label {
    font-size: 0.7rem;
    color: #6e6e73;
}

.el-calculator-wrapper .comp-value,
.el-calculator-wrapper .oil-value {
    font-size: 0.7rem;
    font-weight: 600;
    color: #2e7d32;
}

.el-calculator-wrapper .comp-bar,
.el-calculator-wrapper .oil-bar {
    height: 5px;
    background: #f5f5f7;
    border-radius: 3px;
    overflow: hidden;
}

.el-calculator-wrapper .comp-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #2e7d32 0%, #4caf50 100%);
    border-radius: 3px;
    transition: width 0.6s ease;
}

.el-calculator-wrapper .oil-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #66bb6a, #aed581);
    border-radius: 3px;
    transition: width 0.6s ease;
}

.el-calculator-wrapper .modal-chips-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
    margin-bottom: 0.9rem;
}

.el-calculator-wrapper .modal-section-inline h4 {
    font-size: 0.8rem;
    color: #1d1d1f;
    margin: 0 0 0.45rem 0;
}

.el-calculator-wrapper .chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.el-calculator-wrapper .chip {
    background: #f5f5f7;
    padding: 0.2rem 0.55rem;
    border-radius: 8px;
    font-size: 0.7rem;
    color: #1d1d1f;
    border: 1px solid #e8e8ed;
}

.el-calculator-wrapper .chip-link {
    cursor: pointer;
    transition: all 0.2s ease;
}

.el-calculator-wrapper .chip-link:hover {
    background: #2e7d32;
    color: #ffffff;
    border-color: #2e7d32;
}

.el-calculator-wrapper .modal-footer-info {
    text-align: center;
    padding-top: 0.65rem;
    border-top: 1px solid #e8e8ed;
}

.el-calculator-wrapper .price-tag {
    font-size: 0.8rem;
    color: #6e6e73;
}

.el-calculator-wrapper .price-tag strong {
    color: #2e7d32;
}

/* ============================================
   RESPONSIVE - TABLET (900px)
   ============================================ */

@media (max-width: 900px) {
    .el-calculator-wrapper .comparator-selectors {
        grid-template-columns: 1fr 1fr;
    }
    
    /* Chart más pequeño */
    .el-calculator-wrapper .comparator-chart-section {
        max-width: 350px;
        padding: 1rem;
    }
}

/* ============================================
   RESPONSIVE - MOBILE (768px)
   ============================================ */

@media (max-width: 768px) {
.el-calculator-wrapper .wp-title-section,
    .el-calculator-wrapper .wp-title-section.wp-title-section {
        text-align: center !important;
        display: block !important;
    }
    
    .el-calculator-wrapper .wp-title-section h1,
    .el-calculator-wrapper .wp-title-section h1.entry-title,
    .el-calculator-wrapper h1,
    h1.wp-title-section,
    .el-calculator-wrapper .wp-title-section > h1 {
        font-size: 22px !important;
        text-align: center !important;
        line-height: 1.2 !important;
        margin: 0 0 0.5rem 0 !important;
        display: block !important;
        width: 100% !important;
    }
    
    .el-calculator-wrapper .wp-title-section p,
    .el-calculator-wrapper .wp-title-section > p {
        text-align: center !important;
        font-size: 0.9rem !important;
    }
    
    .el-calculator-wrapper .module-header h2,
    .el-calculator-wrapper .module-header > h2 {
        font-size: 1.1rem !important;
    }
    
    .el-calculator-wrapper .tool-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.35rem;
    }
    
    .el-calculator-wrapper .tab-btn {
        justify-content: center;
        padding: 0.5rem 0.65rem;
        font-size: 0.75rem;
    }
    
    .el-calculator-wrapper .form-grid,
    .el-calculator-wrapper .filters-grid {
        grid-template-columns: 1fr;
    }
    
    .el-calculator-wrapper .aging-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.55rem;
    }
    
    .el-calculator-wrapper .aging-field-hop {
        grid-column: 1 / -1;
    }
    
    .el-calculator-wrapper .aging-field input,
    .el-calculator-wrapper .aging-field select,
    .el-calculator-wrapper .aging-field-hop select {
        width: 100%;
    }
    
    .el-calculator-wrapper .aging-result-group {
    grid-column: 1 / -1 !important;
    justify-content: flex-start !important;
    margin-left: 0 !important;
    margin-top: 0.5rem !important;
}
    
    /* ===== ADICIONES CARD - Estructura ===== */
    .el-calculator-wrapper .additions-card {
        overflow: visible !important;
    }
    
    .el-calculator-wrapper .card-header-flex {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
    }
    
    .el-calculator-wrapper .card-header-flex h3 {
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 1rem !important;
    }
    
    /* Botón añadir SIEMPRE al final */
    .el-calculator-wrapper .card-header-flex .btn-add-hop {
        order: 99 !important;
        width: 100% !important;
        justify-content: center !important;
        margin-top: 1rem !important;
    }
    
    .el-calculator-wrapper .additions-table-container {
        overflow-x: visible !important;
        overflow: visible !important;
    }
    
    /* ===== TABLA ADICIONES - Cards limpias ===== */
    .el-calculator-wrapper .additions-table {
        display: block !important;
        overflow: visible !important;
    }
    
    .el-calculator-wrapper .additions-table thead {
        display: none !important;
    }
    
    .el-calculator-wrapper .additions-table tbody {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
    }
    
    .el-calculator-wrapper .additions-table tbody tr {
        display: flex !important;
        flex-direction: column !important;
        background: #fafafa !important;
        border: 1px solid #e8e8ed !important;
        border-radius: 12px !important;
        padding: 1rem !important;
        width: 100% !important;
    }
    
    .el-calculator-wrapper .additions-table tbody td {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0.5rem 0 !important;
        border: none !important;
        border-bottom: 1px solid #f0f0f2 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .el-calculator-wrapper .additions-table tbody td:last-child {
        border-bottom: none !important;
        justify-content: center !important;
        padding-top: 0.75rem !important;
    }
    
    /* Labels */
    .el-calculator-wrapper .additions-table tbody td::before {
        content: attr(data-label);
        font-size: 0.7rem !important;
        font-weight: 600 !important;
        color: #86868b !important;
        text-transform: uppercase !important;
        letter-spacing: 0.3px !important;
        flex-shrink: 0 !important;
    }
    
    /* Inputs y selects - SIN scroll horizontal */
    .el-calculator-wrapper .additions-table tbody td select,
    .el-calculator-wrapper .additions-table tbody td input {
        width: auto !important;
        min-width: 0 !important;
        max-width: 55% !important;
        flex: 0 1 auto !important;
        padding: 0.5rem 0.75rem !important;
        font-size: 0.9rem !important;
        border: 1px solid #e8e8ed !important;
        border-radius: 8px !important;
        background: #ffffff !important;
    }
    
    /* Select de lúpulo más ancho */
    .el-calculator-wrapper .additions-table tbody td:first-child select {
        max-width: 65% !important;
    }
    
    /* Inputs numéricos */
    .el-calculator-wrapper .additions-table tbody td input[type="number"] {
        max-width: 80px !important;
        text-align: center !important;
    }
    
    /* IBU destacado */
    .el-calculator-wrapper .additions-table .ibu-value {
        font-size: 1rem !important;
        font-weight: 600 !important;
        color: #2e7d32 !important;
    }
    
    /* Time/temp groups */
    .el-calculator-wrapper .time-input-group,
    .el-calculator-wrapper .temp-input-group {
        flex-wrap: nowrap !important;
        gap: 4px !important;
    }
    
    .el-calculator-wrapper .time-input-group input,
    .el-calculator-wrapper .temp-input-group input {
        width: 60px !important;
        max-width: 60px !important;
    }
    
    .el-calculator-wrapper .comparator-selectors {
        grid-template-columns: 1fr;
    }
    
    /* ===== RESULTS GRID ===== */
    .el-calculator-wrapper .results-grid {
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
    }
    
    .el-calculator-wrapper .result-box {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0.75rem 1rem !important;
        text-align: left !important;
    }
    
    .el-calculator-wrapper .result-label {
        margin-bottom: 0 !important;
        order: 1 !important;
    }
    
    .el-calculator-wrapper .result-value {
        font-size: 1.1rem !important;
        order: 2 !important;
    }
    
    /* ===== COMPARATOR CHART ===== */
    .el-calculator-wrapper .comparator-chart-section {
        max-width: 300px !important;
        padding: 0.75rem !important;
        margin: 0 auto !important;
    }
    
    .el-calculator-wrapper .comparator-chart-section canvas {
        max-width: 260px !important;
        margin: 0 auto !important;
    }

     /* Botón añadir lúpulo al final */
    .el-calculator-wrapper .additions-card > .btn-add-hop {
    width: 100% !important;
    margin-top: 0.75rem !important;
    justify-content: center !important;
    }
    

    .el-calculator-wrapper .comparison-oil-row {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }
    
    .el-calculator-wrapper .hops-grid {
        grid-template-columns: 1fr;
    }
    
    .el-calculator-wrapper .mode-toggle {
        flex-direction: column;
    }
    
    .el-calculator-wrapper .modal-content {
        margin: 5% 10px;
    }
    
    .el-calculator-wrapper .modal-top-section {
        flex-direction: column;
        align-items: center;
    }
    
    .el-calculator-wrapper .modal-chart-centered {
        width: 240px;
        height: 220px;
    }
    
    .el-calculator-wrapper .modal-description-box {
        text-align: center;
    }
    
    .el-calculator-wrapper .usage-badges {
        justify-content: center;
    }
    
    .el-calculator-wrapper .modal-data-grid,
    .el-calculator-wrapper .modal-chips-grid {
        grid-template-columns: 1fr;
    }
    
    .el-calculator-wrapper .hop-recommendations {
        grid-template-columns: 1fr 1fr;
    }
    
    /* ===== STYLE PROFILE ===== */
    .el-calculator-wrapper .profile-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.25rem !important;
    }
    
    .el-calculator-wrapper .profile-row {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .el-calculator-wrapper .profile-label {
        display: block !important;
        margin-bottom: 0.15rem !important;
    }
    
    .el-calculator-wrapper .profile-value {
        display: block !important;
    }
}

/* ============================================
   RESPONSIVE - SMALL MOBILE (480px)
   ============================================ */

@media (max-width: 480px) {
    .el-calculator-wrapper {
        padding: 0.75rem 0.5rem;
    }

    .el-calculator-wrapper .wp-title-section h1 {
        font-size: 26px!important;
    }
    
    .el-calculator-wrapper .recipe-data-card,
    .el-calculator-wrapper .additions-card,
    .el-calculator-wrapper .results-card,
    .el-calculator-wrapper .search-card,
    .el-calculator-wrapper .filters-card {
        padding: 0.75rem;
    }
    
    .el-calculator-wrapper .aging-header {
        flex-direction: column;
        gap: 0.15rem;
    }
    
    .el-calculator-wrapper .hop-recommendations {
        grid-template-columns: 1fr;
    }
    
    .el-calculator-wrapper .result-box {
        padding: 0.6rem 0.75rem !important;
    }
    
    .el-calculator-wrapper .result-value {
        font-size: 1rem !important;
    }
    
    .el-calculator-wrapper .result-label {
        font-size: 0.6rem !important;
    }
    
    .el-calculator-wrapper .comparator-chart-section {
        max-width: 260px !important;
        padding: 0.5rem !important;
    }
    
    .el-calculator-wrapper .comparator-chart-section canvas {
        max-width: 220px !important;
    }
    
    .el-calculator-wrapper .style-profile {
        padding: 0.75rem !important;
    }
    
    .el-calculator-wrapper .profile-row {
        gap: 0.75rem !important;
    }
    
    /* Adiciones más compactas */
    .el-calculator-wrapper .additions-table tbody tr {
        padding: 0.75rem !important;
    }
    
    .el-calculator-wrapper .additions-table tbody td select,
    .el-calculator-wrapper .additions-table tbody td input {
        max-width: 50% !important;
        padding: 0.4rem 0.6rem !important;
        font-size: 0.85rem !important;
    }
}

/* ============================================
   RESPONSIVE - VERY SMALL (360px)
   ============================================ */

@media (max-width: 360px) {
    .el-calculator-wrapper .comparator-chart-section {
        max-width: 240px !important;
    }
    
    .el-calculator-wrapper .comparator-chart-section canvas {
        max-width: 200px !important;
    }
    
    .el-calculator-wrapper .result-value {
        font-size: 0.95rem !important;
    }
    
    .el-calculator-wrapper .tool-tabs {
        grid-template-columns: 1fr !important;
    }
    
    .el-calculator-wrapper .tab-btn {
        font-size: 0.7rem !important;
        padding: 0.45rem 0.5rem !important;
    }
    
    .el-calculator-wrapper .additions-table tbody td::before {
        font-size: 0.6rem !important;
    }
    
    .el-calculator-wrapper .additions-table tbody td select,
    .el-calculator-wrapper .additions-table tbody td input {
        max-width: 45% !important;
        font-size: 0.8rem !important;
    }
}
