.modal-overlay-calculadora {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: 1000;
            overflow-y: auto;
            padding: 20px;
            align-items: center;
            justify-content: center;
        }

        .modal-overlay-calculadora.active {

            display: flex;
            justify-content: center;
            align-items: flex-start;
            animation: fadeIn 0.3s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(-30px) scale(0.95);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        .modal-container-calculadora {
          
            font-family: "Poppins", "Montserrat", sans-serif;
            background-color: #ECECEC;
            border-radius: 20px;
            width: 100%;
            max-width: 1200px;
            margin: 10rem auto;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            animation: slideIn 0.4s ease;
            position: relative;
        }

        .modal-header {
            color: white;
            padding: 25px 30px;
            border-radius: 20px 20px 0 0;
            text-align: center;
            position: relative;
        }

        .close-modal-btn {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: #333;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 24px;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            line-height: 1;
        }

        .close-modal-btn:hover {
            background: rgba(0, 0, 0, 0.1);
            transform: rotate(90deg);
        }

        .modal-content-calculadora {
            
            padding: 30px;
            max-height: calc(90vh - 150px);
            overflow-y: auto;
        }

        .category-selector {
            margin-bottom: 30px;
            text-align: center;
        }

        .category-selector h5 {
            font-size: 22px;
            color: #333;
            margin-bottom: 10px;
        }

        .category-selector label {
            display: block;
            font-size: 18px;
            font-weight: 600;
            color: #333;
            margin-bottom: 15px;
        }

        .category-selector select {
            width: 100%;
            max-width: 500px;
            padding: 15px 20px;
            border: 2px solid #306FD3;
            border-radius: 10px;
            font-size: 16px;
            color: #333;
            background: white;
            cursor: pointer;
            font-weight: 500;
            font-family: "Poppins", "Montserrat", sans-serif;
        }

        .content-section {
            display: none;
        }

        .content-section.active {
            display: block;
            animation: fadeIn 0.4s ease;
        }

        .subcategory-selector {
            display: flex;
            gap: 15px;
            justify-content: center;
            margin-bottom: 30px;
        }

        .subcategory-btn {
            flex: 1;
            max-width: 250px;
            padding: 15px 25px;
            background: white;
            border: 2px solid #306FD3;
            border-radius: 10px;
            cursor: pointer;
            font-size: 15px;
            font-weight: 600;
            color: #306FD3;
            transition: all 0.3s ease;
        }

        .subcategory-btn:hover {
            background: #1F4E93;
            color: white;
        }

        .subcategory-btn.active {
            background: #1F4E93;
            color: white;
        }

        .products-container {
            display: none;
        }

        .products-container.active {
            display: block;
        }

        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
            margin-bottom: 30px;
        }

        .product-item {
            background: #f8f9fa;
            border: 2px solid #e0e0e0;
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .product-item:hover {
            border-color: #306FD3;
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        }

        .product-item.selected {
            border-color: #F9D808;
            background: #f0f3ff;
            box-shadow: 0 5px 15px rgba(0, 140, 186, 0.2);
        }

        .product-image {
            width: 120px;
            height: 120px;
            margin: 0 auto 15px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .product-image img {
            width: 90%;
            max-height: 100%;
            object-fit: contain;
        }

        .product-title {
            font-size: 16px;
            font-weight: 600;
            color: #333;
            margin-bottom: 10px;
        }

        .product-description {
            font-size: 13px;
            color: #666;
            line-height: 1.5;
        }

        .calculator-box {
            display: none;
            background: #ECECEC;
            border: 2px solid #306FD3;
            border-radius: 12px;
            padding: 25px;
            margin-top: 30px;
        }

        .calculator-box.active {
            display: block;
            animation: fadeIn 0.4s ease;
        }

        .calc-header {
            background: white;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            padding: 12px 20px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .calc-header label {
            font-weight: 600;
            color: #333;
            font-size: 16px;
        }

        .calc-header input {
            flex: 1;
            border: none;
            background: transparent;
            font-size: 16px;
            font-weight: 600;
            color: #1F4E93;
            padding: 5px;
        }

        .calc-inputs {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-bottom: 25px;
        }

        .input-field {
            background: white;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            padding: 12px 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .input-field label {
            font-weight: 600;
            color: #333;
            font-size: 15px;
        }

        .input-field input,
        .input-field select {
            flex: 1;
            border: none;
            background: transparent;
            font-size: 16px;
            color: #333;
            padding: 5px;
            font-weight: 500;
            font-family: "Poppins", "Montserrat", sans-serif;
        }

        .input-field select {
            cursor: pointer;
        }

        .results-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .result-box {
            background: white;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            padding: 20px;
        }

        .result-header {
            font-size: 15px;
            color: #666;
            margin-bottom: 15px;
            font-weight: 500;
            text-align: center;
        }

        .result-row {
            text-align: center;
            padding: 12px 0;
        }

        .result-value {
            font-size: 20px;
            font-weight: 700;
            color: #333;
        }

        .result-unit {
            font-size: 14px;
            color: #1F4E93;
            margin-left: 5px;
            font-weight: 600;
        }

        .emphasis {
            color: #1F4E93;
            font-weight: 700;
            text-transform: uppercase;
        }

        @media (max-width: 768px) {
            .landing-container h1 {
                font-size: 32px;
            }

            .products-grid {
                grid-template-columns: 1fr;
            }

            .calc-inputs,
            .results-grid {
                grid-template-columns: 1fr;
            }

            .subcategory-selector {
                flex-direction: column;
            }

            .subcategory-btn {
                max-width: 100%;
            }
        }
        
        .tips-sellador{
            background-color:#fff;
            color:#306FD3 !important;
            border-radius:5px;
            padding:3px;
            margin: .3rem 0;
            font-weight: 500;
        }
        
    